Can't Start Nuxeo Platform
Hi,
I have been running the Nuxeo Platform for a couple of weeks but it won't start after a machine reboot.
I am running 5.9.3 locally on Windows 7 16GB Ram.
There are two errors I receive:
- When starting through Start Nuxeo.bat, I get the following output in the command window:
Found NUXEO_CONF = C:\ProgramData\Nuxeo\conf\nuxeo.conf Found in path : C:\Windows\System32\java.exe Using JAVA = C:\Windows\System32\java.exe
1 file(s) copied.
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Nuxeo>“C:\Windows\System32\ java.exe” -Dlauncher.java.opts=” -Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun. rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile .encoding=UTF-8 -Dmail.mime.decodeparameters=true -Djava.util.Arrays.useLegacy MergeSort=true” -Dnuxeo.home=“C:\Nuxeo” -Dnuxeo.conf=“C:\ProgramData\Nuxeo\conf\ nuxeo.conf” -Dnuxeo.log.dir=“C:/ProgramData/Nuxeo/logs” -Dlog.id=“-22042014_1155 2591” -jar “C:/ProgramData/Nuxeo/tmp\nuxeo-launcher-20940.jar” –gui=true start
Detected Tomcat server. Nuxeo home: C:\Nuxeo Nuxeo configuration: C:\ProgramData\Nuxeo\conf\nuxeo.conf Include template: C:\Nuxeo\templates\common-base Include template: C:\Nuxeo\templates\common Include template: C:\Nuxeo\templates\postgresql Include template: C:\Nuxeo\templates\drive Include template: C:\Nuxeo\templates\collaboration Include template: C:\Nuxeo\templates\dam Configuration files generation (nuxeo.force.generation=true)… Configuration files generated. Include template: C:\Nuxeo\templates\common-base Include template: C:\Nuxeo\templates\common Include template: C:\Nuxeo\templates\postgresql Include template: C:\Nuxeo\templates\drive Include template: C:\Nuxeo\templates\collaboration Include template: C:\Nuxeo\templates\dam Exception in thread “NuxeoLauncherGUITask-2” java.lang.NullPointerException
at org.nuxeo.launcher.NuxeoLauncher.start(NuxeoLauncher.java:598)
at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:1354)
at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:11
89)
at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:11
55)
at org.nuxeo.launcher.gui.NuxeoLauncherGUI$5.run(NuxeoLauncherGUI.java:2
77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
- When starting from the command line without the GUI, using nuxeoctl.bat –gui false. I get this error:
PS C:\nuxeo\bin> nuxeoctl.bat –gui false console Found NUXEO_CONF = C:\ProgramData\Nuxeo\conf\nuxeo.conf Found in path : C:\Windows\System32\java.exe Using JAVA = C:\Windows\System32\java.exe
1 file(s) copied.
C:\Nuxeo\bin>“C:\Windows\System32\java.exe” -Dlauncher.java.opts=” -Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dg c.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters= true -Djava.util.Arrays.useLegacyMergeSort=true” -Dnuxeo.home=“C:\Nuxeo” -Dnuxeo.conf=“C:\ProgramData\Nuxeo\conf\nuxeo. conf” -Dnuxeo.log.dir=“C:/ProgramData/Nuxeo/logs” -Dlog.id=“-22042014_11320551” -jar “C:/ProgramData/Nuxeo/tmp\nuxeo-lau ncher-16368.jar” –gui=false console Detected Tomcat server. Nuxeo home: C:\Nuxeo Nuxeo configuration: C:\ProgramData\Nuxeo\conf\nuxeo.conf Include template: C:\Nuxeo\templates\common-base Include template: C:\Nuxeo\templates\common Include template: C:\Nuxeo\templates\postgresql Include template: C:\Nuxeo\templates\drive Include template: C:\Nuxeo\templates\collaboration Include template: C:\Nuxeo\templates\dam Configuration files generation (nuxeo.force.generation=true)… Configuration files generated. java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:236)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:426)
PS C:\nuxeo\bin> nuxeoctl.bat Found NUXEO_CONF = C:\ProgramData\Nuxeo\conf\nuxeo.conf Found in path : C:\Windows\System32\java.exe Using JAVA = C:\Windows\System32\java.exe
1 file(s) copied.
Please can you advise what is going wrong on launch?
Thanks, Lynn
The exception is:
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
This is a standard class part of the standard Tomcat installation. Something is corrupted, you should compare the files with a freshly downloaded Nuxeo, or reinstall.
Thanks very much for this response. When I compared the C:\Nuxeo\lib folder on my machine to another, I was missing the tomact and catalina jar files. When I copied these over, the Nuxeo Platform started as expected.
Do you know what would have deleted these files? As it my local development machine, no-one else has had access to delete them.
Thanks, Lynn