Re: which JRE is Tomcat using?
That helped! Thanks! On 10/3/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: John Eric Hamacher [mailto:[EMAIL PROTECTED] Subject: which JRE is Tomcat using? I have two JREs on my system, a Java 5 distribution and a Java 6 distribution. How can I decipher which JRE my Tomcat service is running on? Use the Java tab of the tomcat5w.exe program to see what the service is using, assuming the Use default checkbox isn't set. If Use default is set, the choice of JVM depends on registry settings. You can see the level of the JRE in use on Tomcat's status page: http://hostname:port/manager/status - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John (Eric) Hamacher Java Developer Madison, Wisconsin (608)-334-9260
tomcat update service failing
The following command: tomcat5 //US//Apache Tomcat --Classpath=C:\Program Files\Java\jdk1.6.0_01\lib\tools.jar;C:\Tomcat 5.5\bin\bootstrap.jar gives me the following error: [410 prunsrv.c] [error] The system cannot find the file specified [1269 prunsrv.c][error] Load configuration failed Both the paths specified are correct. It fails even without the quotes. Any ideas? Thanks. -- John (Eric) Hamacher Java Developer Madison, Wisconsin (608)-334-9260
Re: tomcat update service failing
I'm trying to change the JRE the service is using. I cannot find service.baton my system. Is the part of Windows? Or Tomcat? How can I change the JRE using service.bat? Thanks. On 10/4/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: John Eric Hamacher [mailto:[EMAIL PROTECTED] Subject: tomcat update service failing The following command: tomcat5 //US//Apache Tomcat --Classpath=C:\Program Files\Java\jdk1.6.0_01\lib\tools.jar;C:\Tomcat 5.5\bin\bootstrap.jar Why are you trying to run the service installer manually? You should be using the script (service.bat), not rolling your own. Also, Tomcat 5.5 does not need tools.jar, nor should you be attempting to set CLASSPATH. I believe (not positive) that quotes need to be surround an entire field, not be embedded in it. Again, if you use the script, you won't have a problem. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John (Eric) Hamacher Java Developer Madison, Wisconsin (608)-334-9260
Re: tomcat update service failing
Thanks for your help. I am trying to upgrade Tomcat 5.5 from Java 5 to Java 6 but it didn't take: [2007-10-04 09:19:40] [174 javajni.c] [error] The specified module could not be found. [2007-10-04 09:19:40] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_01\jre\bin\server\jvm.dll [2007-10-04 09:19:40] [1202 prunsrv.c] [error] ServiceStart returned 1 On 10/4/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: John Eric Hamacher [mailto:[EMAIL PROTECTED] Subject: Re: tomcat update service failing I'm trying to change the JRE the service is using. I cannot find service.baton my system. The service.bat script is part of the .zip download, but for some unknown reason isn't included with the .exe package. If you've already got the service installed, then just use the Java tab of the tomcat5w.exe program to change the location of the JRE you want to use. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John (Eric) Hamacher Java Developer Madison, Wisconsin (608)-334-9260
Re: tomcat update service failing
I'm moving from 1.5.0_11 to 1.6.0_01, Tomcat version is 5.5.23. Thanks for all your suggestions. On 10/4/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: John Eric Hamacher [mailto:[EMAIL PROTECTED] Subject: Re: tomcat update service failing [2007-10-04 09:19:40] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_01\jre\bin\server\jvm.dll Spaces in directory and file names have been problematical; you might try one of the following: 1) change the JVM location in tomcat5w.exe to C:\Progra~1\Java\jdk1.6.0_01\jre\bin\server\jvm.dll 2) reinstall the JDK/JRE in a spaceless path, and update the JVM location correspondingly in tomcat5w.exe - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- John (Eric) Hamacher Java Developer Madison, Wisconsin (608)-334-9260
which JRE is Tomcat using?
Hello: I have two JREs on my system, a Java 5 distribution and a Java 6 distribution. How can I decipher which JRE my Tomcat service is running on? Is there a tomcat5.exe command I can use? Or does the setting reside in a configuration file within Tomcat? The reason for this question is that I want to change the JRE my Tomcat uses and I need a way to query Tomcat as to which JRE its using. Thanks. Eric -- John (Eric) Hamacher Java Developer Madison, Wisconsin (608)-334-9260