RE: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 )
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 06, 2001 2:50 PM > To: [EMAIL PROTECTED] > Subject: Re: Making Tomcat 3.2 A Service On Win 2000 ( using jdk > 1.3.0_02 ) > > > Are you sure there are no problems with jdk1.3.1? The main problem I > found with 1.3.0 was that it shut down when you logged off. I > found the > same problem in 1.3.1. The "fix" is to add -Xsa to the execution line > that starts Java in Tomcat. Works for me without any command line fixes. I thought that the -X option was added for some of the betas of 1.3.1. Is it possible that you have an "older" version of 1.3.1? > > As for making Tomcat a service, I found the jk_nt_service.exe (zipped > up) in the jakarta downloads. I thought that was the standard way of > making it into a service. Is this what is causing the > shutdown problem? > ShouldI be using a different method? You are correct. The JavaService program does basically the same thing as jk_nt_service, but it traps the OS signals and doesn't relay them on to the JVM. Randy
Re: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 )
Are you sure there are no problems with jdk1.3.1? The main problem I found with 1.3.0 was that it shut down when you logged off. I found the same problem in 1.3.1. The "fix" is to add -Xsa to the execution line that starts Java in Tomcat. As for making Tomcat a service, I found the jk_nt_service.exe (zipped up) in the jakarta downloads. I thought that was the standard way of making it into a service. Is this what is causing the shutdown problem? ShouldI be using a different method? Randy Layman wrote: > 1. No quotes and no spaces in filenames allowed. Use one backslash >(\) in your paths. The examples that come in the conf directory are >correctly formatted, but probably for the wrong directories. > 2. Sun fixed the problem for JDK 1.3.1. All 1.3.0 versions have >problems. Also, all versions of the 1.2.1, 1.2.2, 1.1.8, and 1.1.7 line >that I have worked with have been fine, although rumor has it that some >versions of 1.2.0 had the same problem. Also, rumor has it that beta 1.4 >works fine as a service (but has other issues). > > Randy > >-Original Message- >From: Russell, Steve [mailto:[EMAIL PROTECTED]] >Sent: Thursday, July 05, 2001 2:48 PM >To: '[EMAIL PROTECTED]' >Subject: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 ) > > >Hi; > >I found some instructions at jakarta.apache.org for making tomcat a service: > >http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html > >It didn't answer some questions I would like to know before I begin. > >1. The instructions mention setting TOMCAT_HOME in wrapper.properties. >Lets say this is c:\tomcat.do I put it inq uotes? Do I use the "\" >as a path seperator or a "/"? > >2. The instructions mention that there is a bug in jdk1.3 that if you follow >thei nstructions to make >tomcat a service and you stop the service no clean up will happen. Is >there anything bad about >that? What will not happen? Does this bug also exist in jdk1.3.0_02 >? > >Thanks in advance > >Steve Russell >Web Developer III >ValueOptions - Lifescape >703-205-6589 >[EMAIL PROTECTED] > > > >** >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom they >are addressed. If you have received this email in error please notify >the sender by email, delete and destroy this message and its >attachments. > > >** >
RE: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 )
1. No quotes and no spaces in filenames allowed. Use one backslash (\) in your paths. The examples that come in the conf directory are correctly formatted, but probably for the wrong directories. 2. Sun fixed the problem for JDK 1.3.1. All 1.3.0 versions have problems. Also, all versions of the 1.2.1, 1.2.2, 1.1.8, and 1.1.7 line that I have worked with have been fine, although rumor has it that some versions of 1.2.0 had the same problem. Also, rumor has it that beta 1.4 works fine as a service (but has other issues). Randy -Original Message- From: Russell, Steve [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 2:48 PM To: '[EMAIL PROTECTED]' Subject: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 ) Hi; I found some instructions at jakarta.apache.org for making tomcat a service: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html It didn't answer some questions I would like to know before I begin. 1. The instructions mention setting TOMCAT_HOME in wrapper.properties. Lets say this is c:\tomcat.do I put it inq uotes? Do I use the "\" as a path seperator or a "/"? 2. The instructions mention that there is a bug in jdk1.3 that if you follow thei nstructions to make tomcat a service and you stop the service no clean up will happen. Is there anything bad about that? What will not happen? Does this bug also exist in jdk1.3.0_02 ? Thanks in advance Steve Russell Web Developer III ValueOptions - Lifescape 703-205-6589 [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender by email, delete and destroy this message and its attachments. **
RE: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 )
Thanks. I just got it. I set a "JDK_HOME" environ variable ( no spaces in the path ), I moved the exe to the TOMCAT_HOME\bin I moved their tomcat32Install.bat file to TOMCAT_HOME\bin I ran the install file I went to services ( windows 2000 ) and there is no "tomcat" there. Any ideas what I didn't do? Thanks in advance Steve Steve Russell Web Developer III ValueOptions - Lifescape 703-205-6589 [EMAIL PROTECTED] -Original Message-From: Tim [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 05, 2001 3:06 PMTo: [EMAIL PROTECTED]Subject: RE: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 ) Steve, I recently set Tomcat up as a service on an NT box using JavaService : http://www.alexandriasc.com/software/JavaService/documentation.html It's pretty straight forward to set up and has been working for a week now with no probs whatsoever. JavaService was originally inspired by Windows service issues with Tomcat so is an ideal solution. Later, Tim. -Original Message-From: Russell, Steve [mailto:[EMAIL PROTECTED]]Sent: 05 July 2001 19:48To: '[EMAIL PROTECTED]'Subject: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 ) Hi; I found some instructions at jakarta.apache.org for making tomcat a service: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html It didn't answer some questions I would like to know before I begin. 1. The instructions mention setting TOMCAT_HOME in wrapper.properties. Lets say this is c:\tomcat.do I put it inq uotes? Do I use the "\" as a path seperator or a "/"? 2. The instructions mention that there is a bug in jdk1.3 that if you follow thei nstructions to make tomcat a service and you stop the service no clean up will happen. Is there anything bad about that? What will not happen? Does this bug also exist in jdk1.3.0_02 ? Thanks in advance Steve Russell Web Developer III ValueOptions - Lifescape 703-205-6589 [EMAIL PROTECTED] **This email and any files transmitted with it are confidential andintended solely for the use of the individual or entity to whom theyare addressed. If you have received this email in error please notifythe sender by email, delete and destroy this message and its attachments.**
RE: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 )
Steve, I recently set Tomcat up as a service on an NT box using JavaService : http://www.alexandriasc.com/software/JavaService/documentation.html It's pretty straight forward to set up and has been working for a week now with no probs whatsoever. JavaService was originally inspired by Windows service issues with Tomcat so is an ideal solution. Later, Tim. -Original Message-From: Russell, Steve [mailto:[EMAIL PROTECTED]]Sent: 05 July 2001 19:48To: '[EMAIL PROTECTED]'Subject: Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 ) Hi; I found some instructions at jakarta.apache.org for making tomcat a service: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html It didn't answer some questions I would like to know before I begin. 1. The instructions mention setting TOMCAT_HOME in wrapper.properties. Lets say this is c:\tomcat.do I put it inq uotes? Do I use the "\" as a path seperator or a "/"? 2. The instructions mention that there is a bug in jdk1.3 that if you follow thei nstructions to make tomcat a service and you stop the service no clean up will happen. Is there anything bad about that? What will not happen? Does this bug also exist in jdk1.3.0_02 ? Thanks in advance Steve Russell Web Developer III ValueOptions - Lifescape 703-205-6589 [EMAIL PROTECTED] **This email and any files transmitted with it are confidential andintended solely for the use of the individual or entity to whom theyare addressed. If you have received this email in error please notifythe sender by email, delete and destroy this message and its attachments.**
Making Tomcat 3.2 A Service On Win 2000 ( using jdk 1.3.0_02 )
Hi; I found some instructions at jakarta.apache.org for making tomcat a service: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html It didn't answer some questions I would like to know before I begin. 1. The instructions mention setting TOMCAT_HOME in wrapper.properties. Lets say this is c:\tomcat.do I put it inq uotes? Do I use the "\" as a path seperator or a "/"? 2. The instructions mention that there is a bug in jdk1.3 that if you follow thei nstructions to make tomcat a service and you stop the service no clean up will happen. Is there anything bad about that? What will not happen? Does this bug also exist in jdk1.3.0_02 ? Thanks in advance Steve Russell Web Developer III ValueOptions - Lifescape 703-205-6589 [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender by email, delete and destroy this message and its attachments. **