[opencms-dev] [DKIM] Update from OpenCms 10.0.1 to 14.0 - wizard does not start.

Tobias Karrer kartobi at gmail.com
Thu Dec 15 09:33:21 CET 2022


Hi!

Thanks. I did everything as stated in readme.

I meanwhile found the problem: as we use build via gradle our libs 
contain the version in filename, e.g. 
org.opencms.workplace.administration-10.0.1.jar . So they hadn't been 
replaced by the ones from ugrade folder.
And then we're using -Dopencms.config for the path to configs which 
doesn't work. The upgrade wizard needs the xml config files in 
WEB-INF/config

The upgrade wizard run successfully now.

But when restarting the webapplication after deactivating the wizard, I 
get a CmsInitException:
org.opencms.main.CmsInitException: Critical error during OpenCms 
initialization:
org.eclipse.jetty.util.ssl.SslContextFactory$Client.setEndpointIdentificationAlgorithm(Ljava/lang/String;)V.

Any ideas what could be the problem?!?

The webapplication started correctly before running the upgrade wizard.

BR, Tobias

--

Full startup log:
14-Dec-2022 17:59:19.980 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server 
Version:        Apache Tomcat/8.5.83
14-Dec-2022 17:59:19.991 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server 
built:          Oct 3 2022 21:11:09 UTC
14-Dec-2022 17:59:20.019 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server version 
number: 8.5.83.0
14-Dec-2022 17:59:20.020 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS 
Name:               Windows 10
14-Dec-2022 17:59:20.020 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS 
Version:            10.0
14-Dec-2022 17:59:20.023 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log 
Architektur:           amd64
14-Dec-2022 17:59:20.026 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Java 
Home:             C:\Program Files\Java\jdk1.8.0_311\jre
14-Dec-2022 17:59:20.028 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM 
Version:           1.8.0_311-b11
14-Dec-2022 17:59:20.029 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM 
Hersteller:        Oracle Corporation
14-Dec-2022 17:59:20.029 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: 
D:\Projects\opencms10\apache-tomcat-8.5.83
14-Dec-2022 17:59:20.029 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: 
D:\Projects\opencms10\apache-tomcat-8.5.83
14-Dec-2022 17:59:20.030 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: 
-Djava.util.logging.config.file=D:\Projects\opencms10\apache-tomcat-8.5.83\conf\logging.properties
14-Dec-2022 17:59:20.030 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
14-Dec-2022 17:59:20.030 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djdk.tls.ephemeralDHKeySize=2048
14-Dec-2022 17:59:20.030 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
14-Dec-2022 17:59:20.031 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dignore.endorsed.dirs=
14-Dec-2022 17:59:20.031 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dcatalina.base=D:\Projects\opencms10\apache-tomcat-8.5.83
14-Dec-2022 17:59:20.031 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Dcatalina.home=D:\Projects\opencms10\apache-tomcat-8.5.83
14-Dec-2022 17:59:20.031 INFORMATION [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line 
argument: -Djava.io.tmpdir=D:\Projects\opencms10\apache-tomcat-8.5.83\temp
14-Dec-2022 17:59:20.032 INFORMATION [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache 
Tomcat Native library which allows using OpenSSL was not found on the 
java.library.path: [C:\Program 
Files\Java\jdk1.8.0_311\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program 
Files (x86)\Common 
Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program 
Files (x86)\Common 
Files\Lenovo;C:\ProgramData\Lenovo\ReadyApps;C:\Program 
Files\Git\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files 
(x86)\Yarn\bin;C:\Python27\python.exe;C:\Program Files (x86)\Windows 
Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\AOMEI 
Backupper;C:\WINDOWS\System32\OpenSSH\;C:\Program 
Files\nodejs;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common 
Files\Intel\WirelessCommon\;C:\Program 
Files\ojdkbuild\java-1.8.0-openjdk-1.8.0.191-1\bin;C:\Program 
Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\ProgramData\chocolatey\bin;C:\Program 
Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program 
Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program 
Files\PuTTY\;C:\Program Files (x86)\dotnet\;C:\Program 
Files\Maven\apache-maven-3.3.9\bin;D:\Tools\gradle-3.5\bin;C:\Users\tobias\AppData\Local\Yarn\bin;C:\Program 
Files\Intel\WiFi\bin\;C:\Program Files\Common 
Files\Intel\WirelessCommon\;;.]
14-Dec-2022 17:59:20.886 INFORMATION [main] 
org.apache.coyote.AbstractProtocol.init Initialisiere 
ProtocolHandler["http-nio-8080"]
14-Dec-2022 17:59:21.092 INFORMATION [main] 
org.apache.coyote.AbstractProtocol.init Initialisiere 
ProtocolHandler["https-jsse-nio-8443"]
14-Dec-2022 17:59:25.857 INFORMATION [main] 
org.apache.catalina.startup.Catalina.load Initialization processed in 
8356 ms
14-Dec-2022 17:59:25.972 INFORMATION [main] 
org.apache.catalina.core.StandardService.startInternal Starting service 
[Catalina]
14-Dec-2022 17:59:25.973 INFORMATION [main] 
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet 
engine: [Apache Tomcat/8.5.83]
14-Dec-2022 17:59:26.002 INFORMATION [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploye 
Web-Applikations-Verzeichnis 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\docs]
14-Dec-2022 17:59:27.154 INFORMATION [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\docs] has finished 
in [1.140] ms
14-Dec-2022 17:59:27.155 INFORMATION [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploye 
Web-Applikations-Verzeichnis 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\examples]
14-Dec-2022 17:59:28.477 INFORMATION [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\examples] has 
finished in [1.323] ms
14-Dec-2022 17:59:28.486 INFORMATION [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploye 
Web-Applikations-Verzeichnis 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\host-manager]
14-Dec-2022 17:59:28.588 INFORMATION [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\host-manager] has 
finished in [101] ms
14-Dec-2022 17:59:28.589 INFORMATION [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploye 
Web-Applikations-Verzeichnis 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\manager]
14-Dec-2022 17:59:28.803 INFORMATION [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\manager] has 
finished in [214] ms
14-Dec-2022 17:59:28.848 INFORMATION [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deploye 
Web-Applikations-Verzeichnis 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\ROOT]
Dez 14, 2022 6:00:32 PM org.apache.jasper.servlet.TldScanner scanJars
INFORMATION: At least one JAR was scanned for TLDs yet contained no 
TLDs. Enable debug logging for this logger for a complete list of JARs 
that were scanned but no TLDs were found in them. Skipping unneeded JARs 
during scanning can improve startup time and JSP compilation time.
Dez 14, 2022 6:00:32 PM org.apache.catalina.core.ApplicationContext log
INFORMATION: No Spring WebApplicationInitializer types detected on classpath


Starting OpenCms, version 14.0 in web application "ROOT"

Copyright (c) 2002 - 2022 Alkacon Software GmbH & Co. KG
OpenCms comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to
redistribute it under certain conditions.
Please see the GNU Lesser General Public Licence for
further details.


Not starting JLAN server because no config file was found at 
D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\ROOT\WEB-INF\config\jlanConfig.xml
Dec 14, 2022 6:01:09 PM org.apache.catalina.core.StandardContext 
listenerStart
SEVERE: Fehler beim Senden der 'Context Initialized' Benachrichtigung an 
den Listener aus der Klasse [org.opencms.main.OpenCmsListener]
org.opencms.main.CmsInitException: Critical error during OpenCms 
initialization: 
org.eclipse.jetty.util.ssl.SslContextFactory$Client.setEndpointIdentificationAlgorithm(Ljava/lang/String;)V.
         at 
org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:106)
         at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4764)
         at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
         at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
         at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
         at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727)
         at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
         at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1177)
         at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1925)
         at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
         at java.lang.Thread.run(Thread.java:748)

