RE: Debugging Tomcat during shutdown

2022-06-13 Thread Jean Pierre URKENS
Ok, Didn't test it (it is started with suspend='n'). Just didn't know what the option was exactly doing, hence the question. J.P. -Original Message- From: Mark Thomas Sent: maandag 13 juni 2022 14:58 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat durin

Re: Debugging Tomcat during shutdown

2022-06-13 Thread Mark Thomas
until the debugger attaches. I don't see any reason why that would impact behaviour during JVM shutdown. Mark JP -Original Message- From: Mark Thomas Sent: woensdag 8 juni 2022 14:50 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 13:39, Je

RE: Debugging Tomcat during shutdown

2022-06-09 Thread Jean Pierre URKENS
Could it depend on whether 'suspend=n' or 'suspend=y' is set on the jdwp options? JP -Original Message- From: Mark Thomas Sent: woensdag 8 juni 2022 14:50 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 13:39, Jean Pierre UR

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
14:23 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 11:54, Jean Pierre URKENS wrote: Hi Mark, I know the version is quite old, but that is what the client currently has installed. ACK. I am shutting Tomcat down with ${TOMCAT_HOME}/bin/shutdown.

RE: Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
debug session got killed before hitting any breakpoint I activated, e.g. in Serverimpl#stop()). -Original Message- From: Mark Thomas Sent: woensdag 8 juni 2022 14:23 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 11:54, Jean Pierre URKENS

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
local testing to see if I can recreate the issue you are seeing. Mark J.P. -Original Message- From: Mark Thomas Sent: woensdag 8 juni 2022 12:45 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 11:29, Jean Pierre URKENS wrote: I am trying to

RE: Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
riginal Message- From: Mark Thomas Sent: woensdag 8 juni 2022 12:45 To: users@tomcat.apache.org Subject: Re: Debugging Tomcat during shutdown On 08/06/2022 11:29, Jean Pierre URKENS wrote: > I am trying to debug the cleanup of resources during a shutdown of > Tomcat > 8.5.43 That is a

Re: Debugging Tomcat during shutdown

2022-06-08 Thread Mark Thomas
On 08/06/2022 11:29, Jean Pierre URKENS wrote: I am trying to debug the cleanup of resources during a shutdown of Tomcat 8.5.43 That is a rather old version. I'd recommend upgrading. and notices that my debug session gets killed prior to performing any servlet cleanup actions. I am starting

Debugging Tomcat during shutdown

2022-06-08 Thread Jean Pierre URKENS
I am trying to debug the cleanup of resources during a shutdown of Tomcat 8.5.43 and notices that my debug session gets killed prior to performing any servlet cleanup actions. I am starting Tomcat in debug mode with the JVM options: JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,ad