Re: [EXTERNAL] Re: Error after upgrading to latest version
This is the output of "zypper dup". Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... Nothing to do. I have a VM snapshot that I can revert. What I can't figure out how to do is to upgrade only to 2020.07, instead of the current version, as required. What would be the process to get to that intermediate version? I could revert the snapshot, upgrade to 2020.07, then to the current version, if I knew the steps to upgrade to that intermediate version. Thanks! Allen B. -- Allen Beddingfield Systems Engineer Office of Information Technology The University of Alabama Office 205-348-2251 allen@ua.edu <https://www.ua.edu/> ________________________________ From: Julio Gonzalez Sent: Friday, July 23, 2021 9:40 AM To: uyuni-users@opensuse.org; users@lists.uyuni-project.org Cc: Allen Beddingfield Subject: [EXTERNAL] Re: Error after upgrading to latest version On viernes, 23 de julio de 2021 16:31:16 (CEST) Allen Beddingfield wrote:
I have three Uyuni servers that I've updated to the latest version. The first two went well. The third fails on the startup of Tomcat. This one was from an older revision. The other two were running an Uyuni version at Leap 15.2, but the one with the problem was old enough to be on 15.1.
Not supported. That's why the release notes say: "You need at least Uyuni 2020.07 already installed to perform the upgrade." As that's the first version on top of openSUSE Leap 15.1 Let's see if we can help, but no promises :-)
I did "zypper up susemanager" Ran server-migrator.sh Then ran pg-migrate-10-to-13.sh All completed with no errors.
On restart, there is an issue with Tomcat. This appears in the most recent catalina log:
23-Jul-2021 09:23:03.806 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.36 23-Jul-2021 09:23:03.822 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 17 2021 12:00:00 UTC 23-Jul-2021 09:23:03.822 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.36.0 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.3.18-59.16-default 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib64/jvm/java-11-openjdk-11 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.11+9-suse-3.56.1-x8664 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/share/tomcat 23-Jul-2021 09:23:03.823 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/share/tomcat 23-Jul-2021 09:23:03.826 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -ea 23-Jul-2021 09:23:03.826 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms256m 23-Jul-2021 09:23:03.826 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1G 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.xml.sax.driver=com.redhat.rhn.frontend.xmlrpc.util.RhnSAXParser 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.tomcat.util.http.Parameters.MAX_COUNT=1024 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxNewSize=256 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:-UseConcMarkSweepGC 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dnet.sf.ehcache.skipUpdateCheck=true 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-modules=java.annotation,com.sun.xml.bind 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-exports=java.annotation/javax.annotation.security=ALL-UNNAMED 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.annotation/javax.annotation.security=ALL-UNNAMED 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/share/tomcat 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs= 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/var/cache/tomcat/temp 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties 23-Jul-2021 09:23:03.831 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 23-Jul-2021 09:23:03.832 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.23] using APR version [1.6.3]. 23-Jul-2021 09:23:03.832 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 23-Jul-2021 09:23:03.832 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 23-Jul-2021 09:23:03.834 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1d 10 Sep 2019] 23-Jul-2021 09:23:05.159 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-127.0.0.1-8009"] 23-Jul-2021 09:23:05.280 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-0:0:0:0:0:0:0:1-8009"] 23-Jul-2021 09:23:05.305 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-8080"] 23-Jul-2021 09:23:05.313 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,874] milliseconds 23-Jul-2021 09:23:05.631 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 23-Jul-2021 09:23:05.631 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.36] 23-Jul-2021 09:23:05.680 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/srv/tomcat/webapps/rhn] 23-Jul-2021 09:23:07.488 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/srv/tomcat/webapps/rhn] java.lang.IllegalStateException: Error starting child at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: 720) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1132 ) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java: 1865) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.jav a:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutor Service.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecu torService.java:118) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:10 44) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1575) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.jav a:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java: 423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936 ) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1 384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1 374) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutor Service.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecu torService.java:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909 ) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:2 62) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java :421) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:9 30) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:633) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethod AccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Delegati ngMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rhn]] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBas e.java:440) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: 717) ... 37 more Caused by: java.lang.NullPointerException at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.j ava:382) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java :195) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(Contex tConfig.java:1971) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1129 ) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java :775)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java :301) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.jav a:123) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java :5044) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ... 38 more 23-Jul-2021 09:23:07.492 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/srv/tomcat/webapps/rhn] has finished in [1,813] ms 23-Jul-2021 09:23:07.524 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-127.0.0.1-8009"] 23-Jul-2021 09:23:07.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-0:0:0:0:0:0:0:1-8009"] 23-Jul-2021 09:23:07.880 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-8080"] 23-Jul-2021 09:23:07.913 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [2,600] milliseconds
Can you provide the output of: `zypper dup`? I wonder if some of the Java dependencies didn't change to come from Leap. -- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
On viernes, 23 de julio de 2021 16:44:17 (CEST) Allen Beddingfield wrote:
This is the output of "zypper dup".
Loading repository data... Reading installed packages... Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Computing distribution upgrade... Nothing to do.
I have a VM snapshot that I can revert. What I can't figure out how to do is to upgrade only to 2020.07, instead of the current version, as required. What would be the process to get to that intermediate version? I could revert the snapshot, upgrade to 2020.07, then to the current version, if I knew the steps to upgrade to that intermediate version. Thanks! Allen B.
There is a way, but unsupported. So I will do my best, but can tell you: "yeah, this will work for sure!" :-) We have Snapshots for the different versions, they are only used for reproducing migration bugs. The last one for the server on top of Leap 15.2 is at: https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Snapsho... So that means you can use a special procedure to migat to 2021.05 first: MIGRATING TO 2021.05 =================== # zypper ar https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Snapsho... uyuni-2021.05 # zypper in susemanager At this point you will have the migration script that was used to migrate from Uyuni on top Leap 15.1 to Uyuni on top of Leap 15.2 DO NOT RUN IT YET!!!!!! Edit the migration script, with vim or other editor: # vim /usr/lib/susemanager/bin/server-migrator.sh Change the line: zypper ar -n "Uyuni Server Stable" https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/... uyuni-server-stable To: zypper ar -n "Uyuni Server 2021.05" https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Snapsho... uyuni-2021.05 Run the script: # /usr/lib/susemanager/bin/server-migrator.sh This should take your system to openSUSE Leap 15.2 and Uyuni 2021.05, in terms of packaging. Run /usr/lib/susemanager/bin/pg-migrate-10-to-12.sh as instructed. DO NOT REBOOT YET. Check the current release notes for 2021.06 (yes), and run any manual steps documented between 2020.09 and 2021.05 (both included). Most of them could probably be skipped since they are about changing the vendor to openSUSE (and that should be done by server-migrator) but run them anyway, just in case. After all manual steps are executed, you can reboot. Check that the server is able to start, that the WebUI is loading, and then run some smoke tests, just in case (for example run a salt remote command against a couple of minions). If everything is working at this point, then you can migrate to 2021.06 MIGRATING TO 2021.06 =================== Add the Stable repository again: # zypper ar -n "Uyuni Server Stable" https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable/... uyuni-server-stable And run the regular procedure for the migration from 2021.05 to 2021.06 So as you can see, this is doing an upgrade in two steps: 2020.07 to 2021.05 first (Leap 15.3 to Leap 15.2) 2021.05 to 2021.06 then (Leap 15.2 to Leap 15.3) I never tried this, but should work :-)
-- Allen Beddingfield Systems Engineer Office of Information Technology The University of Alabama Office 205-348-2251 allen@ua.edu <https://www.ua.edu/>
________________________________ From: Julio Gonzalez Sent: Friday, July 23, 2021 9:40 AM To: uyuni-users@opensuse.org; users@lists.uyuni-project.org Cc: Allen Beddingfield Subject: [EXTERNAL] Re: Error after upgrading to latest version
On viernes, 23 de julio de 2021 16:31:16 (CEST) Allen Beddingfield wrote:
I have three Uyuni servers that I've updated to the latest version. The first two went well. The third fails on the startup of Tomcat. This one was from an older revision. The other two were running an Uyuni version at Leap 15.2, but the one with the problem was old enough to be on 15.1.
Not supported. That's why the release notes say:
"You need at least Uyuni 2020.07 already installed to perform the upgrade."
As that's the first version on top of openSUSE Leap 15.1
Let's see if we can help, but no promises :-)
I did "zypper up susemanager" Ran server-migrator.sh Then ran pg-migrate-10-to-13.sh All completed with no errors.
On restart, there is an issue with Tomcat. This appears in the most recent catalina log:
23-Jul-2021 09:23:03.806 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/9.0.36 23-Jul-2021 09:23:03.822 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 17 2021 12:00:00 UTC 23-Jul-2021 09:23:03.822 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.36.0 23-Jul-2021 09:23:03.823 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 23-Jul-2021 09:23:03.823 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.3.18-59.16-default 23-Jul-2021 09:23:03.823 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 23-Jul-2021 09:23:03.823 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib64/jvm/java-11-openjdk-11 23-Jul-2021 09:23:03.823 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.11+9-suse-3.56.1-x8664 23-Jul-2021 09:23:03.823 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation 23-Jul-2021 09:23:03.823 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/share/tomcat 23-Jul-2021 09:23:03.823 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/share/tomcat 23-Jul-2021 09:23:03.826 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -ea 23-Jul-2021 09:23:03.826 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms256m 23-Jul-2021 09:23:03.826 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1G 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.xml.sax.driver=com.redhat.rhn.frontend.xmlrpc.util.RhnSAXParser 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.tomcat.util.http.Parameters.MAX_COUNT=1024 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxNewSize=256 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:-UseConcMarkSweepGC 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dnet.sf.ehcache.skipUpdateCheck=true 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-modules=java.annotation,com.sun.xml.bind 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-exports=java.annotation/javax.annotation.security=ALL-UNNAMED 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.annotation/javax.annotation.security=ALL-UNNAMED 23-Jul-2021 09:23:03.827 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/share/tomcat 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs= 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/var/cache/tomcat/temp 23-Jul-2021 09:23:03.828 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties 23-Jul-2021 09:23:03.831 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 23-Jul-2021 09:23:03.832 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.23] using APR version [1.6.3]. 23-Jul-2021 09:23:03.832 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 23-Jul-2021 09:23:03.832 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 23-Jul-2021 09:23:03.834 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1d 10 Sep 2019] 23-Jul-2021 09:23:05.159 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-127.0.0.1-8009"] 23-Jul-2021 09:23:05.280 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-0:0:0:0:0:0:0:1-8009"] 23-Jul-2021 09:23:05.305 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-8080"] 23-Jul-2021 09:23:05.313 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1,874] milliseconds 23-Jul-2021 09:23:05.631 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 23-Jul-2021 09:23:05.631 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.36] 23-Jul-2021 09:23:05.680 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/srv/tomcat/webapps/rhn] 23-Jul-2021 09:23:07.488 SEVERE [main] org.apache.catalina.startup.HostConfig.deployDirectory Error deploying web application directory [/srv/tomcat/webapps/rhn] java.lang.IllegalStateException: Error starting child
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java : 720) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:113 2 ) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java : 1865) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja v a:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecuto r Service.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExec u torService.java:118) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1 0 44) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:429) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1575) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.ja v a:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java : 423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:93 6 ) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java: 1 384) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java: 1 374) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecuto r Service.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExec u torService.java:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:90 9 ) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java: 2 62) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.jav a
:421) at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java: 9 30) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:633) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMetho d AccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Delegat i ngMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rhn]] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBa s e.java:440) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java : 717) ... 37 more
Caused by: java.lang.NullPointerException
at
org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner. j ava:382) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.jav a
:195) at
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(Conte x tConfig.java:1971) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:112 9 ) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.jav a
:775) : at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.jav a
:301) at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.ja v a:123) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.jav a
:5044) at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ... 38 more 23-Jul-2021 09:23:07.492 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/srv/tomcat/webapps/rhn] has finished in [1,813] ms 23-Jul-2021 09:23:07.524 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-127.0.0.1-8009"] 23-Jul-2021 09:23:07.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-0:0:0:0:0:0:0:1-8009"] 23-Jul-2021 09:23:07.880 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-8080"] 23-Jul-2021 09:23:07.913 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [2,600] milliseconds
Can you provide the output of:
`zypper dup`?
I wonder if some of the Java dependencies didn't change to come from Leap.
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
participants (2)
-
Allen Beddingfield
-
Julio Gonzalez