RE: Tomcat 4 as an NT Service
Hello Chris: If you don't mind me asking, what args do you need to pass to enable SSL? My implementation of SSL is all done through my {CATALINA_HOME}\conf\server.xml file... In either case, if you wish to pass arguments to the Apache Tomcat service, just go into computer management (right click my computer, properties) and then scroll down to services, double click the Apache Tomcat service and you can specify Start parameters towards the bottom of that dialog window. Good luck Azam Khan -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 10:54 AM To: [EMAIL PROTECTED] Subject: Tomcat 4 as an NT Service I'm trying to install tomcat 4 as a service. I can't use the exe as I need to pass in jvm args for SSL. I've tried multiple different args to tomcat.exe. I've seen several posts mentioning that the jvm's are different. I tried the one in java_home\jre\bin\server and the one in client. They both install without any errors, but when I go to start the service, it tells me that it couldn't start and there was no error. I tried installing the service with the jvm.dll in program files\java\j2re1.4.2_03\bin\client, and when I first started it, there was no error, but it immediately stopped. I then started it again and it gave me the followingError 1607: The process terminated unexpectedly Any help would be appreciated. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4 as an NT Service
I'm doing client auth and need to provide the server with a truststore. Your method only works for one initial run of tomcat. As soon as you stop the service, the parameter goes away, and upon starting again, it's back to the default. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:16 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat 4 as an NT Service Hello Chris: If you don't mind me asking, what args do you need to pass to enable SSL? My implementation of SSL is all done through my {CATALINA_HOME}\conf\server.xml file... In either case, if you wish to pass arguments to the Apache Tomcat service, just go into computer management (right click my computer, properties) and then scroll down to services, double click the Apache Tomcat service and you can specify Start parameters towards the bottom of that dialog window. Good luck Azam Khan -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 10:54 AM To: [EMAIL PROTECTED] Subject: Tomcat 4 as an NT Service I'm trying to install tomcat 4 as a service. I can't use the exe as I need to pass in jvm args for SSL. I've tried multiple different args to tomcat.exe. I've seen several posts mentioning that the jvm's are different. I tried the one in java_home\jre\bin\server and the one in client. They both install without any errors, but when I go to start the service, it tells me that it couldn't start and there was no error. I tried installing the service with the jvm.dll in program files\java\j2re1.4.2_03\bin\client, and when I first started it, there was no error, but it immediately stopped. I then started it again and it gave me the followingError 1607: The process terminated unexpectedly Any help would be appreciated. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4 as an NT Service
I see.. Why don't you try to modify the registry key directly. Head over to HKLM\SYSTEM\CurrentControlSet\Services\[your tomcat service]\ Look for the ImagePath key.. You should be able to update that value to whatever you want. Thanks, Azam Khan Network Data Support Center Verizon Wireless 866-222-7114 http://ndsc.eng.vzwcorp.com -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:11 AM To: 'Tomcat Users List' Subject: RE: Tomcat 4 as an NT Service I'm doing client auth and need to provide the server with a truststore. Your method only works for one initial run of tomcat. As soon as you stop the service, the parameter goes away, and upon starting again, it's back to the default. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:16 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat 4 as an NT Service Hello Chris: If you don't mind me asking, what args do you need to pass to enable SSL? My implementation of SSL is all done through my {CATALINA_HOME}\conf\server.xml file... In either case, if you wish to pass arguments to the Apache Tomcat service, just go into computer management (right click my computer, properties) and then scroll down to services, double click the Apache Tomcat service and you can specify Start parameters towards the bottom of that dialog window. Good luck Azam Khan -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 10:54 AM To: [EMAIL PROTECTED] Subject: Tomcat 4 as an NT Service I'm trying to install tomcat 4 as a service. I can't use the exe as I need to pass in jvm args for SSL. I've tried multiple different args to tomcat.exe. I've seen several posts mentioning that the jvm's are different. I tried the one in java_home\jre\bin\server and the one in client. They both install without any errors, but when I go to start the service, it tells me that it couldn't start and there was no error. I tried installing the service with the jvm.dll in program files\java\j2re1.4.2_03\bin\client, and when I first started it, there was no error, but it immediately stopped. I then started it again and it gave me the followingError 1607: The process terminated unexpectedly Any help would be appreciated. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4 as an NT Service
If it were just one machine, that wouldn't be a problem. However, I need to set this up so that any user can install it. I think I finally got it working, however, it doesn't seem to want to stop. Anyone have any suggestions? Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:29 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat 4 as an NT Service I see.. Why don't you try to modify the registry key directly. Head over to HKLM\SYSTEM\CurrentControlSet\Services\[your tomcat service]\ Look for the ImagePath key.. You should be able to update that value to whatever you want. Thanks, Azam Khan Network Data Support Center Verizon Wireless 866-222-7114 http://ndsc.eng.vzwcorp.com -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:11 AM To: 'Tomcat Users List' Subject: RE: Tomcat 4 as an NT Service I'm doing client auth and need to provide the server with a truststore. Your method only works for one initial run of tomcat. As soon as you stop the service, the parameter goes away, and upon starting again, it's back to the default. Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 11:16 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat 4 as an NT Service Hello Chris: If you don't mind me asking, what args do you need to pass to enable SSL? My implementation of SSL is all done through my {CATALINA_HOME}\conf\server.xml file... In either case, if you wish to pass arguments to the Apache Tomcat service, just go into computer management (right click my computer, properties) and then scroll down to services, double click the Apache Tomcat service and you can specify Start parameters towards the bottom of that dialog window. Good luck Azam Khan -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 10:54 AM To: [EMAIL PROTECTED] Subject: Tomcat 4 as an NT Service I'm trying to install tomcat 4 as a service. I can't use the exe as I need to pass in jvm args for SSL. I've tried multiple different args to tomcat.exe. I've seen several posts mentioning that the jvm's are different. I tried the one in java_home\jre\bin\server and the one in client. They both install without any errors, but when I go to start the service, it tells me that it couldn't start and there was no error. I tried installing the service with the jvm.dll in program files\java\j2re1.4.2_03\bin\client, and when I first started it, there was no error, but it immediately stopped. I then started it again and it gave me the followingError 1607: The process terminated unexpectedly Any help would be appreciated. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 4.x as NT service
You know if I'd taken the time to read this list's email yesterday I would have saved myself and my boss a lot of time. As it was we struggled for hours to find a way to install 2 instances of the service and ended up using the info at Alexandria Software noted below. Our only additions were separate catalina_base arguments for each service, where each base had its own server.xml, etc., etc. Ken -Original Message- From: Stone, Timothy [mailto:tstone;cityofhbg.com] Sent: Tuesday, November 12, 2002 12:17 PM To: Tomcat Users List Subject: RE: Tomcat 4.x as NT service The short answer is Yes, Tomcat 4.0.x can run as a service. The longer answers include reading HOW-TOs, like Jake's suggestion below, consulting the manual on tomcat.exe and some creative understanding of UNIX and Win2k environments. As the tomcat.exe is not very well documented in the Jakarta distribution (after all UNIX is the primary deployment platform), all the glorious details can be found at Alexandria Software (http://www.alexandriasc.com/software/JavaService/documentation.html) the developer of the tomcat.exe (renamed as tomcat.exe from the bland, somewhat engimatic, JavaService.exe). Do not shy away from the 3.x references in the Alexandria Software manual. The instructions have resulted in dual Tomcat 4.0.x installations running on my development and production servers. I provide load balancing, etc. as well. (A great HOW-TO is available on load balancing Tomcat services in a UNIX environment at www.ubeans.com/tomcat by Pascal Forget; I applied these instructions to my Win2k deployments.) Hope this further helps, Tim-I-wish-my-*nix-phobic-MCSE-admins-would-quit-worshipping-at-the-Church-o f-Redmond-and-my-life-would-be-much-simpler-Stone -- /** * Timothy Stone . Sun Certified Java Programmer * Web Master . tstone at cityofhbg dot com * City of Harrisburg . 717.255.7297 * Pennsylvania USA . 717.903.9162 * * This Satan's drink [coffee] is so delicious, * we shall cheat Satan and baptize it. * --Pope Clement VIII */ -Original Message- From: Jacob Kjome [mailto:hoju;visi.com] Sent: Tuesday, November 12, 2002 11:32 To: Tomcat Users List Subject: Re: Tomcat 4.x as NT service Hello Richard, See http://www.mattkelli.com/tech/tomcat/ntservice.htm Jake Tuesday, November 12, 2002, 9:53:01 AM, you wrote: RH Hi RH Is it possible to set up jakarta-tomcat-4.0.5 as a windows service? RH There is documentation detailing how to do this for Tomcat 3.x, but not RH it seems for Tomcat 4.x. RH Thanks RH R Hartley -- Best regards, Jacobmailto:hoju;visi.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: Tomcat 4.x as NT service
1. Download the binary .exe install package 2. Choose 'run as NT service' during installation. /mde/ just my two cents . . . . __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Tomcat 4.x as NT service
It is even easier to run 4.x as a service. It is one of the options when you run the Tomcat installer. -Original Message- From: Richard Hartley [mailto:r.hartley;umist.ac.uk] Sent: Tuesday, November 12, 2002 10:53 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.x as NT service Hi Is it possible to set up jakarta-tomcat-4.0.5 as a windows service? There is documentation detailing how to do this for Tomcat 3.x, but not it seems for Tomcat 4.x. Thanks R Hartley -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: Tomcat 4.x as NT service
Hello Richard, See http://www.mattkelli.com/tech/tomcat/ntservice.htm Jake Tuesday, November 12, 2002, 9:53:01 AM, you wrote: RH Hi RH Is it possible to set up jakarta-tomcat-4.0.5 as a windows service? RH There is documentation detailing how to do this for Tomcat 3.x, but not RH it seems for Tomcat 4.x. RH Thanks RH R Hartley -- Best regards, Jacobmailto:hoju;visi.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Tomcat 4.x as NT service
The short answer is Yes, Tomcat 4.0.x can run as a service. The longer answers include reading HOW-TOs, like Jake's suggestion below, consulting the manual on tomcat.exe and some creative understanding of UNIX and Win2k environments. As the tomcat.exe is not very well documented in the Jakarta distribution (after all UNIX is the primary deployment platform), all the glorious details can be found at Alexandria Software (http://www.alexandriasc.com/software/JavaService/documentation.html) the developer of the tomcat.exe (renamed as tomcat.exe from the bland, somewhat engimatic, JavaService.exe). Do not shy away from the 3.x references in the Alexandria Software manual. The instructions have resulted in dual Tomcat 4.0.x installations running on my development and production servers. I provide load balancing, etc. as well. (A great HOW-TO is available on load balancing Tomcat services in a UNIX environment at www.ubeans.com/tomcat by Pascal Forget; I applied these instructions to my Win2k deployments.) Hope this further helps, Tim-I-wish-my-*nix-phobic-MCSE-admins-would-quit-worshipping-at-the-Church-of-Redmond-and-my-life-would-be-much-simpler-Stone -- /** * Timothy Stone . Sun Certified Java Programmer * Web Master . tstone at cityofhbg dot com * City of Harrisburg . 717.255.7297 * Pennsylvania USA . 717.903.9162 * * This Satan's drink [coffee] is so delicious, * we shall cheat Satan and baptize it. * --Pope Clement VIII */ -Original Message- From: Jacob Kjome [mailto:hoju;visi.com] Sent: Tuesday, November 12, 2002 11:32 To: Tomcat Users List Subject: Re: Tomcat 4.x as NT service Hello Richard, See http://www.mattkelli.com/tech/tomcat/ntservice.htm Jake Tuesday, November 12, 2002, 9:53:01 AM, you wrote: RH Hi RH Is it possible to set up jakarta-tomcat-4.0.5 as a windows service? RH There is documentation detailing how to do this for Tomcat 3.x, but not RH it seems for Tomcat 4.x. RH Thanks RH R Hartley -- Best regards, Jacobmailto:hoju;visi.com -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: Tomcat 4 as an NT Service
Take a look at previous posts on this topic. Take a look at what is in your log files. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software solutions. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]