Nuxeo LTS 2021 failed to start. Starting process is taking too long giving up.

I am trying to setup Nuxeo LTS 2021. When I start the Nuxeo it took long time to start and after sometime Nuxeo gets closed automatically and this error displayed on console.

.Could not initialize the packaging subsystem org.nuxeo.launcher.NuxeoLauncherException: Starting process is taking too long - giving up.

    at org.nuxeo.launcher.NuxeoLauncher.waitForEffectiveStart(NuxeoLauncher.java:1799) ~[nuxeo-launcher-24580.jar:?]
    at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:1622) ~[nuxeo-launcher-24580.jar:?]
    at org.nuxeo.launcher.gui.NuxeoLauncherGUI.lambda$start$3(NuxeoLauncherGUI.java:265) ~[nuxeo-launcher-24580.jar:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
    at java.lang.Thread.run(Thread.java:829) [?:?]
FILES:   Nuxeo.png
2 votes

2 answers

904 views

ANSWER

Hello, same thing for me. I tried to edit log4j2.xml file in lib folder and change logger <Logger name="org.nuxeo" level="warn" /> to all to see all logs, but I can't find what operation takes too long. Regards.
08/25/2022

Hello, I am still facing the problem with LTS 2021 and not able to find any solution. Same templates and configuration were working fine with older version of nuxeo 2019 for me.
08/25/2022



Hello Gregory Carlin,

Here is the attached log files. It can be seen in the file that one component/Package is taking more than 4 mins in preprocess deployment.

0 votes



Hello,

According to your screenshot, it looks like you're loading a lot of configuration templates, and one of them is not found. So that might be the root reason. It would be better if you could copy paste the entire log trace. Have you tries to load the templates one by one and make sure they are loaded properly?

Also, maybe it's good to ask if all the prerequisites are OK. Make sure you have enough RAM / CPU (don't hesitate to monitor it) and make sure you're using the right JDK version.

Hope it helps

0 votes



Hello Gregory Carlin. Thanks for the reply. JDK version on my local machine is openjdk 11.0.15 2022-04-19 LTS. The templates are already loaded and everything was working fine in Nuxeo 2019. However in the logs i can see that nuxeo is taking almost 4 mins while doing some preprocessing deployments.
07/17/2022