Re: BasicDataSource restart()

2021-11-30 Thread Mark Eggers
Jerry, On 11/30/2021 10:06 PM, Jerry Malcolm wrote: I'm circling back to this after a few months.  I am building on a Windows 10 box with 9.0.52 TC.  But I'm running on an AWS Linux2 with 8.5.72.  This has never caused any problems so far, or at least as far as I can tell.  But I'm hitting

Re: BasicDataSource restart()

2021-11-30 Thread Jerry Malcolm
I'm circling back to this after a few months.  I am building on a Windows 10 box with 9.0.52 TC.  But I'm running on an AWS Linux2 with 8.5.72.  This has never caused any problems so far, or at least as far as I can tell.  But I'm hitting something strange with this relatively new

Re: NPE in request.getRequestURL()

2021-11-30 Thread Jerry Malcolm
On 11/30/2021 1:58 PM, Christopher Schultz wrote: Jerry, On 11/30/21 14:17, Jerry Malcolm wrote: Chris, Thanks for the response. Sorry... forgot to include the TC ver -- 8.5.69. I had a situation a while back where I spun a longrunning thread and held the request object after the main

Re: NPE in request.getRequestURL()

2021-11-30 Thread Christopher Schultz
Jerry, On 11/30/21 14:17, Jerry Malcolm wrote: Chris, Thanks for the response. Sorry... forgot to include the TC ver -- 8.5.69. I had a situation a while back where I spun a longrunning thread and held the request object after the main response was returned. I fixed that situation.  In this

Re: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Terence M. Bandoian
On 11/30/2021 8:40 AM, Simon Matter wrote: Hi Chris, Thank you for the quick reply. Simon, On 11/30/21 08:21, Simon Matter wrote: I'm running an application on Tomcat 9.0.55 on x86_64 Linux with OpenJDK JRE-11.0.13+8 and have problems shutting down Tomcat in certain ways. When I shutdown

Re: NPE in request.getRequestURL()

2021-11-30 Thread Jerry Malcolm
Chris, Thanks for the response. Sorry... forgot to include the TC ver -- 8.5.69. I had a situation a while back where I spun a longrunning thread and held the request object after the main response was returned. I fixed that situation.  In this situation, it is occurring on the main

AW: AW: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Simon, if you use the Registry to bind Objects / Stubs, you must also call "unbind" on shutdown: https://docs.oracle.com/javase/7/docs/api/java/rmi/registry/Registry.html I think the developer who implemented the RMI stub, should also now what to unbind. Greetings, Thomas

Re: AW: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Simon Matter
Hi Thomas, > Hello, > > it looks like your application opens several ports for RMI communication. > One class is mentioned in your first mail: ShopdbCacheSynchronizer Yes, and it's true that when I'm looking at the shut down Tomcat instance VM, I see several RMI threads lingering around. > >

AW: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, it looks like your application opens several ports for RMI communication. One class is mentioned in your first mail: ShopdbCacheSynchronizer Maybe you can ask the developer guys to check whether these threads / ports are terminated / closed cleanly on shutdown event. Quite often

Re: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Simon Matter
Hi Chris, Thank you for the quick reply. > Simon, > > On 11/30/21 08:21, Simon Matter wrote: >> I'm running an application on Tomcat 9.0.55 on x86_64 Linux with OpenJDK >> JRE-11.0.13+8 and have problems shutting down Tomcat in certain ways. >> >> When I shutdown Tomcat via 'catalina.sh stop',

Re: Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Christopher Schultz
Simon, On 11/30/21 08:21, Simon Matter wrote: I'm running an application on Tomcat 9.0.55 on x86_64 Linux with OpenJDK JRE-11.0.13+8 and have problems shutting down Tomcat in certain ways. When I shutdown Tomcat via 'catalina.sh stop', it shuts down mostly (most threads are gone) but send a

Tomcat 9 doesn't shutdown cleanly

2021-11-30 Thread Simon Matter
Hi, I'm running an application on Tomcat 9.0.55 on x86_64 Linux with OpenJDK JRE-11.0.13+8 and have problems shutting down Tomcat in certain ways. When I shutdown Tomcat via 'catalina.sh stop', it shuts down mostly (most threads are gone) but send a thread dump to catalina.out and is later