This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 2010-02-05 13:36, joel@weedlight.ch wrote: > Hi, I wrote a small program that launches a java rmi server. And it should run all the time. The service is running when the system is up but as soon as I log out of the Desktop, the service terminates. I believed that there must be a signal emitted but no luck, it doesn't log anything except "starting MvServer". > > the command I used for installing the service: `cygrunsrv -I MvServer -d "CYGWIN MvServer" -p /bin/MvServer.exe` > > the command I used for compilling the service program: `gcc -D_JNI_IMPLEMENTATION_ -I/cygdrive/c/Programme/Java/jdk1.6.0_13/include -I/cygdrive/c/Programme/Java/jdk1.6.0_13/include/win32 MvServer.c -L/cygdrive/c/Programme/Java/jdk1.6.0_13/lib/ -ljvm -o MvServer.exe` > Java just does that. You need to do the equivalent of passing -Xrs (reduce use of signals) to the JVM. -- Alec Kloss alec@SetFilePointer.com IM: daemonalec@gmail.com PGP key at http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA241980E "No Bunny!" -- Simon, http://wiki.adultswim.com/xwiki/bin/Frisky+Dingo/Simon
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |