introduction

2013年3月7日 星期四

Unable to start CMS after updating Java runtime

If the Java runtime autoupdate is not turned off, it will urge you to update from time to time. If you allow it, you may not be able to connect to the server next time you start CMS3. I think it is due to either the downloaded Java software's error or the alternation of certain path.

First you may try to start the Java console at the control panel. If it fails, you need to reinstall the Java runtime by downloading directly from java.com, not by autoupdate again. Sometimes it works and you may restart Apache Tomcat by: Rt click my computer, select Manage, then Service of Services and Applications.

However, if you still fail to start Tomcat and get the message below, you can try this:

   

Start the CMS3 (service) and display below error


1. Edit a JAVA_HOME environment
Right Click the "My Computer" ---> Properties---> select Advanced ---> Environment Variables



2. You must need to enter the java_home in system variables
 New ---> Variable name: JAVA_HOME
                  Variable value : (Select your java path) such as: C:\Program Files\Java\jdk1.6.0_13
    ---> Ok ---> Ok ---> Ok
3  In the Command Prompt
     Resinstall the CMS3 tomcat
     i.  sc delete cms3
    ii.  service install cms3
   iii.  sc start cms3

4  Restart CMS3 Client



                                                   
This is adopted from Q1 of the "Report Problem" section of the FAQ online. What I want to tell you is that the sevice install is not a windows command. It originates from the Service.bat of Tomcat. So in the command prompt, you need to change the directory to C:\Program files\CMS3\Tomcat\Bin before you can execute it.

沒有留言:

張貼留言