14-Dec-2022 18:01:09.934 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.StandardContext.startInternal One or more 
listeners failed to start. Full details will be found in the appropriate 
container log file
Dec 14, 2022 6:01:11 PM org.apache.catalina.session.StandardSession 
doReadObject
WARNING: Cannot deserialize session attribute 
[com.vaadin.server.VaadinSession.CmsUpdateServlet] for session 
[27AB086FBC9215CF1C520887ABB94CCA]
14-Dec-2022 18:01:11.291 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.StandardContext.startInternal Context [] 
startup failed due to previous errors


Shutting down OpenCms, version 14.0 in web application "ROOT"
Shutdown completed, total uptime was 00:00:35.

Failed to shutdown MySQL connection cleanup thread: 
com.mysql.jdbc.AbandonedConnectionCleanupThread
14-Dec-2022 18:01:11.840 WARNING [localhost-startStop-1] 
org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads 
The web application [ROOT] appears to have started a thread named 
[Notify_null] but has failed to stop it. This is very likely to create a 
memory leak. Stack trace of thread:
  java.lang.Object.wait(Native Method)
  java.lang.Object.wait(Object.java:502)
  org.alfresco.jlan.smb.server.notify.NotifyChangeHandler.run(NotifyChangeHandler.java:1008)
  java.lang.Thread.run(Thread.java:748)
