You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Eric Hamacher <ba...@gmail.com> on 2007/10/04 15:36:58 UTC
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
Posted by John Eric Hamacher <ba...@gmail.com>.
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 <Ch...@unisys.com> wrote:
>
> > From: John Eric Hamacher [mailto:badgerduke@gmail.com]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
John (Eric) Hamacher
Java Developer
Madison, Wisconsin
(608)-334-9260
RE: tomcat update service failing
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: John Eric Hamacher [mailto:badgerduke@gmail.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat update service failing
Posted by Mark Thomas <ma...@apache.org>.
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat update service failing
Posted by John Eric Hamacher <ba...@gmail.com>.
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 <Ch...@unisys.com> wrote:
>
> > From: John Eric Hamacher [mailto:badgerduke@gmail.com]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
John (Eric) Hamacher
Java Developer
Madison, Wisconsin
(608)-334-9260
RE: tomcat update service failing
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: John Eric Hamacher [mailto:badgerduke@gmail.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: tomcat update service failing
Posted by John Eric Hamacher <ba...@gmail.com>.
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 <Ch...@unisys.com> wrote:
>
> > From: John Eric Hamacher [mailto:badgerduke@gmail.com]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
--
John (Eric) Hamacher
Java Developer
Madison, Wisconsin
(608)-334-9260
RE: tomcat update service failing
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: John Eric Hamacher [mailto:badgerduke@gmail.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org