• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for sharing the solution
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic