[opencms-dev] "The OpenCms setup wizard is still enabled" exception, during fresh installation
Enrico Ballarin Dolfin
enrico at sed.ethz.ch
Tue Mar 19 14:00:00 CET 2019
Hi Daniel,
thanks, I have replaced the *jaxws-api-2.1.jar* with *jaxws-api-2.3.1.jar*
and restarted tomcat8. Now I get the first OpenCms installation dialog.
Looking at the libraries inside {WEBAPP-HOME}/WEB-INF/lib/ I can see
following:
# ls -l opencms/WEB-INF/lib/ja*
-rw-r----- 1 tomcat8 tomcat8 89967 Dec 16 2014 opencms/WEB-INF/lib/jaxb-api-2.1.jar
-rw-r----- 1 tomcat8 tomcat8 866993 Dec 16 2014 opencms/WEB-INF/lib/jaxb-impl-2.1.11.jar
-rw-r----- 1 tomcat8 tomcat8 231882 Dec 16 2014 opencms/WEB-INF/lib/jaxen-1.1.6.jar
-rw-r----- 1 tomcat8 tomcat8 56615 Feb 5 09:31 opencms/WEB-INF/lib/jaxws-api-2.3.1.jar
-rw-r----- 1 tomcat8 tomcat8 1315332 Dec 16 2014 opencms/WEB-INF/lib/jaxws-rt-2.1.7.jar
-rw-r----- 1 tomcat8 tomcat8 654928 Feb 26 2015 opencms/WEB-INF/lib/jaybird-full-2.1.6.jar
There are a few other files having version 2.1 like e.g.
jaxws-rt-2.1.7.jar
The question is now, if I need also to replace them with newer ones
version 2.3 to be compatible with the now updated jaxws-api-2.3.1.jar,
before to install OpenCms.
What do you think?
Thanks,
Enrico
On 19.03.19 12:57, Daniel Seidel wrote:
>
> Hi Enrico,
>
> finally I tried to reproduce your setup ... and you're right: It's a
> compatibility problem. The catalina.out tells the reason:
>
> 19-Mar-2019 12:46:00.477 SEVERE [localhost-startStop-2]
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized
> WSSERVLET11: failed to parse runtime descriptor:
> java.lang.NoClassDefFoundError: javax/xml/ws/soap/Addressing
> java.lang.NoClassDefFoundError: javax/xml/ws/soap/Addressing
> at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.createBinding(DeploymentDescriptorParser.java:306)
> at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:243)
> at
> com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
> at
> com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4776)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5240)
> at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
> at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
> at
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1856)
> at
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.base/java.lang.Thread.run(Thread.java:844)
> Caused by: java.lang.ClassNotFoundException: javax.xml.ws.soap.Addressing
> at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1308)
> at
> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1136)
> ... 17 more
>
> OpenCms ships with a jaxws-api that seems to be incompatible. If you
> replace the corresponding jar with the latest version
> (jaxws-api-2.3.1.jar) the wizard starts ... but I don't know about
> probable side-effects.
>
> Best, Daniel.
>
> Am 19.03.19 um 12:21 schrieb Daniel Seidel:
>>
>> Hi Enrico,
>>
>> I haven't checked, but actually I don't think that it is a Tomcat
>> version problem, but I don't know a reason for the problem either. Do
>> you have any special configuration for tomcat on Ubuntu 18.04? Have
>> you tried to delete the "opencms/" folder and re-deploy it and check
>> again?
>>
>> Best, Daniel.
>>
>> Am 19.03.19 um 10:59 schrieb Enrico Ballarin Dolfin:
>>>
>>> Hi Daniel,
>>>
>>> could be the tomcat8 version the problem?
>>>
>>> On the Ubuntu 16.04 OpenCms installation, *tomcat8* has the version
>>> *8.0.32*
>>>
>>> On the Ubuntu 18.04 OpenCms installation, *tomcat8* has the version
>>> *8.5.30*
>>>
>>> Could be that starting from *tomcat 8.5* there are changes that are
>>> causing the problem?
>>>
>>> Thanks,
>>> Enrico
>>>
>>> On 19.03.19 10:47, Enrico Ballarin Dolfin wrote:
>>>>
>>>> Hi Daniel,
>>>>
>>>> no, I haven't put OpenCms as ROOT webapp.
>>>>
>>>> drwxr-x--- 6 tomcat8 tomcat8 4096 Mar 14 16:28 opencms/
>>>> -rw-r--r-- 1 root root 140450254 Jan 15 2016 opencms.war
>>>> drwxr-xr-x 3 root root 4096 Mar 6 11:06 ROOT/
>>>>
>>>> Actually, because I'm installing OpenCms on a virtual machine, I'm
>>>> using this URL
>>>>
>>>> http://<my-virtual-machine>:8080/opencms/setup
>>>>
>>>> and not localhost :-).
>>>>
>>>> Trying this URL
>>>>
>>>> http://<my-virtual-machine>:8080/setup
>>>>
>>>> doesn't work even.
>>>>
>>>> *Tomcat* version is *8.5.30*
>>>>
>>>> Thanks,
>>>> Enrico
>>>>
>>>> On 19.03.19 10:36, Daniel Seidel wrote:
>>>>>
>>>>> Hi Enrico,
>>>>>
>>>>> just re-read your first mail: My answers are not fitting to your
>>>>> problem, sorry. Did you put OpenCms as ROOT webapp? It looks like
>>>>> the URL http://localhost:8080/opencms/setup points not to the
>>>>> setup, but to the OpenCms servlet ... try without opencms in the URL.
>>>>>
>>>>> Best, Daniel
>>>>>
>>>>> Am 19.03.19 um 10:33 schrieb Daniel Seidel:
>>>>>>
>>>>>> Hi Enrico,
>>>>>>
>>>>>> then it's a database problem. Check your database setup. This
>>>>>> causes the trouble.
>>>>>>
>>>>>> Best, Daniel.
>>>>>>
>>>>>> Am 19.03.19 um 10:30 schrieb Enrico Ballarin Dolfin:
>>>>>>>
>>>>>>> Hi Daniel,
>>>>>>>
>>>>>>> the problem is that I cannot even start the OpenCms installation...
>>>>>>>
>>>>>>> http://localhost:8080/opencms/setup CANNOT be executed giving
>>>>>>> the first installation dialog, but http://localhost:8080/ tells
>>>>>>> that Tomcat is working.
>>>>>>>
>>>>>>> Changing {WEBAPP-HOME}/WEB-INF/config/opencms.properties and
>>>>>>> setting wizard.enabled to "false" doesn't work, because the
>>>>>>> initialization of the DB for OpenCms was not executed and
>>>>>>> returns the error "Unable to initialize connection pool "default" ".
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Enrico
>>>>>>>
>>>>>>> On 19.03.19 09:58, Daniel Seidel wrote:
>>>>>>>>
>>>>>>>> Hi Enrico,
>>>>>>>>
>>>>>>>> if the wizard is still enabled, it does not necessarily mean
>>>>>>>> that the installation fails. You might have done something else
>>>>>>>> during installation and returned back to the setup window too
>>>>>>>> late. You can just go to
>>>>>>>> {WEBAPP-HOME}/WEB-INF/config/opencms.properties and set
>>>>>>>> wizard.enabled to "false". This will probably work - unless
>>>>>>>> there's been a real issue.
>>>>>>>>
>>>>>>>> Best, Daniel.
>>>>>>>>
>>>>>>>> Am 19.03.19 um 09:43 schrieb Enrico Ballarin Dolfin:
>>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I can install successfully OpenCms 9.5.3 on Ubuntu 16.04,
>>>>>>>>> using tomcat8 and apache2.4, without having the "setup wizard
>>>>>>>>> enabled" exception.
>>>>>>>>>
>>>>>>>>> Why this?
>>>>>>>>>
>>>>>>>>> Are tomcat8 or OpenCms 9.5.3 using any Ubuntu 16.04 resource
>>>>>>>>> that is different in Ubuntu 18.04?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Enrico
>>>>>>>>>
>>>>>>>>> On 15.03.19 11:55, Enrico Ballarin Dolfin wrote:
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I'm trying to install OpenCms 9.5.3 on Ubuntu 18.04, using
>>>>>>>>>> tomcat8, apache2.4, java8 and postgresql 10.6.
>>>>>>>>>>
>>>>>>>>>> After having copied the 9.5.3 opencms.war on the
>>>>>>>>>> /var/lib/tomcat8/webapps directory, restarting tomcat8 the
>>>>>>>>>> opencms directory is getting extracted, but in the
>>>>>>>>>> opencms.log I'm getting an exception telling that the setup
>>>>>>>>>> wizard is still enabled !?
>>>>>>>>>>
>>>>>>>>>> To setup OpenCms I need to have the setup wizard enabled, but
>>>>>>>>>> tomcat8 start shutting down.
>>>>>>>>>>
>>>>>>>>>> So, I cannot run the setup URL
>>>>>>>>>> http://localhost:8080/opencms/setup
>>>>>>>>>>
>>>>>>>>>> Any idea what's wrong?
>>>>>>>>>>
>>>>>>>>>> Many thanks
>>>>>>>>>> Enrico
>>>>>>>>>>
>>>>>>>>>> 15 Mar 2019 11:13:30,933 INFO [ org.opencms.main.OpenCmsCore:2771] . Runlevel change : Switching from 1 to 2
>>>>>>>>>> 15 Mar 2019 11:13:30,937 ERROR [ org.opencms.main.OpenCmsCore: 358] Critical error during OpenCms initialization: The O
>>>>>>>>>> penCms setup wizard is still enabled.
>>>>>>>>>> org.opencms.main.CmsException: Critical error during OpenCms initialization: The OpenCms setup wizard is still enabled.
>>>>>>>>>> at org.opencms.main.OpenCmsCore.setErrorCondition(OpenCmsCore.java:358)
>>>>>>>>>> at org.opencms.main.CmsInitException.setErrorCondition(CmsInitException.java:113)
>>>>>>>>>> at org.opencms.main.CmsInitException.<init>(CmsInitException.java:70)
>>>>>>>>>> at org.opencms.main.CmsInitException.<init>(CmsInitException.java:56)
>>>>>>>>>> at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1456)
>>>>>>>>>> at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:2029)
>>>>>>>>>> at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:85)
>>>>>>>>>> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4776)
>>>>>>>>>> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5240)
>>>>>>>>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>>>>>>>>> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
>>>>>>>>>> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
>>>>>>>>>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
>>>>>>>>>> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
>>>>>>>>>> at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1856)
>>>>>>>>>> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>>>>>>>>>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>>>>>>>>>> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
>>>>>>>>>> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>>>>>>>>>> at java.base/java.lang.Thread.run(Thread.java:844)
>>>>>>>>>> 15 Mar 2019 11:13:30,938 ERROR [g.opencms.main.OpenCmsListener: 89] Critical error during OpenCms initialization: The OpenCms setup wizard is still enabled.
>>>>>>>>>> org.opencms.main.CmsInitException: Critical error during OpenCms initialization: The OpenCms setup wizard is still enabled.
>>>>>>>>>> at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1456)
>>>>>>>>>> at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:2029)
>>>>>>>>>> at org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:85)
>>>>>>>>>> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4776)
>>>>>>>>>> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5240)
>>>>>>>>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>>>>>>>>> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
>>>>>>>>>> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
>>>>>>>>>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
>>>>>>>>>> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:985)
>>>>>>>>>> at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1856)
>>>>>>>>>> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
>>>>>>>>>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>>>>>>>>>> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
>>>>>>>>>> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>>>>>>>>>> at java.base/java.lang.Thread.run(Thread.java:844)
>>>>>>>>>> 15 Mar 2019 11:13:31,069 INFO [.opencms.i18n.CmsLocaleManager: 376] . i18n configuration : the JVM default locale is "en_US"
>>>>>>>>>> 15 Mar 2019 11:13:31,070 INFO [ org.opencms.main.OpenCmsCore:1754] .
>>>>>>>>>> 15 Mar 2019 11:13:31,070 INFO [ org.opencms.main.OpenCmsCore:1755] .
>>>>>>>>>> 15 Mar 2019 11:13:31,071 INFO [ org.opencms.main.OpenCmsCore:1756] . ...............................................................
>>>>>>>>>> 15 Mar 2019 11:13:31,072 INFO [ org.opencms.main.OpenCmsCore:1757] . Performing shutdown : 9.5.3 [Release #705 ( - e3
>>>>>>>>>> --
>>>>>>>>>> Enrico Ballarin Dolfin
>>>>>>>>>>
>>>>>>>>>> Senior Application Developer
>>>>>>>>>>
>>>>>>>>>> Schweizerischer Erdbebendienst (SED)
>>>>>>>>>> Swiss Seismological Service
>>>>>>>>>> NO F67, Sonneggstrasse 5, CH-8092 Zürich
>>>>>>>>>>
>>>>>>>>>> Phone: +41 44 633 6625
>>>>>>>>>> Mail:enrico at sed.ethz.ch
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> This mail is sent to you from the opencms-dev mailing list
>>>>>>>>>> To change your list options, or to unsubscribe from the list, please visit
>>>>>>>>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Enrico Ballarin Dolfin
>>>>>>>>>
>>>>>>>>> Senior Application Developer
>>>>>>>>>
>>>>>>>>> Schweizerischer Erdbebendienst (SED)
>>>>>>>>> Swiss Seismological Service
>>>>>>>>> NO F67, Sonneggstrasse 5, CH-8092 Zürich
>>>>>>>>>
>>>>>>>>> Phone: +41 44 633 6625
>>>>>>>>> Mail:enrico at sed.ethz.ch
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> This mail is sent to you from the opencms-dev mailing list
>>>>>>>>> To change your list options, or to unsubscribe from the list, please visit
>>>>>>>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> --
>>>>>>>> Kind Regards,
>>>>>>>> Daniel.
>>>>>>>>
>>>>>>>> -------------------
>>>>>>>>
>>>>>>>> Daniel Seidel
>>>>>>>>
>>>>>>>> Alkacon Software GmbH & Co. KG - The OpenCms Experts
>>>>>>>> http://www.alkacon.com -http://www.opencms.org
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> This mail is sent to you from the opencms-dev mailing list
>>>>>>>> To change your list options, or to unsubscribe from the list, please visit
>>>>>>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> --
>>>>>>> Enrico Ballarin Dolfin
>>>>>>>
>>>>>>> Senior Application Developer
>>>>>>>
>>>>>>> Schweizerischer Erdbebendienst (SED)
>>>>>>> Swiss Seismological Service
>>>>>>> NO F67, Sonneggstrasse 5, CH-8092 Zürich
>>>>>>>
>>>>>>> Phone: +41 44 633 6625
>>>>>>> Mail:enrico at sed.ethz.ch
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> This mail is sent to you from the opencms-dev mailing list
>>>>>>> To change your list options, or to unsubscribe from the list, please visit
>>>>>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> Kind Regards,
>>>>>> Daniel.
>>>>>>
>>>>>> -------------------
>>>>>>
>>>>>> Daniel Seidel
>>>>>>
>>>>>> Alkacon Software GmbH & Co. KG - The OpenCms Experts
>>>>>> http://www.alkacon.com -http://www.opencms.org
>>>>>>
>>>>>> _______________________________________________
>>>>>> This mail is sent to you from the opencms-dev mailing list
>>>>>> To change your list options, or to unsubscribe from the list, please visit
>>>>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> Kind Regards,
>>>>> Daniel.
>>>>>
>>>>> -------------------
>>>>>
>>>>> Daniel Seidel
>>>>>
>>>>> Alkacon Software GmbH & Co. KG - The OpenCms Experts
>>>>> http://www.alkacon.com -http://www.opencms.org
>>>>>
>>>>> _______________________________________________
>>>>> This mail is sent to you from the opencms-dev mailing list
>>>>> To change your list options, or to unsubscribe from the list, please visit
>>>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>>>
>>>>>
>>>>>
>>>> --
>>>> Enrico Ballarin Dolfin
>>>>
>>>> Senior Application Developer
>>>>
>>>> Schweizerischer Erdbebendienst (SED)
>>>> Swiss Seismological Service
>>>> NO F67, Sonneggstrasse 5, CH-8092 Zürich
>>>>
>>>> Phone: +41 44 633 6625
>>>> Mail:enrico at sed.ethz.ch
>>>>
>>>> _______________________________________________
>>>> This mail is sent to you from the opencms-dev mailing list
>>>> To change your list options, or to unsubscribe from the list, please visit
>>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>>
>>>>
>>>>
>>> --
>>> Enrico Ballarin Dolfin
>>>
>>> Senior Application Developer
>>>
>>> Schweizerischer Erdbebendienst (SED)
>>> Swiss Seismological Service
>>> NO F67, Sonneggstrasse 5, CH-8092 Zürich
>>>
>>> Phone: +41 44 633 6625
>>> Mail:enrico at sed.ethz.ch
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please visit
>>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>>
>>>
>>>
>> --
>> Kind Regards,
>> Daniel.
>>
>> -------------------
>>
>> Daniel Seidel
>>
>> Alkacon Software GmbH & Co. KG - The OpenCms Experts
>> http://www.alkacon.com -http://www.opencms.org
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>>
>>
>>
> --
> Kind Regards,
> Daniel.
>
> -------------------
>
> Daniel Seidel
>
> Alkacon Software GmbH & Co. KG - The OpenCms Experts
> http://www.alkacon.com -http://www.opencms.org
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
--
Enrico Ballarin Dolfin
Senior Application Developer
Schweizerischer Erdbebendienst (SED)
Swiss Seismological Service
NO F67, Sonneggstrasse 5, CH-8092 Zürich
Phone: +41 44 633 6625
Mail: enrico at sed.ethz.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20190319/8f722260/attachment.htm>
More information about the opencms-dev
mailing list