Re: Tomcat 9 M22 doesn't stop
This workaround is working well. Thanks all for your answers. A.T. 2017-07-23 0:18 GMT+02:00 Mark Eggers : > Rainer, > > On 7/22/2017 2:37 PM, Rainer Jung wrote: > > Am 22.07.2017 um 22:48 schrieb Mark Eggers: > >> On 7/22/2017 12:50 AM, Aurélien Terrestris wrote: > >>> Hello, > >>> > >>> I'm trying the latest Tomcat (9.0.0.M22) with all the default > >>> settings and > >>> applications. When shutting down, it doesn't stop and I'm staying with > a > >>> java process which cannot handle any request. > >>> When setting the CATALINA_PID and trying a shutdown -force, it ends in > >>> killing the process. > >>> > >>> > >>> > >>> Here is the catalina.out, with a thread-dump done 20 minutes after the > >>> shutdown : > >>> > >>> 18-Jul-2017 08:49:50.110 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Server > >>> version:Apache Tomcat/9.0.0.M22 > >>> 18-Jul-2017 08:49:50.112 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Server > >>> built: Jun 21 2017 09:44:18 UTC > >>> 18-Jul-2017 08:49:50.112 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Server > >>> number: 9.0.0.0 > >>> 18-Jul-2017 08:49:50.112 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log OS > >>> Name: Linux > >>> 18-Jul-2017 08:49:50.112 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log OS > >>> Version:3.10.0-514.el7.x86_64 > >>> 18-Jul-2017 08:49:50.112 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log > >>> Architecture: amd64 > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Java > >>> Home: > >>> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64/jre > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log JVM > >>> Version: 1.8.0_131-b12 > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log JVM > >>> Vendor:Oracle Corporation > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log > >>> CATALINA_BASE: /home/testusr/cluster/apache-tomcat-9.0.0.M22 > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log > >>> CATALINA_HOME: /home/testusr/cluster/apache-tomcat-9.0.0.M22 > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Command line > >>> argument: > >>> -Djava.util.logging.config.file=/home/testusr/cluster/9/ > conf/logging.properties > >>> > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Command line > >>> argument: > >>> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Command line > >>> argument: -Djdk.tls.ephemeralDHKeySize=2048 > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Command line > >>> argument: -Djava.protocol.handler.pkgs=org.apache.catalina. > webresources > >>> 18-Jul-2017 08:49:50.113 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Command line > >>> argument: -Dcatalina.base=/home/testusr/cluster/9 > >>> 18-Jul-2017 08:49:50.114 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Command line > >>> argument: -Dcatalina.home=/home/testusr/cluster/9 > >>> 18-Jul-2017 08:49:50.114 INFO [main] > >>> org.apache.catalina.startup.VersionLoggerListener.log Command line > >>> argument: -Djava.io.tmpdir=/home/testusr/cluster/9/temp > >>> 18-Jul-2017 08:49:50.114 INFO [main] > >>> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR > >>> based > >>> Apache Tomcat Native library which allows optimal performance in > >>> production > >>> environments was not found on the java.library.path: > >>> [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib] > >>> 18-Jul-2017 08:49:50.191 INFO [main] > >>> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler > >>> ["http-nio-127.0.0.1-8080"] > >>> 18-Jul-2017 08:49:50.210 INFO [main] > >>> org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a > >>> shared > >>> selector for servlet write/read > >>> 18-Jul-2017 08:49:50.213 INFO [main] > >>> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler > >>> ["ajp-nio-127.0.0.1-8009"] > >>> 18-Jul-2017 08:49:50.215 INFO [main] > >>> org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a > >>> shared > >>> selector for servlet write/read > >>> 18-Jul-2017 08:49:50.218 INFO [main] > >>> org.apache.catalina.startup.Catalina.load Initialization processed in > >>> 495 ms > >>> 18-Jul-2017 08:49:50.239 INFO [main] > >>> org.apache.catalina.core.StandardService.startInternal Star
Re: Tomcat 9 M22 doesn't stop
Rainer, On 7/22/2017 2:37 PM, Rainer Jung wrote: > Am 22.07.2017 um 22:48 schrieb Mark Eggers: >> On 7/22/2017 12:50 AM, Aurélien Terrestris wrote: >>> Hello, >>> >>> I'm trying the latest Tomcat (9.0.0.M22) with all the default >>> settings and >>> applications. When shutting down, it doesn't stop and I'm staying with a >>> java process which cannot handle any request. >>> When setting the CATALINA_PID and trying a shutdown -force, it ends in >>> killing the process. >>> >>> >>> >>> Here is the catalina.out, with a thread-dump done 20 minutes after the >>> shutdown : >>> >>> 18-Jul-2017 08:49:50.110 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Server >>> version:Apache Tomcat/9.0.0.M22 >>> 18-Jul-2017 08:49:50.112 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Server >>> built: Jun 21 2017 09:44:18 UTC >>> 18-Jul-2017 08:49:50.112 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Server >>> number: 9.0.0.0 >>> 18-Jul-2017 08:49:50.112 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log OS >>> Name: Linux >>> 18-Jul-2017 08:49:50.112 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log OS >>> Version:3.10.0-514.el7.x86_64 >>> 18-Jul-2017 08:49:50.112 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log >>> Architecture: amd64 >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Java >>> Home: >>> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64/jre >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log JVM >>> Version: 1.8.0_131-b12 >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log JVM >>> Vendor:Oracle Corporation >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log >>> CATALINA_BASE: /home/testusr/cluster/apache-tomcat-9.0.0.M22 >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log >>> CATALINA_HOME: /home/testusr/cluster/apache-tomcat-9.0.0.M22 >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Command line >>> argument: >>> -Djava.util.logging.config.file=/home/testusr/cluster/9/conf/logging.properties >>> >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Command line >>> argument: >>> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Command line >>> argument: -Djdk.tls.ephemeralDHKeySize=2048 >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Command line >>> argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources >>> 18-Jul-2017 08:49:50.113 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Command line >>> argument: -Dcatalina.base=/home/testusr/cluster/9 >>> 18-Jul-2017 08:49:50.114 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Command line >>> argument: -Dcatalina.home=/home/testusr/cluster/9 >>> 18-Jul-2017 08:49:50.114 INFO [main] >>> org.apache.catalina.startup.VersionLoggerListener.log Command line >>> argument: -Djava.io.tmpdir=/home/testusr/cluster/9/temp >>> 18-Jul-2017 08:49:50.114 INFO [main] >>> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR >>> based >>> Apache Tomcat Native library which allows optimal performance in >>> production >>> environments was not found on the java.library.path: >>> [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib] >>> 18-Jul-2017 08:49:50.191 INFO [main] >>> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler >>> ["http-nio-127.0.0.1-8080"] >>> 18-Jul-2017 08:49:50.210 INFO [main] >>> org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a >>> shared >>> selector for servlet write/read >>> 18-Jul-2017 08:49:50.213 INFO [main] >>> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler >>> ["ajp-nio-127.0.0.1-8009"] >>> 18-Jul-2017 08:49:50.215 INFO [main] >>> org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a >>> shared >>> selector for servlet write/read >>> 18-Jul-2017 08:49:50.218 INFO [main] >>> org.apache.catalina.startup.Catalina.load Initialization processed in >>> 495 ms >>> 18-Jul-2017 08:49:50.239 INFO [main] >>> org.apache.catalina.core.StandardService.startInternal Starting service >>> [Catalina] >>> 18-Jul-2017 08:49:50.239 INFO [main] >>> org.apache.catalina.core.StandardEngine.startInternal Starting Servlet >>> Engine: Apache Tomcat/9.0.0.M22 >>> 18-Jul-2017 08:49:50.248 INFO [main] >>> org.apache.catalina.startup.HostConfig.deployDirectory Deploying web >>> application directory >>>
Re: Tomcat 9 M22 doesn't stop
Am 22.07.2017 um 22:48 schrieb Mark Eggers: On 7/22/2017 12:50 AM, Aurélien Terrestris wrote: Hello, I'm trying the latest Tomcat (9.0.0.M22) with all the default settings and applications. When shutting down, it doesn't stop and I'm staying with a java process which cannot handle any request. When setting the CATALINA_PID and trying a shutdown -force, it ends in killing the process. Here is the catalina.out, with a thread-dump done 20 minutes after the shutdown : 18-Jul-2017 08:49:50.110 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:Apache Tomcat/9.0.0.M22 18-Jul-2017 08:49:50.112 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 21 2017 09:44:18 UTC 18-Jul-2017 08:49:50.112 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.0.0 18-Jul-2017 08:49:50.112 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux 18-Jul-2017 08:49:50.112 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:3.10.0-514.el7.x86_64 18-Jul-2017 08:49:50.112 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64/jre 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_131-b12 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:Oracle Corporation 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /home/testusr/cluster/apache-tomcat-9.0.0.M22 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /home/testusr/cluster/apache-tomcat-9.0.0.M22 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/home/testusr/cluster/9/conf/logging.properties 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 18-Jul-2017 08:49:50.113 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/home/testusr/cluster/9 18-Jul-2017 08:49:50.114 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/home/testusr/cluster/9 18-Jul-2017 08:49:50.114 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/home/testusr/cluster/9/temp 18-Jul-2017 08:49:50.114 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib] 18-Jul-2017 08:49:50.191 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-8080"] 18-Jul-2017 08:49:50.210 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 18-Jul-2017 08:49:50.213 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-127.0.0.1-8009"] 18-Jul-2017 08:49:50.215 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read 18-Jul-2017 08:49:50.218 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 495 ms 18-Jul-2017 08:49:50.239 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 18-Jul-2017 08:49:50.239 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M22 18-Jul-2017 08:49:50.248 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/testusr/cluster/apache-tomcat-9.0.0.M22/webapps/ROOT] 18-Jul-2017 08:52:23.690 WARNING [main] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [153,172] milliseconds. 18-Jul-2017 08:52:23.705 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/testusr/cluster/apache-tomcat-9.0.0.M22/webapps/ROOT] has
Re: Tomcat 9 M22 doesn't stop
On 7/22/2017 12:50 AM, Aurélien Terrestris wrote: > Hello, > > I'm trying the latest Tomcat (9.0.0.M22) with all the default settings and > applications. When shutting down, it doesn't stop and I'm staying with a > java process which cannot handle any request. > When setting the CATALINA_PID and trying a shutdown -force, it ends in > killing the process. > > > > Here is the catalina.out, with a thread-dump done 20 minutes after the > shutdown : > > 18-Jul-2017 08:49:50.110 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server > version:Apache Tomcat/9.0.0.M22 > 18-Jul-2017 08:49:50.112 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server > built: Jun 21 2017 09:44:18 UTC > 18-Jul-2017 08:49:50.112 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Server > number: 9.0.0.0 > 18-Jul-2017 08:49:50.112 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS > Name: Linux > 18-Jul-2017 08:49:50.112 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log OS > Version:3.10.0-514.el7.x86_64 > 18-Jul-2017 08:49:50.112 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log > Architecture: amd64 > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Java > Home: > /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-3.b12.el7_3.x86_64/jre > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log JVM > Version: 1.8.0_131-b12 > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log JVM > Vendor:Oracle Corporation > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log > CATALINA_BASE: /home/testusr/cluster/apache-tomcat-9.0.0.M22 > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log > CATALINA_HOME: /home/testusr/cluster/apache-tomcat-9.0.0.M22 > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Command line > argument: > -Djava.util.logging.config.file=/home/testusr/cluster/9/conf/logging.properties > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Command line > argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Command line > argument: -Djdk.tls.ephemeralDHKeySize=2048 > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Command line > argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources > 18-Jul-2017 08:49:50.113 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Command line > argument: -Dcatalina.base=/home/testusr/cluster/9 > 18-Jul-2017 08:49:50.114 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Command line > argument: -Dcatalina.home=/home/testusr/cluster/9 > 18-Jul-2017 08:49:50.114 INFO [main] > org.apache.catalina.startup.VersionLoggerListener.log Command line > argument: -Djava.io.tmpdir=/home/testusr/cluster/9/temp > 18-Jul-2017 08:49:50.114 INFO [main] > org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based > Apache Tomcat Native library which allows optimal performance in production > environments was not found on the java.library.path: > [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib] > 18-Jul-2017 08:49:50.191 INFO [main] > org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler > ["http-nio-127.0.0.1-8080"] > 18-Jul-2017 08:49:50.210 INFO [main] > org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared > selector for servlet write/read > 18-Jul-2017 08:49:50.213 INFO [main] > org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler > ["ajp-nio-127.0.0.1-8009"] > 18-Jul-2017 08:49:50.215 INFO [main] > org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared > selector for servlet write/read > 18-Jul-2017 08:49:50.218 INFO [main] > org.apache.catalina.startup.Catalina.load Initialization processed in 495 ms > 18-Jul-2017 08:49:50.239 INFO [main] > org.apache.catalina.core.StandardService.startInternal Starting service > [Catalina] > 18-Jul-2017 08:49:50.239 INFO [main] > org.apache.catalina.core.StandardEngine.startInternal Starting Servlet > Engine: Apache Tomcat/9.0.0.M22 > 18-Jul-2017 08:49:50.248 INFO [main] > org.apache.catalina.startup.HostConfig.deployDirectory Deploying web > application directory > [/home/testusr/cluster/apache-tomcat-9.0.0.M22/webapps/ROOT] > 18-Jul-2017 08:52:23.690 WARNING [main] > org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation > of SecureRandom instance for session ID generation using [SHA1PRNG] took > [153,172] milliseconds. > 18-Jul-2017 08:52:23.705 INFO [main]