<#secure method=pgpmime mode=sign>
Extracts of log, full log at URL below. 18k.
14-Aug-2021 17:16:43.821 INFO [Catalina-utility-1]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive [/var/lib/tomcat9/webapps/oscar.war]
14-Aug-2021 17:16:44.005 SEVERE [Catalina-utility-1]
org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase
for context [/oscar]
java.util.zip.ZipException: zip END header not found
...
14-Aug-2021 17:16:45.464 SEVERE [Catalina-utility-1]
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web
application archive [/var/lib/tomcat9/webapps/oscar.war]
java.lang.IllegalStateException: Error starting child
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:716)
...
14-Aug-2021 17:16:45.506 INFO [Catalina-utility-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application
archive [/var/lib/tomcat9/webapps/oscar.war] has finished in [1,684] ms
14-Aug-2021 17:16:55.661 INFO [Catalina-utility-2]
org.apache.catalina.startup.HostConfig.undeploy Undeploying context [/oscar]
14-Aug-2021 17:16:58.286 INFO [Catalina-utility-2]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive [/var/lib/tomcat9/webapps/oscar.war]
My guess is that the cp oscar.war /var/lib/tomcat9/webapps hadn't actually
finished yet when it tried to deploy it. So the first 1.684ms attempt fails,
and then it tried again. (Times are UTC)
oscar-serv03-[~] root 30 #netstat -tan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 192.168.2.13:22 192.168.2.3:56896 ESTABLISHED
tcp 0 0 192.168.2.13:22 192.168.2.3:56898 ESTABLISHED
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::8080 :::* LISTEN
So the port is open, so I attempt to visit the /manage URL
oscar-serv03-[~] root 31 #netstat -tan
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
tcp 0 0 192.168.2.13:22 192.168.2.3:56896 ESTABLISHED
tcp 0 0 192.168.2.13:22 192.168.2.3:56898 ESTABLISHED
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::8080 :::* LISTEN
tcp6 559 0 192.168.2.9:8080 192.168.2.3:37486 ESTABLISHED
And it just stalls.
I went to eat lunch and watch TV, so waited a few hours, and it's the same
afterwards. Note that it never told me that it had finished deploying this
war.
I've tried kill-3 repeatedly, on the main PID of the process, and gotten no
output.
Complete log is now at:
https://www.sandelman.ca/tmp/terapia9/catalina.2021-08-14.log-2
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | IoT architect [
] [email protected] http://www.sandelman.ca/ | ruby on rails [
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]