-
1. Re: Windows deleting run.jar and other files !
jaikiran Sep 17, 2009 10:19 AM (in response to lpmon)Which Windows OS? Vista? Do you see the same behaviour without the JavaService in picture - by just running the server from command prompt?
-
2. Re: Windows deleting run.jar and other files !
lpmon Sep 17, 2009 10:34 AM (in response to lpmon)I believe we have only seen this under XP (various service packs). I have already asked my assistant to experiment as follows (no results yet):
- leave service installed but disabled and reboot
- use a start-up command file instead of launching as a service -
3. Re: Windows deleting run.jar and other files !
peterj Sep 17, 2009 12:29 PM (in response to lpmon)One tool you might be able to use to track down the cause if File Monitor (or System Monitor) from sysinternals. You can use this tool to log all access to a particular file or directory.
-
4. SOLVED- Re: Windows deleting run.jar and other files !
lpmon Jul 29, 2010 10:21 AM (in response to peterj)This was solved. Had nothing to do with JBoss, Windows, ....
We found that the scenario was: User uninstalled our app. That uninstal marks files for deletion after a reboot if they cannot be deleted for some reason during the uninstall. Then they reinstalled. Somehow NSIS (our install tool) did not recognize there was a re-install done and upon the next reboot it deleted those file marked for removal per the previous uninstall.
Ugly!
-
5. Re: SOLVED- Re: Windows deleting run.jar and other files !
peterj Jul 29, 2010 11:21 AM (in response to lpmon)This is a very common problem and one of the reasons I always reboot the machine after an uninstall, espcially if I plan on reinstalling the software, or installing the upgraded software. I have been bitten by this often in the past.