Summary: | 8.5.37 does not longer start because of error in catalina.sh start section with new redirect to $catalina_out_command eval code code block | ||
---|---|---|---|
Product: | Tomcat 8 | Reporter: | Patrik S. <patrik.sch> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | lopaka |
Priority: | P2 | ||
Version: | 8.5.x-trunk | ||
Target Milestone: | ---- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Patrik S.
2019-01-07 13:38:18 UTC
Possibly related to BZ-63041 Yes, it's the same issue as in tomcat 9.0 with BZ-63041. "Could not contact [localhost:[8005]]. Tomcat may not be running." is the only error shown in journalctl -xe Adding "set -x" to catalina.sh shows following output after trying to start the service: output of journalctl -xe [.....] Jan 07 13:19:58 machinehostname startup.sh[26562]: + eval '{' '"/opt/java/bin/java"' '"-Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties"' -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.proto Jan 07 13:19:58 machinehostname startup.sh[26562]: + echo 'Tomcat started.' Jan 07 13:19:58 machinehostname startup.sh[26562]: Tomcat started. startup.sh script finished, but shutdown is called directly afterwards: Jan 07 13:19:58 machinehostname shutdown.sh[26577]: + os400=false ....... Jan 07 13:19:58 machinehostname shutdown.sh[26577]: Jan 07, 2019 1:19:58 PM org.apache.catalina.startup.Catalina stopServer Jan 07 13:19:58 machinehostname shutdown.sh[26577]: SEVERE: Could not contact [localhost:[8005]]. Tomcat may not be running. Jan 07 13:19:58 machinehostname shutdown.sh[26577]: Jan 07, 2019 1:19:58 PM org.apache.catalina.startup.Catalina stopServer Jan 07 13:19:58 machinehostname shutdown.sh[26577]: SEVERE: Catalina.stop: Jan 07 13:19:58 machinehostname shutdown.sh[26577]: java.net.ConnectException: Connection refused (Connection refused) |