aspose file tools*
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
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: 19785
    
  20

Thanks for sharing the solution


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [solved] updated Java to J6_31, now Tomcat 7 does not start from services