See this mail thread just 5 days ago:
Sun files this bug currently under 'recently closed' in a 'non public
release':
http://developer.java.sun.com/developer/bugParade/bugs/4323062.html
They also give a reference to a tool that should solve the problem:
http://www.kcmultimedia.com/javaserv
> -----Urspr�ngliche Nachricht-----
> Von: Lacerda, Wellington (AFIS) [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 7. Dezember 2000 13:57
> An: '[EMAIL PROTECTED]'
> Betreff: RE: NT-Service-howto feedback
>
>
> Are you using JDK1.3 ? This is a know bug of JDK1.3. Change to 1.2.2.
> Check the archives for details.
>
> Wellington
>
>
> -----Original Message-----
> From: David Legg [mailto:[EMAIL PROTECTED]]
> Sent: 07 December 2000 13:22
> To: '[EMAIL PROTECTED]'
> Subject: NT-Service-howto feedback
>
> Hi,
>
> I've just installed Tomcat 3.2 on a new NT4
> (sp6a) server
> with JDK 1.3. I
> followed the instructions very carefully and
> had success all
> the way...
> except when I log off the machine. I'm using the
> jk_nt_service.exe wrapper
> to run Tomcat as a service.
>
> If I logon (as administrator) and start Tomcat
> as a service
> (using the NT
> services applet) all is well. I can see and
> use all the
> examples from a
> remote browser accessing IIS over the network.
>
> However if I then log off; the Tomcat service
> stops for some
> reason and
> consequently remote browsing of the example
> pages stops as
> well.
>
> My first reaction was that maybe I need to
> alter the default
> settings for
> the service (e.g. run it with administrator
> privileges) but
> that had no
> effect. I shall continue to investigate but if
> this is a
> common problem
> perhaps it should be mentioned in the
> NT-Service-howto.html
> file.
>
> Finally, let me say that I'm genuinely very
> excited by the
> opportunities
> Tomcat makes possible. Keep up the good work!
>
> David Legg
> Webmaster - www.3Dlabs.com
> Phone: +44 1784 476 616
>
>
-----Urspr�ngliche Nachricht-----
Von: jokozlow [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 13. Dezember 2000 18:19
An: '[EMAIL PROTECTED]'
Betreff: Tomcat started with jk_nt_service Terminates on console exit
I apologize if this is a silly question. However, when I start Tomcat
3.2 using the jk_nt_service, then logoff the server console, the main
Tomcat thread is terminated. I understand that logging off the console
is a common action. Thus, I assume my problem must be configuration
related. I have tested this behavior both on Win2K Ent Server and WinNT
4.0 Ent Server. Does any one have a possible fix?
Reproduce :
* Login to console
* start Tomcat with jk_nt_service
* Log off console
* test and find Tomcat no longer running
Best Regards,
Joel Kozlow