14-Dec-2022 18:01:11.888 INFO [localhost-startStop-1] 
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web 
application directory 
[D:\Projects\opencms10\apache-tomcat-8.5.83\webapps\ROOT] has finished 
in [103.061] ms
14-Dec-2022 18:01:11.904 INFO [main] 
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler 
["http-nio-8080"]
14-Dec-2022 18:01:11.949 INFO [main] 
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler 
["https-jsse-nio-8443"]
14-Dec-2022 18:01:11.957 INFO [main] 
org.apache.catalina.startup.Catalina.start Server startup in 106090 ms

Am 18.11.2022 um 16:50 schrieb Hein van der Kallen via opencms-dev:
>
> Tobias
>
> Did follow the readme ?
>
> Did you :
>
>  1. Stop the web application (probably the tomcat instance where your
>     opencms is running in)
>
>  2. Enable the upgrade wizard
>
> To do so, set the property
>
> wizard.enabled=true
>
> in the config file WEB-INF/config/opencms.properties.
>
> before you tried to update ?
>
> If at least a part of the update has run you could check 
> /WEB-INF/logs/update.log to see what happened.
>
> And http://localhost:8080/opencms/update/ can need to be something 
> like http://<www.yoursite.com>:8080/update/ 
> <http://%3cwww.yoursite.com%3e:8080/update/> depending on your setup
>
> 8080 must be the portnumber where your tomcat application is listening 
> to. So change it when needed.
>
> Hein van der Kallen
>
> *Van:* opencms-dev <opencms-dev-bounces at opencms.org> *Namens *Tobias 
> Karrer via opencms-dev
> *Verzonden:* vrijdag 11 november 2022 16:28
> *Aan:* opencms-dev at opencms.org
> *CC:* Tobias Karrer <kartobi at gmail.com>
> *Onderwerp:* [DKIM] [opencms-dev] Update from OpenCms 10.0.1 to 14.0 - 
> wizard does not start.
>
> Hi All,
>
> I want to update from OpenCms 10.0.1 to 14.0.
>
> So I extracted opencms-upgrade-to-14.0.zip to my web application 
> directory (opencms.tld and opencms.jar had been replaced)
>
> After starting the webapplication and trying to call 
> http://localhost:8080/opencms/update/ I always get the message
>
> HTTP Status 500
> OpenCms is not properly initialized!
> Please make sure that the OpenCms setup wizard has been run once and 
> is disabled now.
>
> The wizard doesn't start.
>
> Anything else that needs to be configured to get the wizard running?
>
> BR, Tobias
>
>
> _______________________________________________
> 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
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20221215/dab2c9da/attachment.htm>


More information about the opencms-dev mailing list