Nuxeo startup problem, stuck cannot evaluate the product

I am new to nuxeo. I download the nuxeo-cap-5.7.3-tomcat.zip from download section. I have window xp environment with jdk1.7.0 I followed the steps mentioned at http://www.nuxeo.com/en/downloads/download-zip-ft?mtcEmail=&currenttime=1380743350 The server started the first time. I stop the server, but now it does not start the server, every time it gives below error. Also i tried to delete the nuxeo folder, to start fresh from zip and follow the steps again. First it not asking me for setup steps. So it seems nuxeo is storing this info some else outside the folder either in home directory but i am not to find that. How i uninstall or delete and start with clean slate. Second i get gives same below error.

Found NUXEO_CONF = C:\Download\nuxeo-cap-5.7.3-tomcat\bin\nuxeo.conf
Found in path : C:\JAVA_INSTALLATION\jdk1.7.0\bin\java.exe
Using JAVA = C:\JAVA_INSTALLATION\jdk1.7.0\bin\java.exe
1 file(s) copied.
C:\Download\nuxeo-cap-5.7.3-tomcat>"C:\JAVA_INSTALLATION\jdk1.7.0\bin\java.exe" -Dlauncher.java.opts=" -Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dg
.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true" -Dnuxeo.home="C:\Download\nuxeo
cap-5.7.3-tomcat" -Dnuxeo.conf="C:\Download\nuxeo-cap-5.7.3-tomcat\bin\nuxeo.conf" -Dnuxeo.log.dir="C:\Download\nuxeo-cap-5.7.3-tomcat\log" -Dlog.id="-Wed10
22013_15561707" -jar "C:\DOCUME~1\spatel\LOCALS~1\Temp\nuxeo-launcher-30418.jar" --gui=true start
Detected Tomcat server.
Nuxeo home: C:\Download\nuxeo-cap-5.7.3-tomcat
Nuxeo configuration: C:\Download\nuxeo-cap-5.7.3-tomcat\bin\nuxeo.conf
Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\common-base
Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\common
Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\default
No current configuration, generating files...
Configuration files generated.
Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\common-base
Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\common
Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\default
Exception in thread "NuxeoLauncherGUITask-2" java.lang.NullPointerException
at org.nuxeo.launcher.NuxeoLauncher.start(NuxeoLauncher.java:582)
at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:1328)
at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:1163)
at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:1129)
at org.nuxeo.launcher.gui.NuxeoLauncherGUI$5.run(NuxeoLauncherGUI.java:276)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
1 votes

2 answers

6401 views

ANSWER



Hi,

Can you try to start your server with this following starting command?

cd $NUXEO_HOME/bin (or C:\Programme Data if you used the exe installer)
nuxeoctl.bat --gui false console

If you have some information about Heap Space or memory thing, this may meaning that your JVM can't start as it can't find enough memory contiguous. So try to decrease the value allowed for the JVM. To do that, first try to set the JAVA_OPTS option with the following value in the Environment Variable management view:

-Xms1024m -Xmx1024m -XX:MaxPermSize=512m

Open a new Command line and check that JAVA_OPTS value is the one you set:

echo %JAVA_OPTS%

If it's not ok you can also temporally set the value into your console with this following command line:

set JAVA_OPTS=-Xms1024m -Xmx1024m -XX:MaxPermSize=512m

And then, try again to start the server. If you have again the message try to decrease again values set….

1 votes



May be a memory issue. Since this is Windows XP do you have 4GB of RAM? Maybe try to edit Nuxeo.conf and under java.opts sets -Xmx to 2048. Then try to restart the server.

Nuxeo will run on XP but memory is often a challenge.

0 votes



Thanks Bruce. Increasing the memory did not help, same error.

My 2 question. Also i tried to delete the nuxeo folder, to start fresh from zip and follow the steps again. First it not asking me for setup steps. So it seems nuxeo is storing this info somewhere else outside the folder either in home directory but i am not able to find that. How i uninstall or delete and start with clean slate. Second i get gives same below error.

Found NUXEO_CONF = C:\Download\nuxeo-cap-5.7.3-tomcat\bin\nuxeo.conf Found in path : C:\JAVA_INSTALLATION\jdk1.7.0\bin\java.exe Using JAVA = C:\JAVA_INSTALLATION\jdk1.7.0\bin\java.exe

    1 file(s) copied.

C:\Download\nuxeo-cap-5.7.3-tomcat>"C:\JAVA_INSTALLATION\jdk1.7.0\bin\java.exe" -Dlauncher.java.opts=" -Xms512m -Xmx2048m -XX:MaxPermSize=512m -Dsun.rmi.dgc .client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8 -Dmail.mime.decodeparameters=true" -Dnuxeo.home="C:\Download\nuxeo- cap-5.7.3-tomcat" -Dnuxeo.conf="C:\Download\nuxeo-cap-5.7.3-tomcat\bin\nuxeo.conf" -Dnuxeo.log.dir="C:\Download\nuxeo-cap-5.7.3-tomcat\log" -Dlog.id="-Thu100 32013_14242408" -jar "C:\DOCUME~1\spatel\LOCALS~1\Temp\nuxeo-launcher-32416.jar" –gui=true start Detected Tomcat server. Nuxeo home: C:\Download\nuxeo-cap-5.7.3-tomcat Nuxeo configuration: C:\Download\nuxeo-cap-5.7.3-tomcat\bin\nuxeo.conf Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\common-base Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\common Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\default No current configuration, generating files… Configuration files generated. Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\common-base Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\common Include template: C:\Download\nuxeo-cap-5.7.3-tomcat\templates\default Exception in thread "NuxeoLauncherGUITask-2" java.lang.NullPointerException

    at org.nuxeo.launcher.NuxeoLauncher.start(NuxeoLauncher.java:582)
    at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:1328)
    at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:1163)
    at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:1129)
    at org.nuxeo.launcher.gui.NuxeoLauncherGUI$5.run(NuxeoLauncherGUI.java:276)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)
10/03/2013