cannot run exe from java if running Tomcat as service
Not sure if this is the proper place for this message or if it's better in a java discussion but I get different results depending on if Tomcat is running as a service versus when I start it using the batch file in a cmd window. So I'll try it here first. I have a java application from which I call an executable using: Runtime rt = Runtime.getRuntime(); Process proc = rt.exec(cmd); The executable is called and runs successfully when Tomcat is started in a cmd window using the batch file. But when Tomcat is running as a service the executable is not called. I've tried changing the service's logon account to one which has full admin privs on the computer but no luck. Any ideas? Thanks, Gary
Security flag and the Tomcat Win2K Service
Hi All, Forgive me if this question is answered elsewhere but I've had no joy so far. I have created a servlet that uses RMI to communicate with my application server. This works great if I start Tomcat from the command line thus: catalina run -security However, I cannot find how to configure the Tomcat service so that it starts with the -security parameter. Any help would be greatly appreciated. Thanx, David
RE: tomcat as service under linux how-to
Do u hv the example script for this ? That's what I mean actually. Sorry for the previous mail. -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 11:18 AM To: Tomcat Users List Subject: Re: tomcat as service under linux how-to Put a script that starts Apache and Tomcat into the /etc/rc.d/init.d folder. U can modify the rc.local script to run the script when Linux boot. U can run a ps -ef | grep command to check whether Tomcat is running before u start running Apache. By the way, y do u need to start Tomcat first before starting Apache? if u wanna do connection between Apache and Tomcat using mod_jk, i think that starting Apache first before starting Tomcat is the way, just my opinion though. BTW, Google is your friend. F.S. - Original Message - From: dummy [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, July 20, 2005 9:29 AM Subject: tomcat as service under linux how-to Hi, I would like to know how to start-up tomcat as services under LINUX and at the same time start-up apache after tomcat has started. How to check whether tomcat is already started before apache is started ? I don't have this on windows system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat as service under linux how-to
Here's my rc.local script that i used to start the Tomcat and Apache automatically. however i did not have any script that startup Apache and Tomcat both at boot time. i just added the isStarted and if statement, and haven't test on it, maybe u would wanna try on it, no success is guaranteed though :p . If anyone else have a better options then u could use theirs. PS: to use this script u must have the httpd and tomcat4 script in ur /etc/rc.d/init.d folder, which i think should come with the installation of the Apache and tomcat4. u should be able to get these script from the web if u dun have them.. Hope this helps: #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local service httpd start isStarted=`ps -ef | grep -i httpd | grep -v grep | awk {'print $2'} | head -1` if [ $isStarted 0 ] then service tomcat4 start fi - Original Message - From: dummy [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org; [EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 3:19 PM Subject: RE: tomcat as service under linux how-to Do u hv the example script for this ? That's what I mean actually. Sorry for the previous mail. -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 11:18 AM To: Tomcat Users List Subject: Re: tomcat as service under linux how-to Put a script that starts Apache and Tomcat into the /etc/rc.d/init.d folder. U can modify the rc.local script to run the script when Linux boot. U can run a ps -ef | grep command to check whether Tomcat is running before u start running Apache. By the way, y do u need to start Tomcat first before starting Apache? if u wanna do connection between Apache and Tomcat using mod_jk, i think that starting Apache first before starting Tomcat is the way, just my opinion though. BTW, Google is your friend. F.S. - Original Message - From: dummy [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, July 20, 2005 9:29 AM Subject: tomcat as service under linux how-to Hi, I would like to know how to start-up tomcat as services under LINUX and at the same time start-up apache after tomcat has started. How to check whether tomcat is already started before apache is started ? I don't have this on windows system. - 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 as service under linux how-to
So may I know what's the booting seq. -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 4:13 PM To: Tomcat Users List Subject: Re: tomcat as service under linux how-to Here's my rc.local script that i used to start the Tomcat and Apache automatically. however i did not have any script that startup Apache and Tomcat both at boot time. i just added the isStarted and if statement, and haven't test on it, maybe u would wanna try on it, no success is guaranteed though :p . If anyone else have a better options then u could use theirs. PS: to use this script u must have the httpd and tomcat4 script in ur /etc/rc.d/init.d folder, which i think should come with the installation of the Apache and tomcat4. u should be able to get these script from the web if u dun have them.. Hope this helps: #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local service httpd start isStarted=`ps -ef | grep -i httpd | grep -v grep | awk {'print $2'} | head -1` if [ $isStarted 0 ] then service tomcat4 start fi - Original Message - From: dummy [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org; [EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 3:19 PM Subject: RE: tomcat as service under linux how-to Do u hv the example script for this ? That's what I mean actually. Sorry for the previous mail. -Original Message- From: Foo Shyn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 20, 2005 11:18 AM To: Tomcat Users List Subject: Re: tomcat as service under linux how-to Put a script that starts Apache and Tomcat into the /etc/rc.d/init.d folder. U can modify the rc.local script to run the script when Linux boot. U can run a ps -ef | grep command to check whether Tomcat is running before u start running Apache. By the way, y do u need to start Tomcat first before starting Apache? if u wanna do connection between Apache and Tomcat using mod_jk, i think that starting Apache first before starting Tomcat is the way, just my opinion though. BTW, Google is your friend. F.S. - Original Message - From: dummy [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, July 20, 2005 9:29 AM Subject: tomcat as service under linux how-to Hi, I would like to know how to start-up tomcat as services under LINUX and at the same time start-up apache after tomcat has started. How to check whether tomcat is already started before apache is started ? I don't have this on windows system. - 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]
tomcat as service under linux how-to
Hi, I would like to know how to start-up tomcat as services under LINUX and at the same time start-up apache after tomcat has started. How to check whether tomcat is already started before apache is started ? I don't have this on windows system.
Re: tomcat as service under linux how-to
Put a script that starts Apache and Tomcat into the /etc/rc.d/init.d folder. U can modify the rc.local script to run the script when Linux boot. U can run a ps -ef | grep command to check whether Tomcat is running before u start running Apache. By the way, y do u need to start Tomcat first before starting Apache? if u wanna do connection between Apache and Tomcat using mod_jk, i think that starting Apache first before starting Tomcat is the way, just my opinion though. BTW, Google is your friend. F.S. - Original Message - From: dummy [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, July 20, 2005 9:29 AM Subject: tomcat as service under linux how-to Hi, I would like to know how to start-up tomcat as services under LINUX and at the same time start-up apache after tomcat has started. How to check whether tomcat is already started before apache is started ? I don't have this on windows system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat as service under linux how-to
dummy wrote: Hi, I would like to know how to start-up tomcat as services under LINUX and at the same time start-up apache after tomcat has started. How to check whether tomcat is already started before apache is started ? I don't have this on windows system. You could use netstat -tlp as root and see the ports where you have configured tomcat on open (listening), you will see a java-* process name too. This is one way, maybe not the best, but works. -- Luis Edgardo Durán Lebis Soporte Técnico y Sistemas http://mipagina.cantv.net/elebis [EMAIL PROTECTED] 0416-7580991 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cannot start tomcat 5.5 service after rebooting server.
It was working fine beforehand, after updating the tomcat and J2RE versions ( I'd had to delay rebooting after installing J2RE update). Now I get (via the console start) 09-Jun-2005 10:22:49 org.apache.tomcat.util.digester.Digester startElement SEVERE: Begin event threw exception java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) etc etc using MS w2k IIS5/tomcat 5.5/JK2 J2RE 5 * * * * * * * * * * * * 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. This email represents the personal views of the author/sender. The author/sender has no authority or delegation to bind the City of York Council by this e-mail and the City of York Council accepts no responsibility whatsoever for its contents. Please note that any reply to this email may be screened. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Custom server.xml location with tomcat windows service (5.0.28)
Hi, I have been trying to setup the tomcat windows service to use an alternate configuration file location, instead of the default server.xml under conf. The tomcat service pulls all the information from the registry, but I could not find a good spot there to specify a different server.xml file location. The Start registry key has a params String value that is set to start. I tried to add a -config parameter there with the appropriate location, but the service failed to start after that. I assume that tomcat5.exe does not expect other values besides start or stop. Has anybody tried such thing before? What should I do? Regards, Iannis
RE: JPDA and Tomcat 5.5.9 Service on Windows
Hi cam, When running tomcat as a windows service, there is also a configuration screen. If you do not yet have the small icon in the notification area, you can use the Configure Tomcat option from the Start menu (or tomcat5w.exe //ES//Tomcat5). In this screen you can add the parameters on the Java tab (see attached image) Regards, Johan -Original Message- From: cam r [mailto:[EMAIL PROTECTED] Sent: dinsdag 24 mei 2005 16:04 To: Tomcat Users List Subject: JPDA and Tomcat 5.5.9 Service on Windows Hi all, I am trying to set up debugging on Tomcat while it is running as a Windows service. The requirements of the project negate me from being able to run it as a script. I have tried adding; -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y to the Java Options in the Java tab of the Apache Tomcat Properties gui screen. I have also added; jpda start to the Arguments in the Startup tab of the Apache Tomcat Proeprties gui screen. But have had no luck getting Tomcat to run. I have also tried setting the arguments for Tomcat through environment variablesin; My Computer Properties Environment Variables System Variables CATALINA_OPTS but this has not worked either. Has anyone set up debugging for Tomcat 5.5.9 while it is running as a service? Any tips would be most welcome. cam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JPDA and Tomcat 5.5.9 Service on Windows
I've been running tomcat on windows for 5 years, as a service for 2 years, and I didn't know that screen existed !! What a revelation. :) -Original Message- From: Philippe Johan [mailto:[EMAIL PROTECTED] Sent: Thursday 26 May 2005 08:09 To: tomcat-user@jakarta.apache.org Cc: cam r Subject: RE: JPDA and Tomcat 5.5.9 Service on Windows Hi cam, When running tomcat as a windows service, there is also a configuration screen. If you do not yet have the small icon in the notification area, you can use the Configure Tomcat option from the Start menu (or tomcat5w.exe //ES//Tomcat5). In this screen you can add the parameters on the Java tab (see attached image) Regards, Johan -Original Message- From: cam r [mailto:[EMAIL PROTECTED] Sent: dinsdag 24 mei 2005 16:04 To: Tomcat Users List Subject: JPDA and Tomcat 5.5.9 Service on Windows Hi all, I am trying to set up debugging on Tomcat while it is running as a Windows service. The requirements of the project negate me from being able to run it as a script. I have tried adding; -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y to the Java Options in the Java tab of the Apache Tomcat Properties gui screen. I have also added; jpda start to the Arguments in the Startup tab of the Apache Tomcat Proeprties gui screen. But have had no luck getting Tomcat to run. I have also tried setting the arguments for Tomcat through environment variablesin; My Computer Properties Environment Variables System Variables CATALINA_OPTS but this has not worked either. Has anyone set up debugging for Tomcat 5.5.9 while it is running as a service? Any tips would be most welcome. cam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JPDA and Tomcat 5.5.9 Service on Windows
Hi all, I am trying to set up debugging on Tomcat while it is running as a Windows service. The requirements of the project negate me from being able to run it as a script. I have tried adding; -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y to the Java Options in the Java tab of the Apache Tomcat Properties gui screen. I have also added; jpda start to the Arguments in the Startup tab of the Apache Tomcat Proeprties gui screen. But have had no luck getting Tomcat to run. I have also tried setting the arguments for Tomcat through environment variablesin; My Computer Properties Environment Variables System Variables CATALINA_OPTS but this has not worked either. Has anyone set up debugging for Tomcat 5.5.9 while it is running as a service? Any tips would be most welcome. cam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JPDA and Tomcat 5.5.9 Service on Windows
hi cam, this url maybe useful for you. http://www.pauaware.co.nz/tomcatntservice.htm maojm On 5/24/05, cam r [EMAIL PROTECTED] wrote: Hi all, I am trying to set up debugging on Tomcat while it is running as a Windows service. The requirements of the project negate me from being able to run it as a script. I have tried adding; -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y to the Java Options in the Java tab of the Apache Tomcat Properties gui screen. I have also added; jpda start to the Arguments in the Startup tab of the Apache Tomcat Proeprties gui screen. But have had no luck getting Tomcat to run. I have also tried setting the arguments for Tomcat through environment variablesin; My Computer Properties Environment Variables System Variables CATALINA_OPTS but this has not worked either. Has anyone set up debugging for Tomcat 5.5.9 while it is running as a service? Any tips would be most welcome. cam - 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: Error Running Tomcat 5.0.28 Service on Win2K3
DW, Thanks for the help. As it turns out, catalina.bat runs on the client JVM and service.bat runs on the server JVM. By removing the -server options from service.bat, we were able to get the service to install and run correctly. Thanks again, Jim Jackson -Original Message- From: Darryl Wilburn [mailto:[EMAIL PROTECTED] Sent: Monday, May 16, 2005 10:37 PM To: Tomcat Users List Subject: Re: Error Running Tomcat 5.0.28 Service on Win2K3 It sounds to me as though it would have something to do with user rights. I'm assuming when you launch the bat files, you're most likely logged in as Admin with all the rights in the world. Have you tried setting the service to run as the Admin account (for testing only) as opposed to System? Does SYSTEM have access to the Tomcat files? DW --- Jackson James W MAJ MNF-I CIS KM Portal Manager [EMAIL PROTECTED] wrote: We've already checked the web, the FAQ, and the archive for starting Tomcat as a service on Win2K3 as a PDC (primary domain controller) with no luck. We installed Tomcat 5.0.28 (port 80) as a service on Win2K3 (1 GB RAM) with J2SDK 1.4.2_05. Win2K3 is running AD (active directory), DNS, DHCP, and Oracle 10g. All other services are not installed (notably IIS). We're able to start Tomcat successfully using catalina.bat. We're able to install the service; however, when starting the service, I get the following error message in the jakarta_service_20050516.log [info] Starting service... [415 javajni.c] [error] CreateJavaVM Failed [770 prunsrv.c] [error] Failed initializing java C:\j2sdk1.4.2_05\lib\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar [982 prunsrv.c] [error] ServiceStart returned 2 Where do we find the service start error codes? Or the source code for javajni.c and prunsrv.c? Thanks in advance, Jim Jackson Further details are below: We modified both catalina.bat and service.bat to display all environment variables. They appear to be the same. Output from modified catalina.bat that runs correctly: OS: Windows_NT CATALINA_HOME: C:\cdcie\tomcat CATALINA_OPTS: -Djava.security.auth.login.config=c:\cdcie\tomcat\conf\jaas.conf -Djava.awt.headless=true JAVA_OPTS: -Xms256m -Xmx512m BASEDIR:C:\cdcie\tomcat JAVA_HOME: C:\j2sdk1.4.2_05 JAVA_ENDORSED_DIRS: C:\cdcie\tomcat\common\endorsed CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar CATALINA_BASE: C:\cdcie\tomcat CATALINA_TMPDIR:C:\cdcie\tomcat\temp _RUNJAVA: C:\j2sdk1.4.2_05\bin\java _EXECJAVA: start Tomcat C:\j2sdk1.4.2_05\bin\java MAINCLASS: org.apache.catalina.startup.Bootstrap ACTION: start start Tomcat C:\j2sdk1.4.2_05\bin\java -Xms512m -Xmx1024m -Djava.security.auth.login.config=c:\cdcie\tomcat\conf\jaa s.conf -Djava.awt.headless=true -Djava.endorsed.dirs=C:\cdcie\tomcat\common\endorsed -classpath C:\j2sdk1.4.2_05\li b\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar -Dcatalina.base=C:\cdcie\tomcat -Dcatalina.home=C:\cdcie\tomcat -Djav a.io.tmpdir=C:\cdcie\tomcat\temp org.apache.catalina.startup.Bootstrap start Output from modified service.bat: OS: Windows_NT SERVICE_NAME: Tomcat5 PR_DISPLAYNAME: Apache Tomcat CURRENT_DIR:C:\cdcie\tomcat\bin CATALINA_HOME: C:\cdcie\tomcat CATALINA_BASE: C:\cdcie\tomcat EXECUTABLE: C:\cdcie\tomcat\bin\tomcat5.exe JAVA_HOME: C:\j2sdk1.4.2_05 PR_DESCRIPTION: Apache Tomcat Server - http://jakarta.apache.org/tomcat PR_INSTALL: C:\cdcie\tomcat\bin\tomcat5.exe PR_LOGPATH: C:\cdcie\tomcat\logs PR_CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar PR_JVM: C:\j2sdk1.4.2_05\jre\bin\server\jvm.dll PR_STDOUTPUT: C:\cdcie\tomcat\logs\stdout.log PR_STDERROR:C:\cdcie\tomcat\logs\stderr.log C:\cdcie\tomcat\bin\tomcat5.exe //IS//Tomcat5 --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apach e.catalina.startup.Bootstrap --StartParams start --StopParams stop C:\cdcie\tomcat\bin\tomcat5.exe //US//Tomcat5 --JvmOptions -Dcatalina.base=C:\cdcie\tomcat;-Dcatalina.home=C:\cdcie\t omcat;-Djava.endorsed.dirs=C:\cdcie\tomcat\common\endorsed;-Djava.securi ty.auth.login.config=C:\cdcie\tomcat\conf\jaas.c onf;-Djava.awt.headless=\true\;-server;-Xms256m;-Xmx512m --StartMode jvm --StopMode jvm C:\cdcie\tomcat\bin\tomcat5.exe //US//Tomcat5 ++JvmOptions -Djava.io.tmpdir=C:\cdcie\tomcat\temp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
Re: Error Running Tomcat 5.0.28 Service on Win2K3
It sounds to me as though it would have something to do with user rights. I'm assuming when you launch the bat files, you're most likely logged in as Admin with all the rights in the world. Have you tried setting the service to run as the Admin account (for testing only) as opposed to System? Does SYSTEM have access to the Tomcat files? DW --- Jackson James W MAJ MNF-I CIS KM Portal Manager [EMAIL PROTECTED] wrote: We've already checked the web, the FAQ, and the archive for starting Tomcat as a service on Win2K3 as a PDC (primary domain controller) with no luck. We installed Tomcat 5.0.28 (port 80) as a service on Win2K3 (1 GB RAM) with J2SDK 1.4.2_05. Win2K3 is running AD (active directory), DNS, DHCP, and Oracle 10g. All other services are not installed (notably IIS). We're able to start Tomcat successfully using catalina.bat. We're able to install the service; however, when starting the service, I get the following error message in the jakarta_service_20050516.log [info] Starting service... [415 javajni.c] [error] CreateJavaVM Failed [770 prunsrv.c] [error] Failed initializing java C:\j2sdk1.4.2_05\lib\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar [982 prunsrv.c] [error] ServiceStart returned 2 Where do we find the service start error codes? Or the source code for javajni.c and prunsrv.c? Thanks in advance, Jim Jackson Further details are below: We modified both catalina.bat and service.bat to display all environment variables. They appear to be the same. Output from modified catalina.bat that runs correctly: OS: Windows_NT CATALINA_HOME: C:\cdcie\tomcat CATALINA_OPTS: -Djava.security.auth.login.config=c:\cdcie\tomcat\conf\jaas.conf -Djava.awt.headless=true JAVA_OPTS: -Xms256m -Xmx512m BASEDIR:C:\cdcie\tomcat JAVA_HOME: C:\j2sdk1.4.2_05 JAVA_ENDORSED_DIRS: C:\cdcie\tomcat\common\endorsed CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar CATALINA_BASE: C:\cdcie\tomcat CATALINA_TMPDIR:C:\cdcie\tomcat\temp _RUNJAVA: C:\j2sdk1.4.2_05\bin\java _EXECJAVA: start Tomcat C:\j2sdk1.4.2_05\bin\java MAINCLASS: org.apache.catalina.startup.Bootstrap ACTION: start start Tomcat C:\j2sdk1.4.2_05\bin\java -Xms512m -Xmx1024m -Djava.security.auth.login.config=c:\cdcie\tomcat\conf\jaa s.conf -Djava.awt.headless=true -Djava.endorsed.dirs=C:\cdcie\tomcat\common\endorsed -classpath C:\j2sdk1.4.2_05\li b\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar -Dcatalina.base=C:\cdcie\tomcat -Dcatalina.home=C:\cdcie\tomcat -Djav a.io.tmpdir=C:\cdcie\tomcat\temp org.apache.catalina.startup.Bootstrap start Output from modified service.bat: OS: Windows_NT SERVICE_NAME: Tomcat5 PR_DISPLAYNAME: Apache Tomcat CURRENT_DIR:C:\cdcie\tomcat\bin CATALINA_HOME: C:\cdcie\tomcat CATALINA_BASE: C:\cdcie\tomcat EXECUTABLE: C:\cdcie\tomcat\bin\tomcat5.exe JAVA_HOME: C:\j2sdk1.4.2_05 PR_DESCRIPTION: Apache Tomcat Server - http://jakarta.apache.org/tomcat PR_INSTALL: C:\cdcie\tomcat\bin\tomcat5.exe PR_LOGPATH: C:\cdcie\tomcat\logs PR_CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar PR_JVM: C:\j2sdk1.4.2_05\jre\bin\server\jvm.dll PR_STDOUTPUT: C:\cdcie\tomcat\logs\stdout.log PR_STDERROR:C:\cdcie\tomcat\logs\stderr.log C:\cdcie\tomcat\bin\tomcat5.exe //IS//Tomcat5 --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apach e.catalina.startup.Bootstrap --StartParams start --StopParams stop C:\cdcie\tomcat\bin\tomcat5.exe //US//Tomcat5 --JvmOptions -Dcatalina.base=C:\cdcie\tomcat;-Dcatalina.home=C:\cdcie\t omcat;-Djava.endorsed.dirs=C:\cdcie\tomcat\common\endorsed;-Djava.securi ty.auth.login.config=C:\cdcie\tomcat\conf\jaas.c onf;-Djava.awt.headless=\true\;-server;-Xms256m;-Xmx512m --StartMode jvm --StopMode jvm C:\cdcie\tomcat\bin\tomcat5.exe //US//Tomcat5 ++JvmOptions -Djava.io.tmpdir=C:\cdcie\tomcat\temp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error Running Tomcat 5.0.28 Service on Win2K3
We've already checked the web, the FAQ, and the archive for starting Tomcat as a service on Win2K3 as a PDC (primary domain controller) with no luck. We installed Tomcat 5.0.28 (port 80) as a service on Win2K3 (1 GB RAM) with J2SDK 1.4.2_05. Win2K3 is running AD (active directory), DNS, DHCP, and Oracle 10g. All other services are not installed (notably IIS). We're able to start Tomcat successfully using catalina.bat. We're able to install the service; however, when starting the service, I get the following error message in the jakarta_service_20050516.log [info] Starting service... [415 javajni.c] [error] CreateJavaVM Failed [770 prunsrv.c] [error] Failed initializing java C:\j2sdk1.4.2_05\lib\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar [982 prunsrv.c] [error] ServiceStart returned 2 Where do we find the service start error codes? Or the source code for javajni.c and prunsrv.c? Thanks in advance, Jim Jackson Further details are below: We modified both catalina.bat and service.bat to display all environment variables. They appear to be the same. Output from modified catalina.bat that runs correctly: OS: Windows_NT CATALINA_HOME: C:\cdcie\tomcat CATALINA_OPTS: -Djava.security.auth.login.config=c:\cdcie\tomcat\conf\jaas.conf -Djava.awt.headless=true JAVA_OPTS: -Xms256m -Xmx512m BASEDIR:C:\cdcie\tomcat JAVA_HOME: C:\j2sdk1.4.2_05 JAVA_ENDORSED_DIRS: C:\cdcie\tomcat\common\endorsed CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar CATALINA_BASE: C:\cdcie\tomcat CATALINA_TMPDIR:C:\cdcie\tomcat\temp _RUNJAVA: C:\j2sdk1.4.2_05\bin\java _EXECJAVA: start Tomcat C:\j2sdk1.4.2_05\bin\java MAINCLASS: org.apache.catalina.startup.Bootstrap ACTION: start start Tomcat C:\j2sdk1.4.2_05\bin\java -Xms512m -Xmx1024m -Djava.security.auth.login.config=c:\cdcie\tomcat\conf\jaa s.conf -Djava.awt.headless=true -Djava.endorsed.dirs=C:\cdcie\tomcat\common\endorsed -classpath C:\j2sdk1.4.2_05\li b\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar -Dcatalina.base=C:\cdcie\tomcat -Dcatalina.home=C:\cdcie\tomcat -Djav a.io.tmpdir=C:\cdcie\tomcat\temp org.apache.catalina.startup.Bootstrap start Output from modified service.bat: OS: Windows_NT SERVICE_NAME: Tomcat5 PR_DISPLAYNAME: Apache Tomcat CURRENT_DIR:C:\cdcie\tomcat\bin CATALINA_HOME: C:\cdcie\tomcat CATALINA_BASE: C:\cdcie\tomcat EXECUTABLE: C:\cdcie\tomcat\bin\tomcat5.exe JAVA_HOME: C:\j2sdk1.4.2_05 PR_DESCRIPTION: Apache Tomcat Server - http://jakarta.apache.org/tomcat PR_INSTALL: C:\cdcie\tomcat\bin\tomcat5.exe PR_LOGPATH: C:\cdcie\tomcat\logs PR_CLASSPATH: C:\j2sdk1.4.2_05\lib\tools.jar;C:\cdcie\tomcat\bin\bootstrap.jar PR_JVM: C:\j2sdk1.4.2_05\jre\bin\server\jvm.dll PR_STDOUTPUT: C:\cdcie\tomcat\logs\stdout.log PR_STDERROR:C:\cdcie\tomcat\logs\stderr.log C:\cdcie\tomcat\bin\tomcat5.exe //IS//Tomcat5 --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apach e.catalina.startup.Bootstrap --StartParams start --StopParams stop C:\cdcie\tomcat\bin\tomcat5.exe //US//Tomcat5 --JvmOptions -Dcatalina.base=C:\cdcie\tomcat;-Dcatalina.home=C:\cdcie\t omcat;-Djava.endorsed.dirs=C:\cdcie\tomcat\common\endorsed;-Djava.securi ty.auth.login.config=C:\cdcie\tomcat\conf\jaas.c onf;-Djava.awt.headless=\true\;-server;-Xms256m;-Xmx512m --StartMode jvm --StopMode jvm C:\cdcie\tomcat\bin\tomcat5.exe //US//Tomcat5 ++JvmOptions -Djava.io.tmpdir=C:\cdcie\tomcat\temp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Setting an environment variable in tomcat 5.5 service?
Que: Am I understanding this right, the environment entries you can set in tomcat web.xml are not the same as the ones you would be setting from under Windows-startup-control panel-system-Advanced?? Basically I am trying to set a environment variable to a particular file. In my webapp I use some third party libraries that make some JNI calls that require that environment variable to be set. Thanks, -Original Message- From: Gurumoorthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 11:00 PM To: Tomcat Users List Subject: Re: Setting an environment variable in tomcat 5.5 service? You cant use System.env ... you have to use JNDI to to get the variable names Search google ... with words JNDI variables tomcat ... Something like this ... Context initialContext = new InitialContext(); String value = initialContext.lookup(java:env/ + VAR_NAME ) ; Regards Guru - Original Message - From: Mufaddal Khumri [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, May 11, 2005 10:31 PM Subject: RE: Setting an environment variable in tomcat 5.5 service? Yes, I did. -Original Message- From: Lutz Zetzsche [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 2:16 PM To: Tomcat Users List Subject: Re: Setting an environment variable in tomcat 5.5 service? Am Mittwoch, 11. Mai 2005 18:26 schrieb Mufaddal Khumri: Thank you for the reply. I am trying to set in web.xml using: env-entry env-entry-nameMY_ENV_VAR/env-entry-name env-entry-valueC:/config/one.xml/env-entry-value env-entry-typejava.lang.String/env-entry-type /env-entry I am placing this right above the /web-app ending tag. [...] Any clues as to why my env-entry is not taking effect? Did you restart Tomcat? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [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 system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Consult your physician prior to the use of any medical supplies or product. -- - 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: Setting an environment variable in tomcat 5.5 service?
Thank you for the reply. I am trying to set in web.xml using: env-entry env-entry-nameMY_ENV_VAR/env-entry-name env-entry-valueC:/config/one.xml/env-entry-value env-entry-typejava.lang.String/env-entry-type /env-entry I am placing this right above the /web-app ending tag. My environment variable is not being set. I check this by printing out all the environment variables from my webapp: ... ... Map env = System.getenv(); Iterator it = new TreeSet(env.keySet()).iterator(); ... Any clues as to why my env-entry is not taking effect? Thanks, -Original Message- From: Lutz Zetzsche [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 2:01 PM To: Tomcat Users List Subject: Re: Setting an environment variable in tomcat 5.5 service? Hi Mufaddal, Am Dienstag, 10. Mai 2005 21:33 schrieb Mufaddal Khumri: I have Tomcat 5.5 running as a service on Windows XP. Where in Tomcat can I set an environment variable? I can set an environment variable by going to Control Panel - System - Advanced - Environment variables, but I want to do it in Catalina.sh or equivalent. In my Tomcat/bin folder I have got: bootstrap.jar, commons-logging-api.jar, tomcat5.exe, tomcat5w.exe. I do not see a Catalina.sh or equivalent. You have different options where to set environment variables. Choosing the right place for your variable declaration depends on your intention. You can set environment variables here: 1. In $CATALINA_HOME/conf/server.xml, using the Environment element nested inside the GlobalNamingResources element: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/globalresources.h tml 2. In context files in different places, i.e. $CATALINA_HOME/conf/context.xml or $CATALINA_HOME/conf/[enginename]/[hostname]/[webappname].xml, using the Environment element nested inside the Context element: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html#Envi ronment%20Entries 3. In $CATALINA_HOME/webapps/[webappname]/WEB-INF/web.xml, like demonstrated here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html#Envi ronment%20Entries Best wishes Lutz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [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 system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Consult your physician prior to the use of any medical supplies or product. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setting an environment variable in tomcat 5.5 service?
Am Mittwoch, 11. Mai 2005 18:26 schrieb Mufaddal Khumri: Thank you for the reply. I am trying to set in web.xml using: env-entry env-entry-nameMY_ENV_VAR/env-entry-name env-entry-valueC:/config/one.xml/env-entry-value env-entry-typejava.lang.String/env-entry-type /env-entry I am placing this right above the /web-app ending tag. [...] Any clues as to why my env-entry is not taking effect? Did you restart Tomcat? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Setting an environment variable in tomcat 5.5 service?
Yes, I did. -Original Message- From: Lutz Zetzsche [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 2:16 PM To: Tomcat Users List Subject: Re: Setting an environment variable in tomcat 5.5 service? Am Mittwoch, 11. Mai 2005 18:26 schrieb Mufaddal Khumri: Thank you for the reply. I am trying to set in web.xml using: env-entry env-entry-nameMY_ENV_VAR/env-entry-name env-entry-valueC:/config/one.xml/env-entry-value env-entry-typejava.lang.String/env-entry-type /env-entry I am placing this right above the /web-app ending tag. [...] Any clues as to why my env-entry is not taking effect? Did you restart Tomcat? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [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 system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Consult your physician prior to the use of any medical supplies or product. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setting an environment variable in tomcat 5.5 service?
You cant use System.env ... you have to use JNDI to to get the variable names Search google ... with words JNDI variables tomcat ... Something like this ... Context initialContext = new InitialContext(); String value = initialContext.lookup(java:env/ + VAR_NAME ) ; Regards Guru - Original Message - From: Mufaddal Khumri [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, May 11, 2005 10:31 PM Subject: RE: Setting an environment variable in tomcat 5.5 service? Yes, I did. -Original Message- From: Lutz Zetzsche [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 2:16 PM To: Tomcat Users List Subject: Re: Setting an environment variable in tomcat 5.5 service? Am Mittwoch, 11. Mai 2005 18:26 schrieb Mufaddal Khumri: Thank you for the reply. I am trying to set in web.xml using: env-entry env-entry-nameMY_ENV_VAR/env-entry-name env-entry-valueC:/config/one.xml/env-entry-value env-entry-typejava.lang.String/env-entry-type /env-entry I am placing this right above the /web-app ending tag. [...] Any clues as to why my env-entry is not taking effect? Did you restart Tomcat? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [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 system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Consult your physician prior to the use of any medical supplies or product. -- - 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]
Setting an environment variable in tomcat 5.5 service?
Hi, I have Tomcat 5.5 running as a service on Windows XP. Where in Tomcat can I set an environment variable? I can set an environment variable by going to Control Panel - System - Advanced - Environment variables, but I want to do it in Catalina.sh or equivalent. In my Tomcat/bin folder I have got: bootstrap.jar, commons-logging-api.jar, tomcat5.exe, tomcat5w.exe. I do not see a Catalina.sh or equivalent. Thanks. -- 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 system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. Consult your physician prior to the use of any medical supplies or product. -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setting an environment variable in tomcat 5.5 service?
Hi Mufaddal, Am Dienstag, 10. Mai 2005 21:33 schrieb Mufaddal Khumri: I have Tomcat 5.5 running as a service on Windows XP. Where in Tomcat can I set an environment variable? I can set an environment variable by going to Control Panel - System - Advanced - Environment variables, but I want to do it in Catalina.sh or equivalent. In my Tomcat/bin folder I have got: bootstrap.jar, commons-logging-api.jar, tomcat5.exe, tomcat5w.exe. I do not see a Catalina.sh or equivalent. You have different options where to set environment variables. Choosing the right place for your variable declaration depends on your intention. You can set environment variables here: 1. In $CATALINA_HOME/conf/server.xml, using the Environment element nested inside the GlobalNamingResources element: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/globalresources.html 2. In context files in different places, i.e. $CATALINA_HOME/conf/context.xml or $CATALINA_HOME/conf/[enginename]/[hostname]/[webappname].xml, using the Environment element nested inside the Context element: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html#Environment%20Entries 3. In $CATALINA_HOME/webapps/[webappname]/WEB-INF/web.xml, like demonstrated here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html#Environment%20Entries Best wishes Lutz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Some JVM settings not working in my Tomcat Windows service
Using Tomcat 5.0.28. On the Java tab of the Configure Tomcat dialog, I have the following in Java Options: -Dcatalina.home=C:\Tomcat 5.0 -Djava.endorsed.dirs=C:\Tomcat 5.0\common\endorsed -Djava.io.tmpdir=C:\Tomcat 5.0 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xms128m -Xmx512m I want to view garbage collection information, hence the gc stuff, but I get not garbage collection output in my stdout.log. When I run Tomcat inside the Eclipse IDE with those settings, I get garbage collection info in the console. Does anyone know what I'm doing wrong here? Thanks, Brian Barnett This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network.
RE: Some JVM settings not working in my Tomcat Windows service
I stumbled across -Xloggc:logfile and that seems to work, but I still wish I could get those other options to work, or at least understand why they are not working. Sample Java Options: -Dcatalina.home=C:\Tomcat 5.0 -Djava.endorsed.dirs=C:\Tomcat 5.0\common\endorsed -Djava.io.tmpdir=C:\Tomcat 5.0 -Xloggc:C:\gclog.txt -Original Message- From: Barnett, Brian W. Sent: Thursday, April 07, 2005 2:03 PM To: 'tomcat-user@jakarta.apache.org' Subject: Some JVM settings not working in my Tomcat Windows service Using Tomcat 5.0.28. On the Java tab of the Configure Tomcat dialog, I have the following in Java Options: -Dcatalina.home=C:\Tomcat 5.0 -Djava.endorsed.dirs=C:\Tomcat 5.0\common\endorsed -Djava.io.tmpdir=C:\Tomcat 5.0 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xms128m -Xmx512m I want to view garbage collection information, hence the gc stuff, but I get not garbage collection output in my stdout.log. When I run Tomcat inside the Eclipse IDE with those settings, I get garbage collection info in the console. Does anyone know what I'm doing wrong here? Thanks, Brian Barnett This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 Service Windows
yes of course i am telling it to use a different server.xml my config looks like this -config c:\config\server.xml -dave Caldarale, Charles R wrote: From: David Gladstone [mailto:[EMAIL PROTECTED] Subject: Tomcat 5 Service Windows I am currently using tomcat 5.0.27 on Windows Xp and am trying to point the service to a specific server.xml. Are you saying you want to use a server.xml other than the one in %CATALINA_HOME%\conf? I am currently using jvm. Well, that's a good start. (Sorry, couldn't resist. :-) What am i doing wrong Try looking at the registry entries to see if they make any sense. (The key is HKLM\Apache Software Foundation\Tomcat Service Manager\Tomcat5\Parameters on 5.0.19; I've switched to 5.5.7 for most stuff, so I've never installed 5.0.27 as a Windows service.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - 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]
Tomcat 5 Service Windows
I have searched thru the mailing list and not found a solution for the following problem. Please help I am currently using tomcat 5.0.27 on Windows Xp and am trying to point the service to a specific server.xml. I have edited service.bat and have specified the -config option. I am currently getting the following on the top of my stdout.log file usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } it looks as if it is not paying attention to my config option. I am currently using jvm. What am i doing wrong -dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 Service Windows
From: David Gladstone [mailto:[EMAIL PROTECTED] Subject: Tomcat 5 Service Windows I am currently using tomcat 5.0.27 on Windows Xp and am trying to point the service to a specific server.xml. Are you saying you want to use a server.xml other than the one in %CATALINA_HOME%\conf? I am currently using jvm. Well, that's a good start. (Sorry, couldn't resist. :-) What am i doing wrong Try looking at the registry entries to see if they make any sense. (The key is HKLM\Apache Software Foundation\Tomcat Service Manager\Tomcat5\Parameters on 5.0.19; I've switched to 5.5.7 for most stuff, so I've never installed 5.0.27 as a Windows service.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Running Tomcat as service
Hi, I've been running (an older) version of Tomcat (4.1.31) on a test Windows 2000 system for awhile as an application, and this weekend, I wanted to try to run it as a service, so I downloaded and ran the .EXE version from www.apache.org. The installation seemed to go ok, but whenever the service starts, I am having a problem... I am seeing an error Exception in cleanup after start failed. From what I can tell, this is happening when Tomcat is trying to deploy the examples. I've been doing some searching on this, and although I didn't find anything specific to it, I did find some hints, and I tried deleteing the context for examples in the server.xml file. After I did that, and restarted the Tomcat service, it looks like it came up without errors, but of course, I don't have the examples anymore. This is all right, I guess, but I'm just curious as to why this occurred, and if there was another resolution other than completely deleting the context? I think that I am also noticing that when Tomcat is run as a service (on Windows 2000, at least), it seems to run a lot slower than when I ran it as an application. Is this normal, and is there anything that I can do to tune the service configuration to improve its performance? Thanks in advance, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat 5.0 service boot
Hi all, I have tomcat on a windows 2000 server. We received a webapp which we have to run on this. This web-app customised some tomcat files. This works fine when I run startup.bat, but when I run it as a service (which I have to do) it doesn't work. The two main files that were modified were catalina.bat and setclasspath.bat. Does anybody know how I would mirror the changes in these files in the service that is run? Cheers John __ -Interactive Services- |-www.interactiveservices.com- __ 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 system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 5.0 service boot
Hi, You need to go into the Windows Registry and look where the Tomcat service is defined. (I don't remember the exact key offhand). There you can add classpath and other JVM instructions as registry values that are passed to the service. On recent Tomcat versions, the service installer can be used to configure the service as well with these parameters, so you don't have to edit the registry by hand. Yoav Shapira http://www.yoavshapira.com -Original Message- From: John Byrne [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 10:36 AM To: [EMAIL PROTECTED] Subject: tomcat 5.0 service boot Hi all, I have tomcat on a windows 2000 server. We received a webapp which we have to run on this. This web-app customised some tomcat files. This works fine when I run startup.bat, but when I run it as a service (which I have to do) it doesn't work. The two main files that were modified were catalina.bat and setclasspath.bat. Does anybody know how I would mirror the changes in these files in the service that is run? Cheers John __ -Interactive Services- |-www.interactiveservices.com- __ 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 system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 5.0 service boot
Hi John, Not sure if you meant to send this directly to me or not. I'll assume not and CC the tomcat list. 5.0.29 has a control panel that allows you to edit your java params Start-Programs-Apache Tomcat-Configure Tomcat If you didn't install that part, you will need to edit the registry keys directly. On Mon, 2004-11-08 at 10:54, John Byrne wrote: Sorry, it is jakarta-tomcat-5.0.29. I have attached the modified files. I think the most important parts are: catalina.bat set CATALINA_OPTS=-Xbootclasspath/a:%CATALINA_HOME%\webapps\pro-examples\WEB-INF\lib\cryptix.jar setclasspath.bat set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\webapps\pro-examples\WEB-INF\lib At 15:39 08/11/2004, you wrote: Can you share the changes with us? Also include the Tomcat Version that you are using. On Mon, 2004-11-08 at 10:35, John Byrne wrote: Hi all, I have tomcat on a windows 2000 server. We received a webapp which we have to run on this. This web-app customised some tomcat files. This works fine when I run startup.bat, but when I run it as a service (which I have to do) it doesn't work. The two main files that were modified were catalina.bat and setclasspath.bat. Does anybody know how I would mirror the changes in these files in the service that is run? Cheers John __ -Interactive Services- |-www.interactiveservices.com- __ 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 system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk __ -Interactive Services- |-www.interactiveservices.com- __ 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 system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat 5.0 service boot
Cheers Ben, I'll try and play around with that John At 16:54 08/11/2004, Ben Souther wrote: Hi John, Not sure if you meant to send this directly to me or not. I'll assume not and CC the tomcat list. 5.0.29 has a control panel that allows you to edit your java params Start-Programs-Apache Tomcat-Configure Tomcat If you didn't install that part, you will need to edit the registry keys directly. On Mon, 2004-11-08 at 10:54, John Byrne wrote: Sorry, it is jakarta-tomcat-5.0.29. I have attached the modified files. I think the most important parts are: catalina.bat set CATALINA_OPTS=-Xbootclasspath/a:%CATALINA_HOME%\webapps\pro-examples\WEB-INF\lib\cryptix.jar setclasspath.bat set CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\webapps\pro-examples\WEB-INF\lib At 15:39 08/11/2004, you wrote: Can you share the changes with us? Also include the Tomcat Version that you are using. On Mon, 2004-11-08 at 10:35, John Byrne wrote: Hi all, I have tomcat on a windows 2000 server. We received a webapp which we have to run on this. This web-app customised some tomcat files. This works fine when I run startup.bat, but when I run it as a service (which I have to do) it doesn't work. The two main files that were modified were catalina.bat and setclasspath.bat. Does anybody know how I would mirror the changes in these files in the service that is run? Cheers John __ -Interactive Services- |-www.interactiveservices.com- __ 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 system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk __ -Interactive Services- |-www.interactiveservices.com- __ 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 system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. __ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk __ -Interactive Services- |-www.interactiveservices.com- __ 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 system manager. This message contains confidential information and is intended only for the individual named. If you are not the named
problem with starting Tomcat in service
Hi, On NT4 pack6, I can not launch TOMCAT in service. Do you know why ? patrick
tomcat 5.0.29 service start problem (JNI)
Hi All, I have a problem starting tomcat as a service. I get this error in the tomcat log for Jakarta_service log. JNI Error occurred during initialization of VM [2004-10-14 01:22:29] [info] JNI [2004-10-14 01:22:29] [info] JNI Could not reserve enough space for object heap [2004-10-14 01:22:29] [info] JNI Can somebody help me out in this as my tomcat doesn't start as a service. It starts from the command line as a standalone application. The only change I have made is that of latest windows update. OS windows 2000 Thanks shyam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 5.0.29 service start problem (JNI)
Hi, I bet your -Xmx parameter is too big for your physical hardware. Yoav Shapira http://www.yoavshapira.com -Original Message- From: shyam [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 9:41 AM To: 'Tomcat Users List' Subject: tomcat 5.0.29 service start problem (JNI) Hi All, I have a problem starting tomcat as a service. I get this error in the tomcat log for Jakarta_service log. JNI Error occurred during initialization of VM [2004-10-14 01:22:29] [info] JNI [2004-10-14 01:22:29] [info] JNI Could not reserve enough space for object heap [2004-10-14 01:22:29] [info] JNI Can somebody help me out in this as my tomcat doesn't start as a service. It starts from the command line as a standalone application. The only change I have made is that of latest windows update. OS windows 2000 Thanks shyam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 5.0.29 service start problem (JNI)
Hi, I have enough memory . I have set it up to use 1500mb where as I have enough ram of 2000. I have checked the windows site with their latest security updates. My guess is something to do with that coz I have been running with this configuration for almost an year now and never had any problem Thanks shyam -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 10:00 AM To: Tomcat Users List Subject: RE: tomcat 5.0.29 service start problem (JNI) Hi, I bet your -Xmx parameter is too big for your physical hardware. Yoav Shapira http://www.yoavshapira.com -Original Message- From: shyam [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 9:41 AM To: 'Tomcat Users List' Subject: tomcat 5.0.29 service start problem (JNI) Hi All, I have a problem starting tomcat as a service. I get this error in the tomcat log for Jakarta_service log. JNI Error occurred during initialization of VM [2004-10-14 01:22:29] [info] JNI [2004-10-14 01:22:29] [info] JNI Could not reserve enough space for object heap [2004-10-14 01:22:29] [info] JNI Can somebody help me out in this as my tomcat doesn't start as a service. It starts from the command line as a standalone application. The only change I have made is that of latest windows update. OS windows 2000 Thanks shyam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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 5.0.29 service start problem (JNI)
From: shyam [mailto:[EMAIL PROTECTED] Subject: RE: tomcat 5.0.29 service start problem (JNI) I have enough memory . I have set it up to use 1500mb where as I have enough ram of 2000. This has nothing to do with physical memory. The maximum heap size is dependent on the largest contiguous virtual space available in the 2GB that Windows provides for each user process. Unfortunately, this space is fragmented by various DLLs that Windows preloads for you, so the biggest chunk you can use is noticeably smaller. I suspect the recently applied updates reduced this largest contiguous area, resulting in JVM initialization errors. You'll need to experiment with -Xmx to find the largest value that works in your current environment. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 5.0.29 service start problem (JNI)
Thanks you for all the replies. I havent fixed it but I am sure that's the problem with windows update. Will play with the -Xmx parameter later Thanks shyam -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, October 14, 2004 11:05 AM To: Tomcat Users List Subject: RE: tomcat 5.0.29 service start problem (JNI) From: shyam [mailto:[EMAIL PROTECTED] Subject: RE: tomcat 5.0.29 service start problem (JNI) I have enough memory . I have set it up to use 1500mb where as I have enough ram of 2000. This has nothing to do with physical memory. The maximum heap size is dependent on the largest contiguous virtual space available in the 2GB that Windows provides for each user process. Unfortunately, this space is fragmented by various DLLs that Windows preloads for you, so the biggest chunk you can use is noticeably smaller. I suspect the recently applied updates reduced this largest contiguous area, resulting in JVM initialization errors. You'll need to experiment with -Xmx to find the largest value that works in your current environment. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - 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 5 service on windows
But Tomcat isn't listed as an installed program on 2K or XP and I imagine on any other winbloze platform. I had a similar problem and running: Tomcat/bin/service.bat remove did the trick. Check if Tomcat5.28 runs with your jdk. I read you're using jdk1.4.1_05. Check that you might need a newer version of the jdk. -Original Message- From: Big Chiz [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:59 PM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows anyway, try uninstalling all tomcat on the ad/remove programs. then clean all registries of any tomcat, by searching them in find in regedit. then checkout your j2sdk path if its correct, then try reinstalling. On Fri, 3 Sep 2004 17:39:19 +0100, Nelson, Jerry W, Contractor 146CF, SCB [EMAIL PROTECTED] wrote: Yes... //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:20 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you try my suggestion re: service remove and then service install? ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 17:12 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail
Tomcat 5 service on windows
Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5 service on windows
Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5 service on windows
also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - 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 5 service on windows
Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
RE: Tomcat 5 service on windows
did you try my suggestion re: service remove and then service install? ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 17:12 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software
RE: Tomcat 5 service on windows
Yes... //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:20 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you try my suggestion re: service remove and then service install? ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 17:12 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John Villar Gerente de Proyectos Computadores Flor Hard Soft 2058 C.A. www.florhard.com - To unsubscribe, e-mail: [EMAIL PROTECTED
Re: Tomcat 5 service on windows
anyway, try uninstalling all tomcat on the ad/remove programs. then clean all registries of any tomcat, by searching them in find in regedit. then checkout your j2sdk path if its correct, then try reinstalling. On Fri, 3 Sep 2004 17:39:19 +0100, Nelson, Jerry W, Contractor 146CF, SCB [EMAIL PROTECTED] wrote: Yes... //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 9:20 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you try my suggestion re: service remove and then service install? ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 17:12 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows Yes, ran service.bat completely unmodified. I still have to run startup.bat to get tomcat to work. //SIGNED// Jerry Nelson -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 8:31 AM To: Tomcat Users List Subject: RE: Tomcat 5 service on windows also, you may try removal anyway and reinstall ... service.bat remove and then service.bat install if you checked the box on the install then maybe it _did_ do something that needs to be removed first (wild stab in the dark!) :p ADC -Original Message- From: Allistair Crossley Sent: 03 September 2004 16:28 To: Tomcat Users List Subject: RE: Tomcat 5 service on windows did you run the service.bat unmodified? this can also happen when you have spaces in some of the properties for the service name. ADC -Original Message- From: Nelson, Jerry W, Contractor 146CF, SCB [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 16:25 To: 'Tomcat Users List' Subject: RE: Tomcat 5 service on windows I HAVE THE SAME PROBLEM...In my case, I am the computer administrator and Tomcat has NEVER been installed previous to this. I have not seen ANY good solutions to this, so I learned to live with the DOS based service. //SIGNED// Jerry Nelson -Original Message- From: John Villar [mailto:[EMAIL PROTECTED] Sent: Friday, September 03, 2004 6:27 AM To: Tomcat Users List Subject: Re: Tomcat 5 service on windows Do you have permission to write on the registry? you need to have write access to some key (don't remember specifically what is the key right now) in the registry to install tomcat as a service. Allistair Crossley escribió: did you have a tomcat service installed already? did you have the services window open when you ran this? try checking there are no tomcat services and closing the services window and trying again. ADC -Original Message- From: Andras Balogh [mailto:[EMAIL PROTECTED] Sent: 03 September 2004 11:28 To: [EMAIL PROTECTED] Subject: Tomcat 5 service on windows Hello all, I have downloaded the Tomcat 5.0.28. distibution for windows (jakarta-tomcat-5.0.28.exe) and tried to install tomcat as service and checked the service option in the install wizard. Tomcat wasn't installed as service and i tried manual with the service.bat script: Here is the output i get: D:\Tomcat 5.0\binservice install Installing the service 'Tomcat5' ... Using CATALINA_HOME:D:\Tomcat 5.0 Using JAVA_HOME:D:\j2sdk1.4.1_05 [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed [2004-09-03 12:09:45] [349 prunsrv.c] [error] The system cannot find the file specified. [2004-09-03 12:09:45] [1037 prunsrv.c] [error] Load configuration failed The service 'Tomcat5' has been installed. The service is still not added, i think because of the error i have. As a note i have on the server an older Tomcat 4.1.27 but is not running and i modified CATALINA_HOME to point to the new tomcat (D:\Tomcat 5.0). What could be wrong? Thank you, Andras. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE --- QAS Ltd. Developers of QuickAddress Software a href=http://www.qas.com;www.qas.com/a Registered in England: No 2582055 Registered in Australia: No 082 851 474 --- /FONT
Re: Tomcat as service
The service exe that ships with newer versions of TC 5 won't run on W9x (and, I'm not certain about NT4 :). However, you can still run it from the command line. Glen Stampoultzis [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I was just installing tomcat this morning and I noticed that even if you uncheck the service option during the installation it still installs as a service (just doesn't start it). Does this cause any issues under windows 95/98? -- Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat as service
I was just installing tomcat this morning and I noticed that even if you uncheck the service option during the installation it still installs as a service (just doesn't start it). Does this cause any issues under windows 95/98? -- Glen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat - Win2k service - GC output
Hi, I have set up Tomcat 4.1.27 as a service on a Win2k machine using the following script - tomcat -install Apache Tomcat %JAVA_HOME%\jre\bin\server\jvm.dll -verbose:gc -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar -Djava.endorsed.dir=%CATALINA_HOME%\common\endorsed -Dsun.io.useCanonCaches=false -Dcatalina.home=%CATALINA_HOME% -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%\logs\stderr.log I wanted to see the GC ouput, so, I added the -verbose:gc flag. When I see the registry, I can see this has gone in as a JVM option. But in the log file, I cannot see any GC output at all. When I try the -verbose:gc in the console mode(putting it in the catalina.bat file), I can see the GC output on the console. Am I doing it correctly? If not, what am I doing wrong? Thanks -Manoj Pooleery. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat - Win2k service - GC output
Hi. If you are using JSDK 1.4.x use the following VM flag: -Xloggc:normal.gc This will create and write GC log entries to the following location on your windows server: [WINDOWS_SYSTEM_DIR]\system32\normal.gc Regards, Carl -Original Message- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 05:14 PM To: '[EMAIL PROTECTED]' Subject: Tomcat - Win2k service - GC output Hi, I have set up Tomcat 4.1.27 as a service on a Win2k machine using the following script - tomcat -install Apache Tomcat %JAVA_HOME%\jre\bin\server\jvm.dll -verbose:gc -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar -Djava.endorsed.dir=%CATALINA_HOME%\common\endorsed -Dsun.io.useCanonCaches=false -Dcatalina.home=%CATALINA_HOME% -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%\logs\stderr.log I wanted to see the GC ouput, so, I added the -verbose:gc flag. When I see the registry, I can see this has gone in as a JVM option. But in the log file, I cannot see any GC output at all. When I try the -verbose:gc in the console mode(putting it in the catalina.bat file), I can see the GC output on the console. Am I doing it correctly? If not, what am I doing wrong? Thanks -Manoj Pooleery. - 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 - Win2k service - GC output
Hi, Thank you for the quick response. I'm using jdk 1.3.1_05 and hence I cannot use -Xloggc option. Thanks -Manoj Pooleery. -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:17 AM To: Tomcat Users List Subject: RE: Tomcat - Win2k service - GC output Hi. If you are using JSDK 1.4.x use the following VM flag: -Xloggc:normal.gc This will create and write GC log entries to the following location on your windows server: [WINDOWS_SYSTEM_DIR]\system32\normal.gc Regards, Carl -Original Message- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 05:14 PM To: '[EMAIL PROTECTED]' Subject: Tomcat - Win2k service - GC output Hi, I have set up Tomcat 4.1.27 as a service on a Win2k machine using the following script - tomcat -install Apache Tomcat %JAVA_HOME%\jre\bin\server\jvm.dll -verbose:gc -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar -Djava.endorsed.dir=%CATALINA_HOME%\common\endorsed -Dsun.io.useCanonCaches=false -Dcatalina.home=%CATALINA_HOME% -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%\logs\stderr.log I wanted to see the GC ouput, so, I added the -verbose:gc flag. When I see the registry, I can see this has gone in as a JVM option. But in the log file, I cannot see any GC output at all. When I try the -verbose:gc in the console mode(putting it in the catalina.bat file), I can see the GC output on the console. Am I doing it correctly? If not, what am I doing wrong? Thanks -Manoj Pooleery. - 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 - Win2k service - GC output
Greetings. OK, well I believe that the output from the -verbose:gc flag in 1.3 will write to a .gc file in your [windows]\system32 dirctory - although I am not certain about this. DO a system whide search for a .gc file on your server - the output does not go to the normal log output file(s). Carl -Original Message- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 05:21 PM To: 'Tomcat Users List' Subject: RE: Tomcat - Win2k service - GC output Hi, Thank you for the quick response. I'm using jdk 1.3.1_05 and hence I cannot use -Xloggc option. Thanks -Manoj Pooleery. -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:17 AM To: Tomcat Users List Subject: RE: Tomcat - Win2k service - GC output Hi. If you are using JSDK 1.4.x use the following VM flag: -Xloggc:normal.gc This will create and write GC log entries to the following location on your windows server: [WINDOWS_SYSTEM_DIR]\system32\normal.gc Regards, Carl -Original Message- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 05:14 PM To: '[EMAIL PROTECTED]' Subject: Tomcat - Win2k service - GC output Hi, I have set up Tomcat 4.1.27 as a service on a Win2k machine using the following script - tomcat -install Apache Tomcat %JAVA_HOME%\jre\bin\server\jvm.dll -verbose:gc -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar -Djava.endorsed.dir=%CATALINA_HOME%\common\endorsed -Dsun.io.useCanonCaches=false -Dcatalina.home=%CATALINA_HOME% -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%\logs\stderr.log I wanted to see the GC ouput, so, I added the -verbose:gc flag. When I see the registry, I can see this has gone in as a JVM option. But in the log file, I cannot see any GC output at all. When I try the -verbose:gc in the console mode(putting it in the catalina.bat file), I can see the GC output on the console. Am I doing it correctly? If not, what am I doing wrong? Thanks -Manoj Pooleery. - 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 - Win2k service - GC output
Hi, I searched the entire system for .gc files, but couldn't find any. Now the question is, where is Tomcat outputting the gc log? Thanks -Manoj Pooleery. -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:22 AM To: Tomcat Users List Subject: RE: Tomcat - Win2k service - GC output Greetings. OK, well I believe that the output from the -verbose:gc flag in 1.3 will write to a .gc file in your [windows]\system32 dirctory - although I am not certain about this. DO a system whide search for a .gc file on your server - the output does not go to the normal log output file(s). Carl -Original Message- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 05:21 PM To: 'Tomcat Users List' Subject: RE: Tomcat - Win2k service - GC output Hi, Thank you for the quick response. I'm using jdk 1.3.1_05 and hence I cannot use -Xloggc option. Thanks -Manoj Pooleery. -Original Message- From: Carl Olivier [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 11:17 AM To: Tomcat Users List Subject: RE: Tomcat - Win2k service - GC output Hi. If you are using JSDK 1.4.x use the following VM flag: -Xloggc:normal.gc This will create and write GC log entries to the following location on your windows server: [WINDOWS_SYSTEM_DIR]\system32\normal.gc Regards, Carl -Original Message- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED] Sent: 15 July 2004 05:14 PM To: '[EMAIL PROTECTED]' Subject: Tomcat - Win2k service - GC output Hi, I have set up Tomcat 4.1.27 as a service on a Win2k machine using the following script - tomcat -install Apache Tomcat %JAVA_HOME%\jre\bin\server\jvm.dll -verbose:gc -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar -Djava.endorsed.dir=%CATALINA_HOME%\common\endorsed -Dsun.io.useCanonCaches=false -Dcatalina.home=%CATALINA_HOME% -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%\logs\stderr.log I wanted to see the GC ouput, so, I added the -verbose:gc flag. When I see the registry, I can see this has gone in as a JVM option. But in the log file, I cannot see any GC output at all. When I try the -verbose:gc in the console mode(putting it in the catalina.bat file), I can see the GC output on the console. Am I doing it correctly? If not, what am I doing wrong? Thanks -Manoj Pooleery. - 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]
Running Tomcat as service on Win2003 Server
Hello, I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server with IIS 6. The service will start and stop right away. Looking into the event viewer, the log indicated that Tomcat failed to start. Could anyone tell me what's wrong? We have the same version of Tomcat running fine on Win2K server. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: Running Tomcat as service on Win2003 Server
What version of Win2003 sever are you running, Standard, Web Edition? Web edition is made only to serve web pages. Some software won't even LOAD on it. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Bui, Bao-Ha D [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:03 AM To: 'Tomcat Users List' Subject: Running Tomcat as service on Win2003 Server Hello, I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server with IIS 6. The service will start and stop right away. Looking into the event viewer, the log indicated that Tomcat failed to start. Could anyone tell me what's wrong? We have the same version of Tomcat running fine on Win2K server. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running Tomcat as service on Win2003 Server
wha The actual limitations are max number of cpu's, disk size and memory, not applications. I have no issues with any type of program not loading on a web edition install of 2k3 over one of Standard or Enterprise 2k3. The error log that Tomcat generates is going to provide more information that the windows Event log. I have tomcat running on several 2k3 web editon servers just fine, yet they are running with apache and not IIS (they are running as services though). Can you provide some more info on your configuration to assist in troubleshooting? On Wed, 14 Jul 2004 12:25:04 -0500, Birt, Jeffrey [EMAIL PROTECTED] wrote: What version of Win2003 sever are you running, Standard, Web Edition? Web edition is made only to serve web pages. Some software won't even LOAD on it. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Bui, Bao-Ha D [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:03 AM To: 'Tomcat Users List' Subject: Running Tomcat as service on Win2003 Server Hello, I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server with IIS 6. The service will start and stop right away. Looking into the event viewer, the log indicated that Tomcat failed to start. Could anyone tell me what's wrong? We have the same version of Tomcat running fine on Win2K server. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - 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: Running Tomcat as service on Win2003 Server
Web Edition will not run any 'Enterprise' Applications (from MS at least). I've tried SQL 2000 with no luck. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Ty Mercer [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 2:50 PM To: Tomcat Users List Subject: Re: Running Tomcat as service on Win2003 Server wha The actual limitations are max number of cpu's, disk size and memory, not applications. I have no issues with any type of program not loading on a web edition install of 2k3 over one of Standard or Enterprise 2k3. The error log that Tomcat generates is going to provide more information that the windows Event log. I have tomcat running on several 2k3 web editon servers just fine, yet they are running with apache and not IIS (they are running as services though). Can you provide some more info on your configuration to assist in troubleshooting? On Wed, 14 Jul 2004 12:25:04 -0500, Birt, Jeffrey [EMAIL PROTECTED] wrote: What version of Win2003 sever are you running, Standard, Web Edition? Web edition is made only to serve web pages. Some software won't even LOAD on it. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Bui, Bao-Ha D [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:03 AM To: 'Tomcat Users List' Subject: Running Tomcat as service on Win2003 Server Hello, I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server with IIS 6. The service will start and stop right away. Looking into the event viewer, the log indicated that Tomcat failed to start. Could anyone tell me what's wrong? We have the same version of Tomcat running fine on Win2K server. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - 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]
Running Tomcat as service on Win2000 Server
Hello! Can anybody tell me how to run Tomcat 5.0.25 as a SERVICE on windows 2000 server? Please in step by step explanation... Thanks a lot!!! -Original Message- From: Birt, Jeffrey [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 5:28 AM To: Tomcat Users List Subject: RE: Running Tomcat as service on Win2003 Server Web Edition will not run any 'Enterprise' Applications (from MS at least). I've tried SQL 2000 with no luck. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Ty Mercer [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 2:50 PM To: Tomcat Users List Subject: Re: Running Tomcat as service on Win2003 Server wha The actual limitations are max number of cpu's, disk size and memory, not applications. I have no issues with any type of program not loading on a web edition install of 2k3 over one of Standard or Enterprise 2k3. The error log that Tomcat generates is going to provide more information that the windows Event log. I have tomcat running on several 2k3 web editon servers just fine, yet they are running with apache and not IIS (they are running as services though). Can you provide some more info on your configuration to assist in troubleshooting? On Wed, 14 Jul 2004 12:25:04 -0500, Birt, Jeffrey [EMAIL PROTECTED] wrote: What version of Win2003 sever are you running, Standard, Web Edition? Web edition is made only to serve web pages. Some software won't even LOAD on it. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Bui, Bao-Ha D [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:03 AM To: 'Tomcat Users List' Subject: Running Tomcat as service on Win2003 Server Hello, I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server with IIS 6. The service will start and stop right away. Looking into the event viewer, the log indicated that Tomcat failed to start. Could anyone tell me what's wrong? We have the same version of Tomcat running fine on Win2K server. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - 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: Running Tomcat as service on Win2003 Server
enterprise apps weren't being referred to. But since you mention it, guess i'll try to install sql when i get to the office in the morning On Wed, 14 Jul 2004 16:28:18 -0500, Birt, Jeffrey [EMAIL PROTECTED] wrote: Web Edition will not run any 'Enterprise' Applications (from MS at least). I've tried SQL 2000 with no luck. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Ty Mercer [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 2:50 PM To: Tomcat Users List Subject: Re: Running Tomcat as service on Win2003 Server wha The actual limitations are max number of cpu's, disk size and memory, not applications. I have no issues with any type of program not loading on a web edition install of 2k3 over one of Standard or Enterprise 2k3. The error log that Tomcat generates is going to provide more information that the windows Event log. I have tomcat running on several 2k3 web editon servers just fine, yet they are running with apache and not IIS (they are running as services though). Can you provide some more info on your configuration to assist in troubleshooting? On Wed, 14 Jul 2004 12:25:04 -0500, Birt, Jeffrey [EMAIL PROTECTED] wrote: What version of Win2003 sever are you running, Standard, Web Edition? Web edition is made only to serve web pages. Some software won't even LOAD on it. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Bui, Bao-Ha D [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:03 AM To: 'Tomcat Users List' Subject: Running Tomcat as service on Win2003 Server Hello, I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server with IIS 6. The service will start and stop right away. Looking into the event viewer, the log indicated that Tomcat failed to start. Could anyone tell me what's wrong? We have the same version of Tomcat running fine on Win2K server. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - 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: Running Tomcat as service on Win2000 Server
tomcat 5 has an installer option to install as a service, although it only sets it to auto instead of manual when you tick it. From the docs located at this page: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html Introduction Windows Installing Tomcat on Windows can be done easily using the Windows installer. Its interface and functionality is similar to other wizard based installers, with only a few items of interest. Installation as a service: Tomcat will be installed as a Windows NT/2k/XP service no matter what setting is selected. Using the checkbox on the component page sets the service as auto startup, so that Tomcat is automatically startup when Windows starts. For optimal security, the service should be affected a separate user, with reduced permissions (see the Windows Services administration tool and its documentation). Java location: The installer will use the registry or the JAVA_HOME environment variable to determine the base path of the JDK or a JRE. If only a JRE (or an incorrect path) is specified, Tomcat will run but will be unable to compile JSP pages at runtime. Either all webapps will need to be precompiled (this can be easily done using the Tomcat deployer), or the lib\tools.jar file from a JDK installation must be copied to the common\lib path of the Tomcat installation. Tray icon: When Tomcat is run as a service, there will not be any tray icon present when Tomcat is running. Note that when choosing to run Tomcat at the end of installation, the tray icon will be used even if Tomcat was installed as a service. The installer will create shortcuts allowing starting and configuring Tomcat. It is important to note that Tomcat administration web application can only be used when Tomcat is started. On Thu, 15 Jul 2004 12:14:54 +0800, Aris Javier [EMAIL PROTECTED] wrote: Hello! Can anybody tell me how to run Tomcat 5.0.25 as a SERVICE on windows 2000 server? Please in step by step explanation... Thanks a lot!!! -Original Message- From: Birt, Jeffrey [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 5:28 AM To: Tomcat Users List Subject: RE: Running Tomcat as service on Win2003 Server Web Edition will not run any 'Enterprise' Applications (from MS at least). I've tried SQL 2000 with no luck. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Ty Mercer [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 2:50 PM To: Tomcat Users List Subject: Re: Running Tomcat as service on Win2003 Server wha The actual limitations are max number of cpu's, disk size and memory, not applications. I have no issues with any type of program not loading on a web edition install of 2k3 over one of Standard or Enterprise 2k3. The error log that Tomcat generates is going to provide more information that the windows Event log. I have tomcat running on several 2k3 web editon servers just fine, yet they are running with apache and not IIS (they are running as services though). Can you provide some more info on your configuration to assist in troubleshooting? On Wed, 14 Jul 2004 12:25:04 -0500, Birt, Jeffrey [EMAIL PROTECTED] wrote: What version of Win2003 sever are you running, Standard, Web Edition? Web edition is made only to serve web pages. Some software won't even LOAD on it. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Bui, Bao-Ha D [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:03 AM To: 'Tomcat Users List' Subject: Running Tomcat as service on Win2003 Server Hello, I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server with IIS 6. The service will start and stop right away. Looking into the event viewer, the log indicated that Tomcat failed to start. Could anyone tell me what's wrong? We have the same version of Tomcat running fine on Win2K server. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail
Re: Running Tomcat as service on Win2000 Server
1. Download Tomcat 2. Unzip the archive to a directory 3. Set CATALINA_HOME 4. Open a command prompt and type... %CATALINA_HOME%\bin\service.bat [install | remove] 5. Open the services applet from the admin tools 6. Start the Apache Tomcat service Note that I've had to add JAVA_HOME/lib/tools.jar to the classpath (inside service.bat) in order for JSP compilation to work properly, but servlets should run fine with the stock service.bat. Jake At 12:14 PM 7/15/2004 +0800, you wrote: Hello! Can anybody tell me how to run Tomcat 5.0.25 as a SERVICE on windows 2000 server? Please in step by step explanation... Thanks a lot!!! -Original Message- From: Birt, Jeffrey [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 5:28 AM To: Tomcat Users List Subject: RE: Running Tomcat as service on Win2003 Server Web Edition will not run any 'Enterprise' Applications (from MS at least). I've tried SQL 2000 with no luck. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Ty Mercer [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 2:50 PM To: Tomcat Users List Subject: Re: Running Tomcat as service on Win2003 Server wha The actual limitations are max number of cpu's, disk size and memory, not applications. I have no issues with any type of program not loading on a web edition install of 2k3 over one of Standard or Enterprise 2k3. The error log that Tomcat generates is going to provide more information that the windows Event log. I have tomcat running on several 2k3 web editon servers just fine, yet they are running with apache and not IIS (they are running as services though). Can you provide some more info on your configuration to assist in troubleshooting? On Wed, 14 Jul 2004 12:25:04 -0500, Birt, Jeffrey [EMAIL PROTECTED] wrote: What version of Win2003 sever are you running, Standard, Web Edition? Web edition is made only to serve web pages. Some software won't even LOAD on it. Jeff Birt Electronics Engineer Integrated Systems Facility University of Missouri - Rolla 573.341.6058 -Original Message- From: Bui, Bao-Ha D [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 11:03 AM To: 'Tomcat Users List' Subject: Running Tomcat as service on Win2003 Server Hello, I am trying to set up Tomcat 4.0.2 to run as service on Win2003 server with IIS 6. The service will start and stop right away. Looking into the event viewer, the log indicated that Tomcat failed to start. Could anyone tell me what's wrong? We have the same version of Tomcat running fine on Win2K server. Thanks very much. Bao-Ha Dam Bui * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * - 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]
Tomcat windows service
Hi!! I installed tomcat 5.0.14(without the windows installer). It works great. I wanted to find out how to configure my tomcat instance as a windows service. I saw on some groups that tomcat.exe has to be used but did not find any documentation. I'd appreciate any help/useful links that can help me setup tomcat as windows service Thanks, Naga - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat windows service
Hello! It's included during installation period... you're prompted if you want to install tomcat as windows service... Check administrative tools - services... regards, aris -Original Message- From: Naga Viswanathan [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 6:17 AM To: '[EMAIL PROTECTED]' Subject: Tomcat windows service Hi!! I installed tomcat 5.0.14(without the windows installer). It works great. I wanted to find out how to configure my tomcat instance as a windows service. I saw on some groups that tomcat.exe has to be used but did not find any documentation. I'd appreciate any help/useful links that can help me setup tomcat as windows service Thanks, Naga - 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 windows service
Thanks for your reply. I did not use tomcat installer. I want to enable windows service option for my existing installation. regards. -Original Message- From: Aris Javier [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 5:16 PM To: Tomcat Users List Subject: RE: Tomcat windows service Hello! It's included during installation period... you're prompted if you want to install tomcat as windows service... Check administrative tools - services... regards, aris -Original Message- From: Naga Viswanathan [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 6:17 AM To: '[EMAIL PROTECTED]' Subject: Tomcat windows service Hi!! I installed tomcat 5.0.14(without the windows installer). It works great. I wanted to find out how to configure my tomcat instance as a windows service. I saw on some groups that tomcat.exe has to be used but did not find any documentation. I'd appreciate any help/useful links that can help me setup tomcat as windows service Thanks, Naga - 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]
Running Tomcat as Service Results DBCP Error
Hello! Just like to ask why is it that I always have dbcp error everytime i run tomcat as a service??? I have already declared System DSN but still dbcp error occurs... Help! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with tomcat 5.0.25 service
What do you mean by check the 'configure tomcat' part ? The service is using C:/Programme/Java/j2re1.4.2_04/lib/ext/sunjce_provider.jar while JAVA_HOME is C:\j2skd1.4.2_04 where can I change this for the service? James Sherwood wrote: If this is on a windows machine, check the 'configure tomcat' part and make sure its pointing to the same jvm as your %java_home% is - Original Message - From: Jens Kühnberger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 12:43 PM Subject: Problem with tomcat 5.0.25 service Hi, I got a problem with installing tomcat 5.0.25 as a service. When I run tomcat with the startup script (startup.bat) I don't have any problem. After installing the service (service.exe install) and running my application as a service, I get the following compilation error for every jsp page I want to run: 03.06.2004 17:25:43 org.apache.jasper.compiler.Compiler generateClass SCHWERWIEGEND: Javac exception Error running javac.exe compiler at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExtern alCompile(DefaultCompilerAdapter.java:452) at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal. java:44) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:942) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:378) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:463) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 74) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: CreateProcess: javac.exe -classpath C:\tomcat5025\bin\bootstrap.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\classes;C :\tomcat5025\webapps\ROOT\WEB-INF\lib\avalon-framework-cvs-20020806.jar;C:\t omcat5025\webapps\ROOT\WEB-INF\lib\batik.jar;C:\tomcat5025\webapps\ROOT\WEB- INF\lib\commons-beanutils.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons -collections.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-digester.jar ;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-lang.jar;C:\tomcat5025\webap ps\ROOT\WEB-INF\lib\commons-logging.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\l ib\commons-validator.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\fop.jar;C:\t omcat5025\webapps\ROOT\WEB-INF\lib\izmado.jar;C:\tomcat5025\webapps\ROOT\WEB -INF\lib\jakarta-oro.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\jakarta-rege xp-1.3.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\jdom.jar;C:\tomcat5025\web apps\ROOT\WEB-INF\lib\jstl.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib
Problem with tomcat 5.0.25 service
Hi, I got a problem with installing tomcat 5.0.25 as a service. When I run tomcat with the startup script (startup.bat) I don't have any problem. After installing the service (service.exe install) and running my application as a service, I get the following compilation error for every jsp page I want to run: 03.06.2004 17:25:43 org.apache.jasper.compiler.Compiler generateClass SCHWERWIEGEND: Javac exception Error running javac.exe compiler at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:452) at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:44) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:942) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:378) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:463) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: CreateProcess: javac.exe -classpath C:\tomcat5025\bin\bootstrap.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\classes;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\avalon-framework-cvs-20020806.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\batik.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-beanutils.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-collections.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-digester.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-lang.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-logging.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-validator.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\fop.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\izmado.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\jakarta-oro.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\jakarta-regexp-1.3.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\jdom.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\jstl.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\log4j.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\poi-2.5-final-20040302.jar;C:\tom? at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.init(Unknown Source) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
Re: Problem with tomcat 5.0.25 service
If this is on a windows machine, check the 'configure tomcat' part and make sure its pointing to the same jvm as your %java_home% is - Original Message - From: Jens Kühnberger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 12:43 PM Subject: Problem with tomcat 5.0.25 service Hi, I got a problem with installing tomcat 5.0.25 as a service. When I run tomcat with the startup script (startup.bat) I don't have any problem. After installing the service (service.exe install) and running my application as a service, I get the following compilation error for every jsp page I want to run: 03.06.2004 17:25:43 org.apache.jasper.compiler.Compiler generateClass SCHWERWIEGEND: Javac exception Error running javac.exe compiler at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExtern alCompile(DefaultCompilerAdapter.java:452) at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal. java:44) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:942) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:378) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:463) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 74) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: CreateProcess: javac.exe -classpath C:\tomcat5025\bin\bootstrap.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\classes;C :\tomcat5025\webapps\ROOT\WEB-INF\lib\avalon-framework-cvs-20020806.jar;C:\t omcat5025\webapps\ROOT\WEB-INF\lib\batik.jar;C:\tomcat5025\webapps\ROOT\WEB- INF\lib\commons-beanutils.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons -collections.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-digester.jar ;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\commons-lang.jar;C:\tomcat5025\webap ps\ROOT\WEB-INF\lib\commons-logging.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\l ib\commons-validator.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\fop.jar;C:\t omcat5025\webapps\ROOT\WEB-INF\lib\izmado.jar;C:\tomcat5025\webapps\ROOT\WEB -INF\lib\jakarta-oro.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\jakarta-rege xp-1.3.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\jdom.jar;C:\tomcat5025\web apps\ROOT\WEB-INF\lib\jstl.jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\log4j. jar;C:\tomcat5025\webapps\ROOT\WEB-INF\lib\poi-2.5-final-20040302.jar;C:\tom ? at java.lang.Win32Process.create(Native Method
Re: Problem with tomcat 5.0.25 service
I think this is because tools.jar isn't added to the classpath in the service.bat service installer file. I've modified mine to include this. See attached (renamed to service.txt to avoid being removed by filters). BTW, I've mentioned this a few times to the Tomcat developers with little response except that they'd think about it. I don't see how this is an optional thing to do since, without adding tools.jar to the classpath, jsp's simply won't compile when Tomcat is run under the service. Jake Quoting Jens Kühnberger [EMAIL PROTECTED]: Hi, I got a problem with installing tomcat 5.0.25 as a service. When I run tomcat with the startup script (startup.bat) I don't have any problem. After installing the service (service.exe install) and running my application as a service, I get the following compilation error for every jsp page I want to run: 03.06.2004 17:25:43 org.apache.jasper.compiler.Compiler generateClass SCHWERWIEGEND: Javac exception Error running javac.exe compiler at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:452) at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:44) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:942) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:378) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:463) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: CreateProcess: javac.exe -classpath
Starting Tomcat as service with VMWare
Hi everybody, in order to simulate a Tomcat-cluster, I've got VMWare running at my system (both host and virtual system are WinXP Pro), also running Tomcat 5.0.19 at the host system. I tried to install Tomcat at the virtual system, too, but failed: I can only start it via startup.bat - it opens a dosbox (command box) which shows the startup log and also all standard output messages, and my webapp works fine - exactly what it is supposed to do. But when I try to run Tomcat as a service, it cancels startup with errormessage Service not found. Is there something I forgot to configure, or is it just impossible to run Tomcat as a service with VMWare? If someone's got a hint, please let me know.. Thanks, Nicole PS: If someone could tell me how to run Tomcat not as a service and write output messages to standard output file instead of the command box, that would be of great help, too.. Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: registering Tomcat as service
Well, you can modify the service.bat or follow the instructions on the page I mentioned previously to change paramters from the command line. And, yes, I think this stuff is probably stored in the registry, although I haven't looked at the entries (haven't needed to). Some of the parameters documented for procrun aren't valid anymore with changes since that page was published which is why I recommended the GUI. Look in service.bat to see use of the latest parameters. Jake At 06:21 PM 5/28/2004 +0200, you wrote: Hi there. The GUI is not always going to be good for me as I need to make the change command line settings via my own web based server management interface. I assume that the app changes registry enties? Is there documentation on the registry entries? I could then make changes directly in the registry Carl -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: 28 May 2004 04:53 PM To: Tomcat Users List Subject: RE: registering Tomcat as service You can modify the service parameters via the GUI. See... http://jakarta.apache.org/commons/daemon/procrun.html Even though most of the instructions on that page are outdated, the information near the bottom of the page is still useful. In particular... Changing the Service Parameters from the GUI tomcat5w //ES//Tomcat5 That pops up a GUI where you can see all the parameters that are currently added to the service. Add/Remove as needed. Jake Quoting Carl Olivier [EMAIL PROTECTED]: Hi. On this subject - in the older Tomcat service executable (specifically jk_nt_service.exe for TC 3) the executable was pointed at a wrapper.properties file. This wrapper.properties provided the means to add new -X and -D properties to the executable without having to re-install the service as it was read in at start time. Is there any plan/chance that this could also be possible for the new tomcat5.exe? The main reason is if you wanted to change the -Xmx setting (as a good example) through code - it is a lot simpler to do this in a wrapper.properties and then simply restart the service - as opposed to removing the service and then re-installing it. Thanks in advance. Carl -Original Message- From: None None [mailto:[EMAIL PROTECTED] Sent: 28 May 2004 03:17 PM To: [EMAIL PROTECTED] Subject: RE: registering Tomcat as service Take a look in tomcat/bin. There is a service.bat file that can install and uninstall the service. Should do the trick for you. From: Paul Wallace [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: registering Tomcat as service Date: Fri, 28 May 2004 16:31:57 +1000 Hello, I installed Tomcat, formally run from the console. I am now trying to get it to run as a service. I have in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameter s: JVM Option Count REG_DWORD0X0004 (4) JVM Option Number 0 REG_SZ-Xms256m JVM Option Number 1 REG_SZ-Xmx512m JVM Option Number 2 REG_SZ -Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eCo mm e rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar JVM Option Number 3 REG_SZ -Dcatalina.home=C:\eCommerce\Tomcat-4.1.30 the paths are correct (JDK/Tomcat) but when I try to start Tomcat from the service window, I get a popup: The Tomcat Service on a Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service The service does not subsequently run. Now my service may not have any work to do, but I most certainly do. Any info is much appreciated. Paul. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ - 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]
registering Tomcat as service
Hello, I installed Tomcat, formally run from the console. I am now trying to get it to run as a service. I have in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters: JVM Option Count REG_DWORD0X0004 (4) JVM Option Number 0 REG_SZ-Xms256m JVM Option Number 1 REG_SZ-Xmx512m JVM Option Number 2 REG_SZ -Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eComme rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar JVM Option Number 3 REG_SZ -Dcatalina.home=C:\eCommerce\Tomcat-4.1.30 the paths are correct (JDK/Tomcat) but when I try to start Tomcat from the service window, I get a popup: The Tomcat Service on a Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service The service does not subsequently run. Now my service may not have any work to do, but I most certainly do. Any info is much appreciated. Paul.
RE: registering Tomcat as service
Take a look in tomcat/bin. There is a service.bat file that can install and uninstall the service. Should do the trick for you. From: Paul Wallace [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: registering Tomcat as service Date: Fri, 28 May 2004 16:31:57 +1000 Hello, I installed Tomcat, formally run from the console. I am now trying to get it to run as a service. I have in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters: JVM Option Count REG_DWORD0X0004 (4) JVM Option Number 0 REG_SZ-Xms256m JVM Option Number 1 REG_SZ-Xmx512m JVM Option Number 2 REG_SZ -Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eComme rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar JVM Option Number 3 REG_SZ -Dcatalina.home=C:\eCommerce\Tomcat-4.1.30 the paths are correct (JDK/Tomcat) but when I try to start Tomcat from the service window, I get a popup: The Tomcat Service on a Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service The service does not subsequently run. Now my service may not have any work to do, but I most certainly do. Any info is much appreciated. Paul. _ FREE pop-up blocking with the new MSN Toolbar get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: registering Tomcat as service
Hi. On this subject - in the older Tomcat service executable (specifically jk_nt_service.exe for TC 3) the executable was pointed at a wrapper.properties file. This wrapper.properties provided the means to add new -X and -D properties to the executable without having to re-install the service as it was read in at start time. Is there any plan/chance that this could also be possible for the new tomcat5.exe? The main reason is if you wanted to change the -Xmx setting (as a good example) through code - it is a lot simpler to do this in a wrapper.properties and then simply restart the service - as opposed to removing the service and then re-installing it. Thanks in advance. Carl -Original Message- From: None None [mailto:[EMAIL PROTECTED] Sent: 28 May 2004 03:17 PM To: [EMAIL PROTECTED] Subject: RE: registering Tomcat as service Take a look in tomcat/bin. There is a service.bat file that can install and uninstall the service. Should do the trick for you. From: Paul Wallace [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: registering Tomcat as service Date: Fri, 28 May 2004 16:31:57 +1000 Hello, I installed Tomcat, formally run from the console. I am now trying to get it to run as a service. I have in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters: JVM Option Count REG_DWORD0X0004 (4) JVM Option Number 0 REG_SZ-Xms256m JVM Option Number 1 REG_SZ-Xmx512m JVM Option Number 2 REG_SZ -Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eComm e rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar JVM Option Number 3 REG_SZ -Dcatalina.home=C:\eCommerce\Tomcat-4.1.30 the paths are correct (JDK/Tomcat) but when I try to start Tomcat from the service window, I get a popup: The Tomcat Service on a Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service The service does not subsequently run. Now my service may not have any work to do, but I most certainly do. Any info is much appreciated. Paul. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ - 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: registering Tomcat as service
You can modify the service parameters via the GUI. See... http://jakarta.apache.org/commons/daemon/procrun.html Even though most of the instructions on that page are outdated, the information near the bottom of the page is still useful. In particular... Changing the Service Parameters from the GUI tomcat5w //ES//Tomcat5 That pops up a GUI where you can see all the parameters that are currently added to the service. Add/Remove as needed. Jake Quoting Carl Olivier [EMAIL PROTECTED]: Hi. On this subject - in the older Tomcat service executable (specifically jk_nt_service.exe for TC 3) the executable was pointed at a wrapper.properties file. This wrapper.properties provided the means to add new -X and -D properties to the executable without having to re-install the service as it was read in at start time. Is there any plan/chance that this could also be possible for the new tomcat5.exe? The main reason is if you wanted to change the -Xmx setting (as a good example) through code - it is a lot simpler to do this in a wrapper.properties and then simply restart the service - as opposed to removing the service and then re-installing it. Thanks in advance. Carl -Original Message- From: None None [mailto:[EMAIL PROTECTED] Sent: 28 May 2004 03:17 PM To: [EMAIL PROTECTED] Subject: RE: registering Tomcat as service Take a look in tomcat/bin. There is a service.bat file that can install and uninstall the service. Should do the trick for you. From: Paul Wallace [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: registering Tomcat as service Date: Fri, 28 May 2004 16:31:57 +1000 Hello, I installed Tomcat, formally run from the console. I am now trying to get it to run as a service. I have in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameters: JVM Option Count REG_DWORD0X0004 (4) JVM Option Number 0 REG_SZ-Xms256m JVM Option Number 1 REG_SZ-Xmx512m JVM Option Number 2 REG_SZ -Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eComm e rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar JVM Option Number 3 REG_SZ -Dcatalina.home=C:\eCommerce\Tomcat-4.1.30 the paths are correct (JDK/Tomcat) but when I try to start Tomcat from the service window, I get a popup: The Tomcat Service on a Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service The service does not subsequently run. Now my service may not have any work to do, but I most certainly do. Any info is much appreciated. Paul. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ - 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: registering Tomcat as service
Hi there. The GUI is not always going to be good for me as I need to make the change command line settings via my own web based server management interface. I assume that the app changes registry enties? Is there documentation on the registry entries? I could then make changes directly in the registry Carl -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: 28 May 2004 04:53 PM To: Tomcat Users List Subject: RE: registering Tomcat as service You can modify the service parameters via the GUI. See... http://jakarta.apache.org/commons/daemon/procrun.html Even though most of the instructions on that page are outdated, the information near the bottom of the page is still useful. In particular... Changing the Service Parameters from the GUI tomcat5w //ES//Tomcat5 That pops up a GUI where you can see all the parameters that are currently added to the service. Add/Remove as needed. Jake Quoting Carl Olivier [EMAIL PROTECTED]: Hi. On this subject - in the older Tomcat service executable (specifically jk_nt_service.exe for TC 3) the executable was pointed at a wrapper.properties file. This wrapper.properties provided the means to add new -X and -D properties to the executable without having to re-install the service as it was read in at start time. Is there any plan/chance that this could also be possible for the new tomcat5.exe? The main reason is if you wanted to change the -Xmx setting (as a good example) through code - it is a lot simpler to do this in a wrapper.properties and then simply restart the service - as opposed to removing the service and then re-installing it. Thanks in advance. Carl -Original Message- From: None None [mailto:[EMAIL PROTECTED] Sent: 28 May 2004 03:17 PM To: [EMAIL PROTECTED] Subject: RE: registering Tomcat as service Take a look in tomcat/bin. There is a service.bat file that can install and uninstall the service. Should do the trick for you. From: Paul Wallace [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: registering Tomcat as service Date: Fri, 28 May 2004 16:31:57 +1000 Hello, I installed Tomcat, formally run from the console. I am now trying to get it to run as a service. I have in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat\Parameter s: JVM Option Count REG_DWORD0X0004 (4) JVM Option Number 0 REG_SZ-Xms256m JVM Option Number 1 REG_SZ-Xmx512m JVM Option Number 2 REG_SZ -Djava.class.path=C:\eCommerce\Tomcat-4.1.30\bin\bootstrap.jar;C:\eCo mm e rce\Tomcat-4.1.30\common\lib\servlet.jar;C:\j2sdk1.4.2_04\lib\tools.jar JVM Option Number 3 REG_SZ -Dcatalina.home=C:\eCommerce\Tomcat-4.1.30 the paths are correct (JDK/Tomcat) but when I try to start Tomcat from the service window, I get a popup: The Tomcat Service on a Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service The service does not subsequently run. Now my service may not have any work to do, but I most certainly do. Any info is much appreciated. Paul. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ - 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]
tomcat -install SERVICE-NAME problem with tomcat-5.0.19
Hi, in tomcat-4.1.30, I could use tomcat -install (and -uninstall) SERVICE-NAME to install/deinstall a service. The same command seems to do nothing with tomcat-5.0.19. Has the syntax changed or what is the problem? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.0.24 Service Install Syntax
Hi Tomcat gurus: I've read carefully service.bat from Tomcat 5.0.19 and Apache Commons Daemon, and built a customized script for Windows 2000. But service installation syntax changed in Tomcat 5.0.24. I could'n find any new explanation in Commons Daemon page. I've observed tomcat.exe has changed to tomcat5.exe too. Can anybody send me any hint ? I need customize the serice installation script. Thanks in Advance. Hector./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.0.24 Service Install Syntax
Quoting Hector Adolfo Alonso [EMAIL PROTECTED]: Hi Tomcat gurus: I've read carefully service.bat from Tomcat 5.0.19 and Apache Commons Daemon, and built a customized script for Windows 2000. But service installation syntax changed in Tomcat 5.0.24. I could'n find any new explanation in Commons Daemon page. I've observed tomcat.exe has changed to tomcat5.exe too. Can anybody send me any hint ? I need customize the serice installation script. Thanks in Advance. When you says service installation syntax changed in Tomcat 5.0.24, I'm not quite sure what you mean. You still just do... %CATALINA_HOME%\bin\service install The syntax of the service.bat file itself changed a bit, if that is what you mean. It should be relatively straightforward to customize. Just follow the pattern that is already there. I customize the script myself. Maybe that would help. I'm attaching it to this email renamed to .txt so it doesn't get filtered out. Jake Hector./ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]@echo off if %OS% == Windows_NT setlocal rem --- rem NT Service Install/Uninstall script rem rem Options rem installInstall the service using Tomcat5 as service name. remService is installed using default settings. rem remove Remove the service from the System. rem rem name(optional) If the second argument is present it is considered remto be new service name rem rem $Id: service.bat,v 1.5 2004/04/08 16:49:37 mturk Exp $ rem --- rem Guess CATALINA_HOME if not defined set CURRENT_DIR=%cd% if not %CATALINA_HOME% == goto gotHome set CATALINA_HOME=%cd% if exist %CATALINA_HOME%\bin\tomcat5.exe goto okHome rem CD to the upper dir cd .. set CATALINA_HOME=%cd% :gotHome if exist %CATALINA_HOME%\bin\tomcat5.exe goto okHome echo The tomcat.exe was not found... echo The CATALINA_HOME environment variable is not defined correctly. echo This environment variable is needed to run this program goto end :okHome if not %CATALINA_BASE% == goto gotBase set CATALINA_BASE=%CATALINA_HOME% :gotBase set EXECUTABLE=%CATALINA_HOME%\bin\tomcat5.exe rem Set default Service name set SERVICE_NAME=Tomcat5 if %1 == goto displayUsage if %2 == goto setServiceName set SERVICE_NAME=%2 :setServiceName if %1 == install goto doInstall if %1 == remove goto doRemove echo Unknown parameter %1 :displayUsage echo echo Usage: service.bat install/remove [service_name] goto end :doRemove rem Remove the service %EXECUTABLE% //DS//%SERVICE_NAME% echo The service '%SERVICE_NAME%' has been removed goto end :doInstall rem Install the service rem Use the environment variables as an exaple rem Each command line option is prefixed with PR_ set PR_DISPLAYNAME=Apache Tomcat set PR_DESCRIPTION=Apache Tomcat Server - http://jakarta.apache.org/tomcat set PR_INSTALL=%EXECUTABLE% set PR_LOGPATH=%CATALINA_HOME%\logs set PR_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar %EXECUTABLE% //IS//%SERVICE_NAME% --Jvm auto --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop rem Clear the environment variables. They are not needed any more. set PR_DISPLAYNAME= set PR_DESCRIPTION= set PR_INSTALL= set PR_LOGPATH= set PR_CLASSPATH= rem Set extra parameters %EXECUTABLE% //US//%SERVICE_NAME% --JvmOptions -Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed --StartMode jvm --StopMode jvm rem More extra parameters set PR_STDOUTPUT=%CATALINA_HOME%\logs\stdout.log set PR_STDERROR=%CATALINA_HOME%\logs\stderr.log set PR_STARTPATH=%CATALINA_HOME%\bin set PR_STOPPATH=%CATALINA_HOME%\bin %EXECUTABLE% //US//%SERVICE_NAME% ++JvmOptions -Djava.io.tmpdir=%CATALINA_BASE%\temp;-Dbuild.compiler.emacs=true;-Xrs echo The service '%SERVICE_NAME%' has been installed :end cd %CURRENT_DIR% - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.0.24 Service Install Syntax
Thanks Jacob: There is a paragraph in changelog.txt about Procrun 2 binaries. The Apache Commons Daemon page still does not reflect this change. I've found the sources in http://jakarta.apache.org/~mturk/procrun2M3.zip. There is no html documentation there, but reading the sources, I'm trying to find I'm looking for. Thanks for your time. Hector./ Jacob Kjome wrote: Hi Tomcat gurus: I've read carefully service.bat from Tomcat 5.0.19 and Apache Commons Daemon, and built a customized script for Windows 2000. But service installation syntax changed in Tomcat 5.0.24. I could'n find any new explanation in Commons Daemon page. I've observed tomcat.exe has changed to tomcat5.exe too. Can anybody send me any hint ? I need customize the serice installation script. Thanks in Advance. When you says service installation syntax changed in Tomcat 5.0.24, I'm not quite sure what you mean. You still just do... %CATALINA_HOME%\bin\service install The syntax of the service.bat file itself changed a bit, if that is what you mean. Yes, it is. It should be relatively straightforward to customize. Just follow the pattern that is already there. I customize the script myself. Maybe that would help. I'm attaching it to this email renamed to .txt so it doesn't get filtered out. Jake
Tomcat 4.0.6 service startup error
I'm receiving the following startup error for the Tomcat 4.0.6. It's loaded but just not starting either set up as a service or manual startup. This is the stdout.log file. Create Catalina server Exception during startup processing java.lang.ClassNotFoundException: org.apache.catalina.startup.CatalinaService at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1127) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:992) at org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:397) Any ideas where to start looking? My jarkarta virtual directory has a Not loaded status but it has priortiy high and green arrow pointing down. It's also set for executable access. Thank you, Roger Houston,TX - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat as service
I am running Tomcat 4.0.3 on a W2K A/S server as a service. I want to increase the heap size. How do I pass the parameters or which file do I modify to pass the parameters to do this when running Tomcat as a Service. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat windows service
You need to set the ImagePath variable in the service parameters and re-install the service. -Original Message- From: John MccLain [mailto:[EMAIL PROTECTED] Sent: 23 March 2004 03:06 AM To: Tomcat user list Subject: Tomcat windows service How do I set the classpath for Tomcat when it runs as a service? I can do it in setclasspath.bat when I run it stand-alone, but this is not what I want to do - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** Everything in this e-mail and attachments relating to the official business of MultiChoice Africa is proprietary to the company. Any view or opinion expressed in this message may be the view of the individual and should not automatically be ascribed to the company. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify the sender immediately by email, facsimile or telephone and destroy the original message. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat windows service
How do I set the classpath for Tomcat when it runs as a service? I can do it in setclasspath.bat when I run it stand-alone, but this is not what I want to do - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat windows service
The service wrapper uses the value of the ImagePath as the classpath. The easiest way is to set it via the GUI, but you can also modify service.bat. John MccLain [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How do I set the classpath for Tomcat when it runs as a service? I can do it in setclasspath.bat when I run it stand-alone, but this is not what I want to do - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat hosting service in the UK?
Can anyone name a few good Tomcat hosting services based in the UK? Ie, the servers are residing in the UK. With MySQL as well. I can't seem to find any on the Internet. Thanks. __ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Nt Service Log
Hi all, I have install my tomcat 5.18 as a service NT with the parameter --Java C:\j2sdk1.4.2_03\jre\bin\client\jvm.dll and --StdOutputFile %CATALINA_HOME%\logs\stdout.log --StdErrorFile %CATALINA_HOME%\logs\stderr.log. %CATALINA_HOME% is correctly set When i start the service there is no log print into stdout.log why ??? When i use --Java java it's work. thanks a lot for your answer. Olivier.
The Tomcat(5.0.16) service does not start on Windows XP
Hi I'm having a tough time here trying to figure out why the Windows Service for Tomcat wont start. This is what I have done: 1) I've downloaded Tomcat 5.0.16, and unzipped the files into a directory, (E:\tomcat_test\). 2) I have also installed the service according to the link: http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2 0service http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the% 20service I.e. with the following arguments E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5 --DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org; --ImagePath E:\tomcat_test\jakarta-tomcat -5.0.16\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt --StdErrorFile e:\err.txt --WorkingPath e:\tomcat_test\jakarta-tomcat-5.0.16\ 3) Launched Windows Services tool, and started it from there, but then it seems to start and then it exists 4) As an alternative I started it from the command line by using the command: E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw //GT//Tomcat5 Now this works, cause the process comes up and I am able to browse the http://localhost:8080 http://localhost:8080/ page with no trouble 5) And then I started it by using the command: e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw //GT//Tomcat5 Now this does NOT work I've been using both regmon and filemon to try and figure out what is happening. And this is my conclusion without a solution :-( So when I am running it from the command line, from the working directory it works fine. From the tools filemon and regmon I could see important differences between when it worked and when it did NOT work. The differences seems to be that the service is very dependent on the actual working directory, cause when it did not work it failed to find the entries below, whereas when it worked fine it used the proper path to these, NOT WORKING C:\Windows\system32\conf\catalina.properties C:\Windows\system32\common\classes C:\Windows\system32\common\endorsed C:\Windows\system32\common\lib WORKING E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib Any ideas, what is going wrong here? Regards Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: The Tomcat(5.0.16) service does not start on Windows XP
There should be something in Tomcat/logs/catalina.out to explain where the problem is. Or at least, try to start the service and see what's in the most recently written to logs in this directory. Robbie -Original Message- From: Tobias Eriksson [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 12:56 To: [EMAIL PROTECTED] Subject: The Tomcat(5.0.16) service does not start on Windows XP Hi I'm having a tough time here trying to figure out why the Windows Service for Tomcat wont start. This is what I have done: 1) I've downloaded Tomcat 5.0.16, and unzipped the files into a directory, (E:\tomcat_test\). 2) I have also installed the service according to the link: http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2 0service http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the% 20service I.e. with the following arguments E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5 --DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org; --ImagePath E:\tomcat_test\jakarta-tomcat -5.0.16\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt --StdErrorFile e:\err.txt --WorkingPath e:\tomcat_test\jakarta-tomcat-5.0.16\ 3) Launched Windows Services tool, and started it from there, but then it seems to start and then it exists 4) As an alternative I started it from the command line by using the command: E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw //GT//Tomcat5 Now this works, cause the process comes up and I am able to browse the http://localhost:8080 http://localhost:8080/ page with no trouble 5) And then I started it by using the command: e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw //GT//Tomcat5 Now this does NOT work I've been using both regmon and filemon to try and figure out what is happening. And this is my conclusion without a solution :-( So when I am running it from the command line, from the working directory it works fine. From the tools filemon and regmon I could see important differences between when it worked and when it did NOT work. The differences seems to be that the service is very dependent on the actual working directory, cause when it did not work it failed to find the entries below, whereas when it worked fine it used the proper path to these, NOT WORKING C:\Windows\system32\conf\catalina.properties C:\Windows\system32\common\classes C:\Windows\system32\common\endorsed C:\Windows\system32\common\lib WORKING E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib Any ideas, what is going wrong here? Regards Tobias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: The Tomcat(5.0.16) service does not start on Windows XP
Hi Robbie, Problem is that none of the logs stderr,stdout and the one in the c:\jakarta-service.log files contain anything, they are created but nothing is written to them... /Tobias -Original Message- From: Robbie Baldock [mailto:[EMAIL PROTECTED] Sent: den 21 januari 2004 13:58 To: 'Tomcat Users List' Subject: RE: The Tomcat(5.0.16) service does not start on Windows XP There should be something in Tomcat/logs/catalina.out to explain where the problem is. Or at least, try to start the service and see what's in the most recently written to logs in this directory. Robbie -Original Message- From: Tobias Eriksson [mailto:[EMAIL PROTECTED] Sent: 21 January 2004 12:56 To: [EMAIL PROTECTED] Subject: The Tomcat(5.0.16) service does not start on Windows XP Hi I'm having a tough time here trying to figure out why the Windows Service for Tomcat wont start. This is what I have done: 1) I've downloaded Tomcat 5.0.16, and unzipped the files into a directory, (E:\tomcat_test\). 2) I have also installed the service according to the link: http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2 0service http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the% 20service I.e. with the following arguments E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5 --DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org; --ImagePath E:\tomcat_test\jakarta-tomcat -5.0.16\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt --StdErrorFile e:\err.txt --WorkingPath e:\tomcat_test\jakarta-tomcat-5.0.16\ 3) Launched Windows Services tool, and started it from there, but then it seems to start and then it exists 4) As an alternative I started it from the command line by using the command: E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw //GT//Tomcat5 Now this works, cause the process comes up and I am able to browse the http://localhost:8080 http://localhost:8080/ page with no trouble 5) And then I started it by using the command: e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw //GT//Tomcat5 Now this does NOT work I've been using both regmon and filemon to try and figure out what is happening. And this is my conclusion without a solution :-( So when I am running it from the command line, from the working directory it works fine. From the tools filemon and regmon I could see important differences between when it worked and when it did NOT work. The differences seems to be that the service is very dependent on the actual working directory, cause when it did not work it failed to find the entries below, whereas when it worked fine it used the proper path to these, NOT WORKING C:\Windows\system32\conf\catalina.properties C:\Windows\system32\common\classes C:\Windows\system32\common\endorsed C:\Windows\system32\common\lib WORKING E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib Any ideas, what is going wrong here? Regards Tobias - 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: The Tomcat(5.0.16) service does not start on Windows XP
Grab the latest Tomcat-5.0.18 and use the CATALINA_HOME/bin/service.bat. You might need to add JAVA_HOME/lib/tools.jar to the ImagePath in order to get JSP compiling, but otherwise it will work for you. Just type: service install Jake Quoting Tobias Eriksson [EMAIL PROTECTED]: Hi I'm having a tough time here trying to figure out why the Windows Service for Tomcat wont start. This is what I have done: 1) I've downloaded Tomcat 5.0.16, and unzipped the files into a directory, (E:\tomcat_test\). 2) I have also installed the service according to the link: http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the%2 0service http://jakarta.apache.org/commons/daemon/procrun.html#Installing%20the% 20service I.e. with the following arguments E:\tomcat_test\jakarta-tomcat-5.0.16.\bin\tomcat //IS//Tomcat5 --DisplayName Tomcat 5.0.12 --Description Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org; --ImagePath E:\tomcat_test\jakarta-tomcat -5.0.16\bin\bootstrap.jar --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java C:\j2sdk1.4.2\jre\bin\client\jvm.dll --StdOutputFile e:\log.txt --StdErrorFile e:\err.txt --WorkingPath e:\tomcat_test\jakarta-tomcat-5.0.16\ 3) Launched Windows Services tool, and started it from there, but then it seems to start and then it exists 4) As an alternative I started it from the command line by using the command: E:\tomcat_test\jakarta-tomcat -5.0.16.\bin\tomcatw //GT//Tomcat5 Now this works, cause the process comes up and I am able to browse the http://localhost:8080 http://localhost:8080/ page with no trouble 5) And then I started it by using the command: e:\temp\tomcat_test\jakarta-tomcat -5.0.16\bin\tomcatw //GT//Tomcat5 Now this does NOT work I've been using both regmon and filemon to try and figure out what is happening. And this is my conclusion without a solution :-( So when I am running it from the command line, from the working directory it works fine. From the tools filemon and regmon I could see important differences between when it worked and when it did NOT work. The differences seems to be that the service is very dependent on the actual working directory, cause when it did not work it failed to find the entries below, whereas when it worked fine it used the proper path to these, NOT WORKING C:\Windows\system32\conf\catalina.properties C:\Windows\system32\common\classes C:\Windows\system32\common\endorsed C:\Windows\system32\common\lib WORKING E:\tomcat_test\jakarta-tomcat-5.0.16\catalina.properties E:\tomcat_test\jakarta-tomcat-5.0.16\common\classes E:\tomcat_test\jakarta-tomcat-5.0.16\common\endorsed E:\tomcat_test\jakarta-tomcat-5.0.16\common\lib Any ideas, what is going wrong here? Regards Tobias - 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]
Good Tomcat hosting service?
Can anyone recommend a good Tomcat hosting service? Preferably in Europe, but if the service/price is good, I might go for a USA based one as well. Tomcat 4.1.x and MySQL 4.0.x must be provided. And I preferably want multiple databases and be able to run a number of web-apps. I've tried google searches, but its just impossible to make a choice, so I'd like to hear from people here who have actual experience. Thanks. __ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Good Tomcat hosting service?
I've had good luck with AssortedInternet. They provide both MySql and Postgresql. Just recently, they've upgraded Tomcat service to give each user their own Tomcat instance with complete access to the files in the config dir. They don't have phone support but they do get back to you pretty quickly via email support. On Monday 05 January 2004 10:01 am, Riaan Oberholzer wrote: Can anyone recommend a good Tomcat hosting service? Preferably in Europe, but if the service/price is good, I might go for a USA based one as well. Tomcat 4.1.x and MySQL 4.0.x must be provided. And I preferably want multiple databases and be able to run a number of web-apps. I've tried google searches, but its just impossible to make a choice, so I'd like to hear from people here who have actual experience. Thanks. __ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison Company, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Good Tomcat hosting service?
I am happy with hostingjava.com (no problem to get multiple db) Or in Canada with kgbinternet.com (good value for price) Benoit Marchal Director NovaXon BV Tel: +31 43 356 14 60 Fax: +31 43 356 14 61 -Original Message- From: Riaan Oberholzer [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 4:02 PM To: [EMAIL PROTECTED] Subject: Good Tomcat hosting service? Can anyone recommend a good Tomcat hosting service? Preferably in Europe, but if the service/price is good, I might go for a USA based one as well. Tomcat 4.1.x and MySQL 4.0.x must be provided. And I preferably want multiple databases and be able to run a number of web-apps. I've tried google searches, but its just impossible to make a choice, so I'd like to hear from people here who have actual experience. Thanks. __ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5 Service Fails on Windows 2000
I downloaded the Tomcat 5.0.16.exe binary (with installer) and installed it on my Window XP Pro workstation at home. It installed, started, and runs just fine. I then tried to do the same thing on my Windows 2000 workstation at work. The install completed without an error. However, attempting to start it from the Windows Service applet produces a message from Windows that Could not start the service ... The service did not return an error The Stderr.log and Stdout.log logs created at installation time are still empty. There is nothing in the Event Viewer with than a warning that W32Time couldn't find a Domain Controller. Tomcat 5.0.16 is installed and runs standalone on this machine just fine, however that standalone version was not running when the service installation took place. Any ideas? Merrill Cornish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]