General J2EE: File Handle Remains open even after filewriter.close() Solaris

  1. Sorry for putting this q in server side. Basically The problem am facing is the filehandle in solaris even after file.close() is being called. 1 open filewrite 2. write some char 3. no flush 4 close the file writer 5. open a scocket to a native c process 6 try to open the file back again to write----here it errors out.. ofstream file(#filename) does not open the file for me intermittently since the activities are sequential the file should be available to open. This is not occuring consistently some time i can open the files in step 6. Any idea friends
  2. Closed buddy. Some one was running a dirty cron....