File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
stephen dunne
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20372
44
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for sharing the solution
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic