Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No more files

 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Has anybody out there come across this problem before? This seems to be system wide on my computer -- all Java programs are affected by this.

Whenever I reboot, the problem seems to go away temporarily. I realize that this is something system-dependant (it also seems to affect my ANT scripts...) and not Java dependant, but I was wondering if anybody could give any suggestions on what exactly should be done about this. (other than switch to Linux....)
[ February 10, 2005: Message edited by: Joel McNary ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34401
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joel,
Does it happen if you create a file in Windows Explorer/DOS? When does it occur? When creating a file? When reading/writing a file?

As I recall, Ant runs in a JVM, so that could still be Java related. Maybe a JVM can run out of file descriptors???
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems to occur when attempting to get the cononical path for a file. This particular instance was from attempting to start a BEA Weblogic instance. I've gotten the error also when attempting to access a HSQL database. Our code versioning system, Accurev, can't load its PLAF and reverts to the standard Metal theme. My ANT script fails when creating a directory.

However, all of my DOS functions are fine. I can create files, make directories, and generally access everything normally. This seems to be affecting only my Java-based applications.

But, oddly enough, this works:


Even when, at the same time, I get:


Maybe I'll try reinstalling the JVM...tomorrow.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11878
195
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joel,

Have you performed an error check on your hard drive?

It's a long shot I know, but if there was some error in one of the TOCs, causing an infinite loop (or a jump to a non existant file/directory) then you might get such an error. Such an error might not manifest in Microsoft Windows Explorer / DOS prompt if the program in use picked up that the TOC was in error and decided to use the other TOC (The JVM might not have the option of using the other TOC).

As you can see, there are many if's and maybes in that last paragraph. However it won't cost anything to try running an error check (except time).

Regards, Andrew

PS. If I should be using the acronym FAT instead of TOC (or some other acronym) then I appologise for any confusion.
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ifs and maybes seemed to have panned out. The error check found a bad index, which it fixed. So far, no problems.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic