Re: Running Tomcat as a Windows service

2001-08-08 Thread Pier P. Fumagalli

Richard Heintze at [EMAIL PROTECTED] wrote:

 Jim, Ronald and Bryan,
 
 Could you folks kindly give me URL for this
 JavaService? I assume I'll have the same problem --
 I'm using a service in the FAQ that runs any old bat
 file.
 
 I looked at the services that exclusively run java
 programs and then looked at the complexity of
 tomcat.bat and startup.bat and decided to go with the
 generic solutions that runs bat files. But this won't
 work if I log off the server?

It's distributed w/ Tomcat 4.0's EXE distributions... And works great... :)

Pier




RE: Running Tomcat as a Windows service

2001-08-08 Thread Jim Seach

As Pier said, it is with the TC4 distribution, and I think this may be
the most up-to-date, new, official version, as there was some talk
about bringing it under the Jakarta umbrella.  Here is the original URL
in case there is some documentation that has not yet made it into the
distribution:

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

Jim

--- Richard Heintze [EMAIL PROTECTED] wrote:
 Jim, Ronald and Bryan,
 
 Could you folks kindly give me URL for this
 JavaService? I assume I'll have the same problem --
 I'm using a service in the FAQ that runs any old bat
 file.
 
 I looked at the services that exclusively run java
 programs and then looked at the complexity of
 tomcat.bat and startup.bat and decided to go with the
 generic solutions that runs bat files. But this won't
 work if I log off the server?
 
 
 --- Jim Seach [EMAIL PROTECTED] wrote:
  I am also using the JavaService.  It was easy to
  configure and has been
  very stable.  No problems at all.
  
  Also, the way it solves the logout problem is by
  intercepting the
  Windows logoff message so you don't have to use the
  1.3.1 jvm's -Xrs
  parameter.  If you use the -Xrs parameter, you loose
  the ability to
  automatically run a shutdown hook.  I haven't tested
  it, but I belive
  JavaService will still pass the Shutdown message to
  the jvm, so the
  shutdown hooks should run.
  
  Jim
  
  --- Ronald G. Louzon [EMAIL PROTECTED]
  wrote:
   If I remember correctly, this is due to a bug in
  the JDK and you can
   read
   all about it in the jakarta tomcat-user archives
  as well as in the
   bug
   reports on the Sun site (www.javasoft.com).  I
  used the Alexandria
   Software
   companies Java service wrapper JavaService.exe . 
  It is free,
   distributable
   and it works well.  I am sure there are other
  service wrappers out
   there
   too.  
   
   
   
   -Original Message-
   From: Bryan Hendricks
  [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, August 07, 2001 10:20 AM
   To: '[EMAIL PROTECTED]'
   Subject: Running Tomcat as a Windows service
   
   
   Hello,
   
   I installed Tomcat as a Windows (NT) service using
  jk_nt_service and
   set the
   service's startup type as automatic, but when I
  log off, the service
   shuts
   down.  Is this a bug (in Tomcat, jk_nt_service, or
  the JRE) and, if
   so, do
   you know if the problem is being addressed?  If
  it's not a bug, are
   there
   instructions that outline additional steps
  required to keep the
   service
   running?
   
   Thank you.
  
  
  __
  Do You Yahoo!?
  Make international calls for as low as $.04/minute
  with Yahoo! Messenger
  http://phonecard.yahoo.com/
 
 
 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute with Yahoo!
 Messenger
 http://phonecard.yahoo.com/


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



Re: Running Tomcat as a Windows service

2001-08-08 Thread Pier P. Fumagalli

Jim Seach at [EMAIL PROTECTED] wrote:

 As Pier said, it is with the TC4 distribution, and I think this may be
 the most up-to-date, new, official version, as there was some talk
 about bringing it under the Jakarta umbrella.  Here is the original URL
 in case there is some documentation that has not yet made it into the
 distribution:
 
 http://www.alexandriasc.com/software/JavaService/index.html

Correct... We're trying to provide a full-blown service implementation
together to solve also Unix daemon problems and restrictions...

Pier




RE: Running Tomcat as a Windows service

2001-08-07 Thread Randy Layman


This is a (very widely discussed) bug in Sun's 1.3 JVM for NT.
There is a fix in 1.3.1 and the 1.2.x JVMs did not possess this bug.  You
can search the mailing list archives, or Sun's BugParade, for more
information.

Randy


 -Original Message-
 From: Bryan Hendricks [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 07, 2001 10:20 AM
 To: '[EMAIL PROTECTED]'
 Subject: Running Tomcat as a Windows service
 
 
 Hello,
 
 I installed Tomcat as a Windows (NT) service using 
 jk_nt_service and set the service's startup type as 
 automatic, but when I log off, the service shuts down.  Is 
 this a bug (in Tomcat, jk_nt_service, or the JRE) and, if so, 
 do you know if the problem is being addressed?  If it's not a 
 bug, are there instructions that outline additional steps 
 required to keep the service running?
 
 Thank you.
 



RE: Running Tomcat as a Windows service

2001-08-07 Thread Ronald G. Louzon

If I remember correctly, this is due to a bug in the JDK and you can read
all about it in the jakarta tomcat-user archives as well as in the bug
reports on the Sun site (www.javasoft.com).  I used the Alexandria Software
companies Java service wrapper JavaService.exe .  It is free, distributable
and it works well.  I am sure there are other service wrappers out there
too.  



-Original Message-
From: Bryan Hendricks [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 10:20 AM
To: '[EMAIL PROTECTED]'
Subject: Running Tomcat as a Windows service


Hello,

I installed Tomcat as a Windows (NT) service using jk_nt_service and set the
service's startup type as automatic, but when I log off, the service shuts
down.  Is this a bug (in Tomcat, jk_nt_service, or the JRE) and, if so, do
you know if the problem is being addressed?  If it's not a bug, are there
instructions that outline additional steps required to keep the service
running?

Thank you.



RE: Running Tomcat as a Windows service

2001-08-07 Thread Bryan Hendricks

Hello,

Please ignore my last post.  I found the following resource, which helped me to 
resolve the problem (I needed to include -Xrs on the Java command line):

http://www.jguru.com/faq/view.jsp?EID=131217

Thanks.

-Original Message-
From: Bryan Hendricks 
Sent: Tuesday, August 07, 2001 10:20 AM
To: '[EMAIL PROTECTED]'
Subject: Running Tomcat as a Windows service


Hello,

I installed Tomcat as a Windows (NT) service using jk_nt_service and set the service's 
startup type as automatic, but when I log off, the service shuts down.  Is this a bug 
(in Tomcat, jk_nt_service, or the JRE) and, if so, do you know if the problem is being 
addressed?  If it's not a bug, are there instructions that outline additional steps 
required to keep the service running?

Thank you.



RE: Running Tomcat as a Windows service

2001-08-07 Thread Jim Seach

I am also using the JavaService.  It was easy to configure and has been
very stable.  No problems at all.

Also, the way it solves the logout problem is by intercepting the
Windows logoff message so you don't have to use the 1.3.1 jvm's -Xrs
parameter.  If you use the -Xrs parameter, you loose the ability to
automatically run a shutdown hook.  I haven't tested it, but I belive
JavaService will still pass the Shutdown message to the jvm, so the
shutdown hooks should run.

Jim

--- Ronald G. Louzon [EMAIL PROTECTED] wrote:
 If I remember correctly, this is due to a bug in the JDK and you can
 read
 all about it in the jakarta tomcat-user archives as well as in the
 bug
 reports on the Sun site (www.javasoft.com).  I used the Alexandria
 Software
 companies Java service wrapper JavaService.exe .  It is free,
 distributable
 and it works well.  I am sure there are other service wrappers out
 there
 too.  
 
 
 
 -Original Message-
 From: Bryan Hendricks [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, August 07, 2001 10:20 AM
 To: '[EMAIL PROTECTED]'
 Subject: Running Tomcat as a Windows service
 
 
 Hello,
 
 I installed Tomcat as a Windows (NT) service using jk_nt_service and
 set the
 service's startup type as automatic, but when I log off, the service
 shuts
 down.  Is this a bug (in Tomcat, jk_nt_service, or the JRE) and, if
 so, do
 you know if the problem is being addressed?  If it's not a bug, are
 there
 instructions that outline additional steps required to keep the
 service
 running?
 
 Thank you.


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



RE: Running Tomcat as a Windows service

2001-08-07 Thread Richard Heintze

Jim, Ronald and Bryan,

Could you folks kindly give me URL for this
JavaService? I assume I'll have the same problem --
I'm using a service in the FAQ that runs any old bat
file.

I looked at the services that exclusively run java
programs and then looked at the complexity of
tomcat.bat and startup.bat and decided to go with the
generic solutions that runs bat files. But this won't
work if I log off the server?


--- Jim Seach [EMAIL PROTECTED] wrote:
 I am also using the JavaService.  It was easy to
 configure and has been
 very stable.  No problems at all.
 
 Also, the way it solves the logout problem is by
 intercepting the
 Windows logoff message so you don't have to use the
 1.3.1 jvm's -Xrs
 parameter.  If you use the -Xrs parameter, you loose
 the ability to
 automatically run a shutdown hook.  I haven't tested
 it, but I belive
 JavaService will still pass the Shutdown message to
 the jvm, so the
 shutdown hooks should run.
 
 Jim
 
 --- Ronald G. Louzon [EMAIL PROTECTED]
 wrote:
  If I remember correctly, this is due to a bug in
 the JDK and you can
  read
  all about it in the jakarta tomcat-user archives
 as well as in the
  bug
  reports on the Sun site (www.javasoft.com).  I
 used the Alexandria
  Software
  companies Java service wrapper JavaService.exe . 
 It is free,
  distributable
  and it works well.  I am sure there are other
 service wrappers out
  there
  too.  
  
  
  
  -Original Message-
  From: Bryan Hendricks
 [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, August 07, 2001 10:20 AM
  To: '[EMAIL PROTECTED]'
  Subject: Running Tomcat as a Windows service
  
  
  Hello,
  
  I installed Tomcat as a Windows (NT) service using
 jk_nt_service and
  set the
  service's startup type as automatic, but when I
 log off, the service
  shuts
  down.  Is this a bug (in Tomcat, jk_nt_service, or
 the JRE) and, if
  so, do
  you know if the problem is being addressed?  If
 it's not a bug, are
  there
  instructions that outline additional steps
 required to keep the
  service
  running?
  
  Thank you.
 
 
 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute
 with Yahoo! Messenger
 http://phonecard.yahoo.com/


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/