RE: tomcat update service failing

2007-10-04 Thread Caldarale, Charles R
 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]



RE: tomcat update service failing

2007-10-04 Thread Caldarale, Charles R
 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]



Re: tomcat update service failing

2007-10-04 Thread John Eric Hamacher
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

2007-10-04 Thread John Eric Hamacher
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

2007-10-04 Thread Mark Thomas
John Eric Hamacher wrote:
 Thanks for your help.  I am trying to upgrade Tomcat 5.5 from Java 5 to Java
 6 but it didn't take:

Which version? The first couple had an installer bug that meant a key
dll was missing. I believe this is fixed in the latest version.

Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat update service failing

2007-10-04 Thread Caldarale, Charles R
 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]



Re: tomcat update service failing

2007-10-04 Thread John Eric Hamacher
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