Your problem is not reading the mailing list archives.  This morning
several people were discussing this issue.  The problem is a bug in Sun's
1.3 JVM on NT handles the user logoff event incorrectly.  Sun has reported
this fixed in the 1.3.1 version and several users here had confirmed it, but
today someone indicated that the fix wasn't working for them.  I would
suggest (besides putting a little effort into your investigation before
asking questions) downgrading your JVM to the latest 1.2 (since earlier
versions have threading issues).

        Also, there exists wrappers around the JVM that trap this logoff
event and don't pass it to the JVM (called JavaService.exe), but I would
suggest going with a plain JVM with no wrapper unless you really need 1.3
and find that 1.3.1 doesn't work for you.  (Why introduce more layers with
more complexity and the possibility of more bugs when its not needed.)

        Randy

> -----Original Message-----
> From: Tim Hughes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 10:09 AM
> To: [EMAIL PROTECTED]
> Subject: Jakarta Tomcat NT service stopping itself
> 
> 
> 
> I have just set up Tomcat to run as an NT service
> (carefully following the how to from the doc).
> 
> Everything works fine while I am logged on to the
> machine that I have set the service up on i.e. I can
> connect up from a client and request servlets and
> jsps.
> 
> However, when I log off from the server it appears
> that the service is stopping, Tomcat will not service
> requests. This is confirmed by the fact that when I
> log back on again, the service has been stopped.
> 
> When I look in Control Panel\Services, the tomcat
> service is set up exactly the same way as other
> services and these services work fine (whether I am
> logged on to the server or not).
> 
> Any suggestions on what might be the problem?
> 
> Tim.
> 
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
> 

Reply via email to