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: Connection closed error and certificateVerification="required"

2018-03-21 Thread Mark Thomas
On 21/03/18 12:14, Mark Thomas wrote: > On 21/03/18 08:35, Richard Tearle wrote: >> On 20 March 2018 at 19:58, Mark Thomas wrote: >> >>> On 20/03/18 14:49, Richard Tearle wrote: >>> OK. Can you share you configuration and the steps you used to create the >>> self-signed certificate. I'd like to se

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: [OT] Receive HTTP 413 Request Entity Too Large on Tomcat 8.5.24

2018-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Steven, On 3/20/18 2:02 PM, Kerckhof, Steven wrote: > I am receiving the following exception message in the Tomcat log > when attempting to do a multi-part upload: 20 Mar 2018 10:21:13 > [https-openssl-nio2-443-exec-9] DEBUG > org.apache.cxf.jaxrs.i

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: Connection closed error and certificateVerification="required"

2018-03-21 Thread Mark Thomas
On 21/03/18 08:35, Richard Tearle wrote: > On 20 March 2018 at 19:58, Mark Thomas wrote: > >> On 20/03/18 14:49, Richard Tearle wrote: >> OK. Can you share you configuration and the steps you used to create the >> self-signed certificate. I'd like to see if I can reproduce this. >> >> >> Mark >>

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

Re: Connection closed error and certificateVerification="required"

2018-03-21 Thread Richard Tearle
On 20 March 2018 at 19:58, Mark Thomas wrote: > On 20/03/18 14:49, Richard Tearle wrote: > OK. Can you share you configuration and the steps you used to create the > self-signed certificate. I'd like to see if I can reproduce this. > > > Mark > I thought it might be easier to drop the configurat