Just out of curiosity, I looked at the 1.3.1 release notes for this 
(http://java.sun.com/j2se/1.3/relnotes.html
).  It looks like though fixed, it's not enabled by default:

<snip>
Bug 4323062: Any Windows NT Service embedding Java VM aborts when user 
logs out

This bug has been fixed in J2SDK 1.3.1. In order to enable the fix, the 
-Xrs command-line option must be passed to the JVM. The additional 
command line argument is necessary because the fix necessarily disables 
the J2SDK 1.3 shutdown hooks mechanism and forbids the use of the 
sun.misc.Signal class. For more background, please see at least the last 
section of the evaluation on the Bug Parade:

http://developer.java.sun.com/developer/bugParade/bugs/4323062.html
</snip>

I can't test this since I'm not on Windows; someone else might want to 
for the benefit of those watching this thread.

David

--


David Ward wrote:

> FYI, those interested in NT running Java apps as a service might want to 
> upgrade to jdk 1.3.1 (now that it's finally released).  It fixes a 
> directly related bug (Bug Parade ID: 4323062).
> 
> http://java.sun.com/j2se/1.3/fixedbugs/1.3.1/runtime.html
> 
> Of course, you could always upgrade your OS to UNIX or Linux...  ;)
> 
> David
> 
> -- 
> 
> Kemp Randy-W18971 wrote:
> 
>> Go to a good search engine like www.northernlight.com, and look for 
>> Java NT service, and there are a few free Java tools:
>> 
>>  http://www.eworksmart.com/jnt/index.htm  Tool
>> 
>> http://msdn.microsoft.com/library/periodic/period99/vji9902_ntserv.htm 
>> Article
>> 
>> http://www.swtech.com/java/ntsvc/  article
>> 
>> http://www.firedaemon.com/  tool
>> 
>> I think this will get you started.
>> rom: Vineet Bhatia <[EMAIL PROTECTED]>
>> To: "'[EMAIL PROTECTED]'"
>>      <[EMAIL PROTECTED]>
>> Date: Fri, 18 May 2001 12:06:12 -0400
>> Subject: [JBoss-user] Running JBoss as a Service on Windows NT/2k
>> Reply-To: [EMAIL PROTECTED]
>> 
>> How can I run JBoss as a NT service so that I can NET start/stop it?
>> 
>> - vineet
>> 
>> Date: Fri, 18 May 2001 12:06:12 -0400
>> Subject: [JBoss-user] Running JBoss as a Service on Windows NT/2k
>> Reply-To: [EMAIL PROTECTED]
>> 
>> How can I run JBoss as a NT service so that I can NET start/stop it?
>> 
>> - vineet
>> 
>> 
>> _______________________________________________
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> http://lists.sourceforge.net/lists/listinfo/jboss-user


-- 

-----------------------------------------------------------------------
David Ward                                        [EMAIL PROTECTED]
Senior Software Engineer                          http://www.dotech.com
Distributed Object Technologies, Inc.             716-381-8320 (phone)
500 Linden Oaks, Rochester, NY 14625              716-381-0598 (fax)


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to