jQuery in Action, 2nd edition*
The moose likes Tomcat and the fly likes [solved] updated Java to J6_31, now Tomcat 7 does not start from services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "[solved] updated Java to J6_31, now Tomcat 7 does not start from services" Watch "[solved] updated Java to J6_31, now Tomcat 7 does not start from services" New topic
Author

[solved] updated Java to J6_31, now Tomcat 7 does not start from services

stephen dunne
Greenhorn

Joined: Apr 03, 2012
Posts: 1
Hi

I had a look at the FAQ's regarding changing the JDK in catalina.bat,
but the Tomcat ver 7 on this server was installed by .exe and therefore does not have .bat files in the tomcat/bin directory.

I ran the tomcat7w.exe from /bin/ and the

1. Jvm path is pointing to the correct java path on the system:
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll

2. Java Classpath points to the same bin files (as these didnt change, just the java , well not changed, but updated)
C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\bin\bootstrap.jar;C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\bin\tomcat-juli.jar

3. Java Options just seem to point to Tomcat 7.0 folders.

After the java update I can no longer start tomcat from services, I get the error :
Error 1067: The process terminated unexpectedly.

Do I need to reinstall tomcat, or can I find a way to start the service?

Thanks

Edit : Solved
The user managed to screw up the java update of the JRE. A JRE reinstall fixed the problem.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19541
    
  16

Thanks for sharing the solution


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: [solved] updated Java to J6_31, now Tomcat 7 does not start from services
 
Similar Threads
Tomcat installation
SOAP2.3.1-Configuration and application Error
Head First BeerSelect problems
Calling SalesForce platform from java code
how to install apache tomcat 5.5