Re: Error when using SecurityManager

2018-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/21/18 4:49 PM, Christopher Schultz wrote: >> 3. Check via JMX to see if the DataSource has shut down > > There is no DataSource tree in JMX after calling stop() on the > context, so I think that's satisfactory in terms of behavior. :) >

Re: Error when using SecurityManager

2018-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/21/18 12:27 PM, Christopher Schultz wrote: > Okay, I already had closeMethod="close" set. I just need to set up > a test-case where I can check to see if it's actually doing it. > Perhaps I can just throw-out my ServletContextListener. >

Re: [OT] Error when using SecurityManager

2018-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/21/18 10:39 AM, Mark Thomas wrote: > On 21/03/18 13:45, Christopher Schultz wrote: >> Mark, >> >> On 3/21/18 6:24 AM, Mark Thomas wrote: >>> On 21/03/18 05:32, Christopher Schultz wrote: All, I'm exploring running my appl

Re: Error when using SecurityManager

2018-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/21/18 10:33 AM, Mark Thomas wrote: > On 21/03/18 13:50, Christopher Schultz wrote: > > > >> Hmm, I'll take a look at that. >> >> This Listener predates a lot of Tomcat's more recent >> capabilities. I know that there is a tension betw

Re: [OT] Error when using SecurityManager

2018-03-21 Thread Mark Thomas
On 21/03/18 13:45, Christopher Schultz wrote: > Mark, > > On 3/21/18 6:24 AM, Mark Thomas wrote: >> On 21/03/18 05:32, Christopher Schultz wrote: >>> All, >>> >>> I'm exploring running my application under a SecurityManager > >> That's brave. > > Honestly, it really shouldn't be. > > I'm coming

Re: Error when using SecurityManager

2018-03-21 Thread Mark Thomas
On 21/03/18 13:50, Christopher Schultz wrote: > Hmm, I'll take a look at that. > > This Listener predates a lot of Tomcat's more recent capabilities. I > know that there is a tension between the officially-documented > behavior of JNDI DataSources (you always get a new DataSource) and > what we

Re: Error when using SecurityManager

2018-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/21/18 6:24 AM, Mark Thomas wrote: > On 21/03/18 05:32, Christopher Schultz wrote: >> All, >> >> I'm exploring running my application under a SecurityManager > > That's brave. > >> (on Tomcat 8.5.29), and I'm getting an unexpected compl

Re: [OT] Error when using SecurityManager

2018-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 3/21/18 6:24 AM, Mark Thomas wrote: > On 21/03/18 05:32, Christopher Schultz wrote: >> All, >> >> I'm exploring running my application under a SecurityManager > > That's brave. Honestly, it really shouldn't be. I'm coming to the conclus

Re: Error when using SecurityManager

2018-03-21 Thread Mark Thomas
On 21/03/18 05:32, Christopher Schultz wrote: > All, > > I'm exploring running my application under a SecurityManager That's brave. > (on > Tomcat 8.5.29), and I'm getting an unexpected complaint during Tomcat > shutdown: > > Mar 21, 2018 1:26:23 AM org.apache.catalina.core.ApplicationContext l

Error when using SecurityManager

2018-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm exploring running my application under a SecurityManager (on Tomcat 8.5.29), and I'm getting an unexpected complaint during Tomcat shutdown: Mar 21, 2018 1:26:23 AM org.apache.catalina.core.ApplicationContext log SEVERE: my.JNDIDataSourceS