<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Fr., 17. Juli 2020 um 09:10 Uhr schrieb Christoph Kukulies <<a href="mailto:kuku@physik.rwth-aachen.de">kuku@physik.rwth-aachen.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div style="color:rgb(0,0,0)">Hi Stephan,</div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">thanks. At this point I haven't gone through the setup. I haven't even invoked any piece of OpenCms at this point in time. I just started the container with the webapp (OpenCms, ROOT in this case)</div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">Even if you say this is normal - I understand the textual notification "<span style="font-variant-ligatures:no-common-ligatures">The OpenCms setup wizard is still enabled."</span> - I totally agree with that but on the other hand I totally disagree that it has to be accompanied with an ugly backtrace.</div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">It doesn't have to be that the first start of OpenCms is producing a java exeption with a backtrace. I'm with OpenCms for 20 years now :)</div><div style="color:rgb(0,0,0)">and  I believe this has been the case all the time, but it's time to change that.<br></div><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">As soon as I have time I will change that in the OpenCms source and supply a patch that suppresses this exception bomb</div><div style="color:rgb(0,0,0)">and answers gently. </div></div></blockquote><div><br></div><div>I'm totally with you! Go for it. </div><div><br></div><div>Another interesting feature in relation to setup is to have the AutoSetup start automatic, if the wizard ist enabled and a configuration file is provided somewhere. </div><div><a href="https://documentation.opencms.org/opencms-documentation/server-installation/installing-opencms/the-setup-script/">https://documentation.opencms.org/opencms-documentation/server-installation/installing-opencms/the-setup-script/</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div style="color:rgb(0,0,0)"><br></div><div style="color:rgb(0,0,0)">When you want to inspect the logs to see if everything has started fine there shouldn’t be the neccessity to wad through a long backtrace to finally find that</div><div style="color:rgb(0,0,0)">little text message.</div></div></blockquote><div><br></div><div>;)</div><div><br></div><div>Stephan</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><br></div>
<div>—</div><div>Christoph</div><div><br><blockquote type="cite"><div>Am 16.07.2020 um 20:42 schrieb Stephan Schrader <<a href="mailto:zstephanz@gmail.com" target="_blank">zstephanz@gmail.com</a>>:</div><br><div><div dir="ltr">Hi Christoph,<div><br></div><div>the exception is pretty much normal if you haven't gone through the setup. Did you do the setup?</div><div><br></div><div>Stephan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Do., 16. Juli 2020 um 19:00 Uhr schrieb Christoph Kukulies <<a href="mailto:kuku@physik.rwth-aachen.de" target="_blank">kuku@physik.rwth-aachen.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">I did a fresh installation of the opencms_11.0.1.zip,<div>downloaded it and deployed it as a ROOT webapp. This had worked all over the years. Only this time I would change the frontend server to haproxy rather than apache2.</div><div><br></div><div>But at the time I’m doing the installation I’m using tomcat 9 (I know 8.5 is only supported but I don’t think that this matters here)</div><div>I stop tomcat, copy the opencms.war to ROOT.war and start tomcat.</div><div><br></div><div>What is bugging me is an exception I get in tomcat/logs/localhost.log:</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">16-Jul-2020 18:20:15.693 SEVERE [main] org.apache.catalina.core.StandardContext.loadOnStartup Servlet [OpenCmsServlet] in web application [] threw load() exception</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"> javax.servlet.ServletException: Critical error during OpenCms initialization: The OpenCms setup wizard is still enabled.</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.opencms.main.OpenCmsServlet.init(OpenCmsServlet.java:261)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1124)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1079)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:971)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4829)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5143)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1858)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:772)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1585)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:969)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:944)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:261)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.startup.Catalina.start(Catalina.java:682)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at java.base/java.lang.reflect.Method.invoke(Method.java:566)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(121,255,159);background-color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">        </span><span style="font-variant-ligatures:no-common-ligatures">at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(0,0,0);min-height:13px"><br><span style="font-variant-ligatures:no-common-ligatures"></span></div></div></div></div></blockquote></div></div></blockquote></div><br></div>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
</blockquote></div></div>