Strange Java behavior
Strange Java behavior
(OP)
I have a problem with Java creating temp files that can\'t be deleted and i\'m not sure if it\'s certain web sites that cause Java to do this or a flaw in Java. I\'m using ver 1.5.0_02.
When a user logs off sometimes a temp folder called \'hsperfdata\' which i\'m informed is a Java temp folder is left in their profile with one file inside. This file has a random name and no extension but the really odd thing is that the NTFS permissions are altered so the Administrator only has read permissions.
This happens at random on different PC\'s so i can\'t tie is to a pattern. It has happened after a coulpe of days on brand new fully patched XP SP2 boxes with the latest AV, i have also scanned them with ADAware and not found any evidence of spyware so i think i can rule that out.
The problem this is causing is the profile cannot be deleted at logoff, can anyone suggest what is causing this?
Thanks.
When a user logs off sometimes a temp folder called \'hsperfdata\' which i\'m informed is a Java temp folder is left in their profile with one file inside. This file has a random name and no extension but the really odd thing is that the NTFS permissions are altered so the Administrator only has read permissions.
This happens at random on different PC\'s so i can\'t tie is to a pattern. It has happened after a coulpe of days on brand new fully patched XP SP2 boxes with the latest AV, i have also scanned them with ADAware and not found any evidence of spyware so i think i can rule that out.
The problem this is causing is the profile cannot be deleted at logoff, can anyone suggest what is causing this?
Thanks.

RE: Strange Java behavior
--------------------------------------------------
Free Database Connection Pooling Software
http://www.primrose.org.uk
RE: Strange Java behavior
I wonder why it sometimes doesn\'t clear itself could it be if Java crashes on exit or if someone crashed the station?
It\'s annoying that it creates special permissions so to get rid of it i have to take ownership and then delete it.
RE: Strange Java behavior
If Java crashes, I wouldn't expect the file to be deleted, because the JVM process has crashed, and so wouldn't have the chance to clean up properly, I guess.
--------------------------------------------------
Free Database Connection Pooling Software
http://www.primrose.org.uk
RE: Strange Java behavior
We are using roaming profiles which is where i think the problem lies as it tries to recreate the local profile folder but can\'t remove this file.
RE: Strange Java behavior
--------------------------------------------------
Free Database Connection Pooling Software
http://www.primrose.org.uk
RE: Strange Java behavior
Thanks for the input.