I've been using Elijah's service manager and it works very fine, I am very
pleased with it, but ... let's face it, this behavior is still a bug. I mean, if
Sun really wants Java to gain share on the server side, this *bug* is a big hole
!!!

Your service is a wonderful workaround, but Sun should have worked that out.

(thank you Elijah)
bye

diego.

--
Diego Rodrigo
Vates S.A.
[EMAIL PROTECTED]
+54(11)4346-6658


____________________Reply Separator____________________
Subject:    RE: Tomcat as an NT service - stop when logging out
Author: [EMAIL PROTECTED]
Date:       01/11/2000 9:16 PM

On Wednesday November 01, 2000 Willie Wheeler wrote:
> Yeah, that is correct.  It is a Java 1.3 problem.  Last time I checked it
> was the one with the most Bug Parade votes but I guess that they haven't
> fixed it yet.  Arrghh...

I think it's likely that this bug will not be fixed for some time, as it
could also be considered a NT bug. NT sends a service a logoff message to
a running program (ie java.exe) when the current user logs off. Java.exe
shuts down when it receives the message, as it should normally. The
problem is that NT sends the logoff message also when java.exe runs as a
service process, so it shuts down. The only solution is to not use
java.exe to run java applications as a service, but use JNI to create a
service process instead. I have a Java service program that allows Tomcat
to run under JDK1.3 without the logoff problem that anyone is free to
have/use/whatever. It's located at:

http://www.alexandriasc.com/software/JavaService

Elijah Roberts
[EMAIL PROTECTED]

Reply via email to