Posted on 06-06-2012 06:57 AM
I am running Casper 8.52 on a Windows Server 2008 R2 OS. A Java update was accidently pushed to the server and the machine has Java 7 update 4 installed. As a result Tomcat 7 will not start and the JSS Web application is inaccessible from a web browser. I tried uninstalling Java 7 update 4 but I am still unable to start the Apache Tomcat7 service. I get a vendor error code 0 when I attempt to start the service. Any ideas of a fix so that I can start the TomCat 7 service? Thank you for any assistance that you can provide.
Posted on 06-06-2012 08:08 AM
Yank out Java completely and install the original version you setup the JSS with. Then go walk over to someones desk and smack them on the knuckles.
Posted on 06-06-2012 08:21 AM
Jared,
Thanks for your response. I uninstalled Java 7 update 4. Java 6 update 30 is only Java installed on the Windows Server 2008 R2 machine. Apache TomCat 7 will still not start. Is there an alternate way to try to start the Apache Tomcat 7 service? Without that service started we cannot access the JSS Web App Utility via web browser.
Posted on 06-06-2012 08:50 AM
How are you (re)starting it? From services.msc?
Posted on 06-06-2012 08:53 AM
Yes. I also tried it from the command line with no luck.
Posted on 06-06-2012 09:14 AM
What's the system logs?
Posted on 02-01-2013 01:25 PM
Make sure you copy JCE local_policy.jar and US_export_policy.jar to the c:Program FilesJavaJre7libsecurity directory.
Posted on 04-25-2016 12:01 AM
Old thread but might as well post as this was the entry that appeard when "googling".
I too uninstalled the old Java and updated to the newest, the Apache service didn't start.
What I did was to open the tomcat settings application and change the "Java Virtual Machine" path to the updated version and now it works again, with new Java.
Posted on 04-25-2016 09:28 AM
@rskolden, can you elaborate a bit more on the "Tomcat Settings Application"? I am running into this issue as well and looking to change the Java VM path
Posted on 04-25-2016 09:48 AM
See if this post helps:
https://jamfnation.jamfsoftware.com/discussion.html?id=17199
The posts on 10/4 from talkingmoose and Aziz helped me figure this out once upon a time....
Posted on 04-28-2016 01:21 AM
Posted on 08-09-2016 07:05 AM
@rskolden Thanks for posting this fix. Just upgraded my JSS to 9.93 and ran into this problem. Worked like a charm.
Posted on 07-14-2017 10:53 AM
This also worked for me, thanks! On JSS 9.99 and the Tomcat 8 service would not start after a JRE update to 8u131. I updated the JRE_Home Environment variable and replaced the JCE Policy files... but also needed to fix the Tomcat 8 Java Virtual Machine path as indicated above. Cheers @rskolden !
Posted on 01-21-2018 08:03 PM
Confirmed needed to update this on my JSS as well after removing existing older versions of Java and updating to Latest. Great tip!
Posted on 06-07-2018 07:20 AM
Just ran into this issue as well with version 10.4.1, once I updated the path for the Java virtual machine, it worked like a charm. Thanks @rskolden