You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Russell Collins <Ru...@mclaneat.com> on 2009/08/19 16:57:33 UTC

Installing Tomcat 6.0.20

I am using JRockit 1.6.0_11 and I am trying to install Tomcat 6.0.20 using the windows installer that will install a windows service.  I have set my Java_home and path correctly because Eclipse runs just fine with the configuration.  When prompted for the JRE from tomcat, I put in every path I can think of (<JAVA_HOME>\bin, <JAVA_HOME>\lib, <JAVA_HOME>\jre\bin, <JAVA_HOME>\jre\lib, etc.) but I am still getting this error.  What do I need to do to get this to work?

Russell

RE: Installing Tomcat 6.0.20

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Russell Collins [mailto:Russell.Collins@mclaneat.com]
> Subject: RE: Installing Tomcat 6.0.20
> 
> Is there something that I am missing?

Maybe.  What does the tomcat6w.exe program show as the JVM location on its Java tab?

Also, what is the current structure of the JRockit JVM installation?  (I haven't looked at JRockit in several years.)  Is there some equivalent of Sun's jvm.dll?

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Installing Tomcat 6.0.20

Posted by Russell Collins <Ru...@mclaneat.com>.
I have tried the .zip file and I can start the tomcat server manually.  However, I am not able to successfully get the service working.  Here is what I have done.

- Using Vista 32bit
- Ran the service.bat command: "service.bat install"
- Service installs in the windows services.  
- When I start it, I get the " The Apache Tomcat 6 service terminated with service-specific error 0 (0x0)." Error.
- I checked some blogs, it said that I should copy the MSVCR71.DLL into the <tomcat dir>\bin directory
- I copied the DLL from the windows directory and tried the one from the Java directory, neither one worked.

Is there something that I am missing?



Russell Collins
Sr. Software Engineer
McLane Advanced Technology

"Do or do not, there is no try." - Yoda


-----Original Message-----
From: Russell Collins [mailto:Russell.Collins@mclaneat.com] 
Sent: Wednesday, August 19, 2009 10:49 AM
To: 'Tomcat Users List'
Subject: RE: Installing Tomcat 6.0.20

Ok, thanks.  I will try the zip



Russell Collins
Sr. Software Engineer
McLane Advanced Technology

"Do or do not, there is no try." - Yoda


-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Wednesday, August 19, 2009 10:32 AM
To: Tomcat Users List
Subject: RE: Installing Tomcat 6.0.20

> From: Russell Collins [mailto:Russell.Collins@mclaneat.com]
> Subject: RE: Installing Tomcat 6.0.20
> 
> One of the things that it says is to install Tomcat just
> like you would with Sun JVM, then update the property
> variables afterwards.  Would this approach work also?

Don't think so - once the service is installed, the property variables aren't used.  (I'm not sure if the .exe installer even looks at them, but the service.bat script does.)

Once the service is installed, you can change the location of the JVM it uses with the tomcat6w.exe program.

I much prefer the .zip download over the .exe because the .zip includes all the scripts, while the .exe doesn't.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Installing Tomcat 6.0.20

Posted by Russell Collins <Ru...@mclaneat.com>.
Ok, thanks.  I will try the zip



Russell Collins
Sr. Software Engineer
McLane Advanced Technology

"Do or do not, there is no try." - Yoda


-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Wednesday, August 19, 2009 10:32 AM
To: Tomcat Users List
Subject: RE: Installing Tomcat 6.0.20

> From: Russell Collins [mailto:Russell.Collins@mclaneat.com]
> Subject: RE: Installing Tomcat 6.0.20
> 
> One of the things that it says is to install Tomcat just
> like you would with Sun JVM, then update the property
> variables afterwards.  Would this approach work also?

Don't think so - once the service is installed, the property variables aren't used.  (I'm not sure if the .exe installer even looks at them, but the service.bat script does.)

Once the service is installed, you can change the location of the JVM it uses with the tomcat6w.exe program.

I much prefer the .zip download over the .exe because the .zip includes all the scripts, while the .exe doesn't.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Installing Tomcat 6.0.20

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Russell Collins [mailto:Russell.Collins@mclaneat.com]
> Subject: RE: Installing Tomcat 6.0.20
> 
> One of the things that it says is to install Tomcat just
> like you would with Sun JVM, then update the property
> variables afterwards.  Would this approach work also?

Don't think so - once the service is installed, the property variables aren't used.  (I'm not sure if the .exe installer even looks at them, but the service.bat script does.)

Once the service is installed, you can change the location of the JVM it uses with the tomcat6w.exe program.

I much prefer the .zip download over the .exe because the .zip includes all the scripts, while the .exe doesn't.

 - 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Installing Tomcat 6.0.20

Posted by Russell Collins <Ru...@mclaneat.com>.
I see.  I have been looking at some of the documentation about this and it seems as this is consistent.  One of the things that it says is to install Tomcat just like you would with Sun JVM, then update the property variables afterwards.  Would this approach work also?



Russell Collins
Sr. Software Engineer
McLane Advanced Technology

"Do or do not, there is no try." - Yoda

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Wednesday, August 19, 2009 10:02 AM
To: Tomcat Users List
Subject: RE: Installing Tomcat 6.0.20

> From: Russell Collins [mailto:Russell.Collins@mclaneat.com]
> Subject: Installing Tomcat 6.0.20
> 
> I am using JRockit 1.6.0_11 and I am trying to install Tomcat 6.0.20
> using the windows installer that will install a windows service.

That's probably not going to work real well, since the installer looks at the registry keys that the Sun JVM sets.  You might want to start over with the .zip download, then use the service.bat script with appropriate variables set to install the 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Installing Tomcat 6.0.20

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Russell Collins [mailto:Russell.Collins@mclaneat.com]
> Subject: Installing Tomcat 6.0.20
> 
> I am using JRockit 1.6.0_11 and I am trying to install Tomcat 6.0.20
> using the windows installer that will install a windows service.

That's probably not going to work real well, since the installer looks at the registry keys that the Sun JVM sets.  You might want to start over with the .zip download, then use the service.bat script with appropriate variables set to install the 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org