Cartridge Service on Windows

User 5307e4cbfc

21-02-2008 15:14:10

I installed the data cartridge on my Windows XP Pro workstation and followed the instructions for running the server as a service using srvany.exe. I am using the local system account for this service. Everything is great until I log off from my user session. At this point, the java process stops, although the overall service claims to still be running. If I log back in and restart the service, everything is fine until the next log off.





Is there something that I need to change to correct this?

ChemAxon aa7c50abf8

21-02-2008 16:51:32

I suggest adding the -Xrs parameter to the Java calls under the start and the start_with_log tag in server.bat. So change the line starting with


Code:
"%JAVA_EXE%" -server -Xmx%JAVA_HEAP_SIZE%



to start with


Code:
"%JAVA_EXE%" -server -Xrs -Xmx%JAVA_HEAP_SIZE%






Let us know if this helps





Thanks


Peter

User 5307e4cbfc

21-02-2008 17:18:57

I only tested once, but the -Xrs option seems to have fixed the problem.





Thanks!

ChemAxon aa7c50abf8

22-02-2008 08:45:46

Thank you for the feedback!





The fix will appear in the next JChem release.





P.