Re: Strange MySQL error when starting tomcat 8 on boot

2016-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sean, On 8/10/16 12:56 PM, Sean Son wrote: > On Wed, Aug 10, 2016 at 11:41 AM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Sean, > > On 8/10/16 10:39 AM, Sean Son wrote: On Wed, Aug 10, 2016 at 10:06 AM, Sean Son

Re: Tomcat v8.5.3 SSL Configuration?

2016-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Venkat, Please bottom-post, or interleave your responses. It's much easier to follow the conversation and is the custom on this mailing list. See below for my response. On 8/10/16 2:37 PM, venkatesham nalla wrote: > Thank you. But when add

Re: Tomcat v8.5.3 SSL Configuration?

2016-08-10 Thread venkatesham nalla
Chris, Thank you. But when add protocols="all,-TLSv1" to SSLHostConfig element. It is resulting in the following exception: INFO - Initializing ProtocolHandler ["https-jsse-nio-58043"] SEVERE - Failed to initialize end point associated with ProtocolHandler ["https-jsse-nio -58043"]

Re: Strange MySQL error when starting tomcat 8 on boot

2016-08-10 Thread Sean Son
On Wed, Aug 10, 2016 at 11:41 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sean, > > On 8/10/16 10:39 AM, Sean Son wrote: > > On Wed, Aug 10, 2016 at 10:06 AM, Sean Son > > >> wrote: > >

Re: Tomcat v8.5.3 SSL Configuration?

2016-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Venkat, On 8/10/16 12:43 PM, venkatesham nalla wrote: > I am trying to configure Tomcat v8.5.3 with TLSv1.1 and TLSv1.2, > but it is not working on AIX. It is only supporting TLSv1. I have > added the -Dcom.ibm.jsse2.overrideDefaultTLS=true as

Re: Tomcat v8.5.3 SSL Configuration?

2016-08-10 Thread venkatesham nalla
Hi, I am trying to configure Tomcat v8.5.3 with TLSv1.1 and TLSv1.2, but it is not working on AIX. It is only supporting TLSv1. I have added the -Dcom.ibm.jsse2.overrideDefaultTLS=true as well. Java version 1.7.0 IBM J9 VM SR1. Tomcat 8.5.3 SSL Configuration

Re: Tomcat 8.5 NIO w/ SSL Windows CPU issues

2016-08-10 Thread Mike Noordermeer
Hi, > Are you fronting with a web server/reverse proxy? Those "-" requests > looks suspiciously like the kinds of requests that Apache httpd makes > to itself to verify that worker threads are still available for > certain things. No, there is no web server or proxy in front of Tomcat. > I'm

Re: Tomcat 8.5 NIO w/ SSL Windows CPU issues

2016-08-10 Thread tomcat
On 10.08.2016 17:46, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mike, On 8/10/16 6:15 AM, Mike Noordermeer wrote: Hi, After an upgrade to Tomcat 8.5, we are experiencing an issue where Tomcat starts generating a high CPU load (100%), probably after an HTTP

Re: Tomcat 8.5 NIO w/ SSL Windows CPU issues

2016-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mike, On 8/10/16 6:15 AM, Mike Noordermeer wrote: > Hi, > > After an upgrade to Tomcat 8.5, we are experiencing an issue where > Tomcat starts generating a high CPU load (100%), probably after an > HTTP network scan. The bug seems to be related

Re: BasicDataSource creation throws SQLException

2016-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Roy, On 8/10/16 11:11 AM, Roy Leonardus wrote: > Hello Christopher, > > Thank you for the tip, i managed to test the code using the apache > Derby now. > > it would be interesting to enhance the driver class to respond with > some result set, but

Re: Strange MySQL error when starting tomcat 8 on boot

2016-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sean, On 8/10/16 10:39 AM, Sean Son wrote: > On Wed, Aug 10, 2016 at 10:06 AM, Sean Son > > wrote: > >> >> >> On Tue, Aug 9, 2016 at 5:05 PM, Mark Eggers >> >> wrote: >> >>>

Re: Increased memory consumption due to url encoding

2016-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Lazar, On 8/10/16 8:29 AM, Lazar Kirchev wrote: > I tried with 32 MB and even 24 MB heap and the CPU usage and > response time remained the almost the same (the difference is > negligible) as with 1 GB heap. The cumulative allocated memory for >

Re: BasicDataSource creation throws SQLException

2016-08-10 Thread Roy Leonardus
Hello Christopher, Thank you for the tip, i managed to test the code using the apache Derby now. it would be interesting to enhance the driver class to respond with some result set, but i need to review it again. and it will be another homework for me. Roy On Tue, Aug 9, 2016 at 8:54 PM,

Re: Strange MySQL error when starting tomcat 8 on boot

2016-08-10 Thread Sean Son
On Wed, Aug 10, 2016 at 10:06 AM, Sean Son wrote: > > > On Tue, Aug 9, 2016 at 5:05 PM, Mark Eggers > wrote: > >> Sean, >> >> >> On 8/9/2016 1:55 PM, Sean Son wrote: >> > On Mon, Aug 8, 2016 at 11:31 AM, Mark Eggers >> >

Re: Strange MySQL error when starting tomcat 8 on boot

2016-08-10 Thread Sean Son
On Tue, Aug 9, 2016 at 5:05 PM, Mark Eggers wrote: > Sean, > > > On 8/9/2016 1:55 PM, Sean Son wrote: > > On Mon, Aug 8, 2016 at 11:31 AM, Mark Eggers > > wrote: > > > >> Sean, > >> > >> On 8/8/2016 7:10 AM, Sean Son wrote: > >>> On

Re: Increased memory consumption due to url encoding

2016-08-10 Thread Lazar Kirchev
Hello Christopher, I tried with 32 MB and even 24 MB heap and the CPU usage and response time remained the almost the same (the difference is negligible) as with 1 GB heap. The cumulative allocated memory for the HeapByteBuffer remains about 400 MB, but of course the frequency of GCs is

Re: Connectivity Issue with Tomcat7 and WebServer (AJP Connector)

2016-08-10 Thread tomcat
On 10.08.2016 11:34, Jayaram Ponnusamy wrote: Hi André, Kindly please find my answer below: On Tue, Aug 9, 2016 at 11:49 AM, André Warnier (tomcat) wrote: On 09.08.2016 09:48, Jayaram Ponnusamy wrote: Thanks André, Kindly please find my answer below: On Tue, Aug 9, 2016

Tomcat 8.5 NIO w/ SSL Windows CPU issues

2016-08-10 Thread Mike Noordermeer
Hi, After an upgrade to Tomcat 8.5, we are experiencing an issue where Tomcat starts generating a high CPU load (100%), probably after an HTTP network scan. The bug seems to be related to Windows, NIO and possibly SSL. I have a Yourkit dump and several thread dumps that show the issue, and was

Re: Connectivity Issue with Tomcat7 and WebServer (AJP Connector)

2016-08-10 Thread Jayaram Ponnusamy
Hi André, Kindly please find my answer below: On Tue, Aug 9, 2016 at 11:49 AM, André Warnier (tomcat) wrote: > On 09.08.2016 09:48, Jayaram Ponnusamy wrote: > >> Thanks André, >> Kindly please find my answer below: >> >> On Tue, Aug 9, 2016 at 12:02 AM, André Warnier (tomcat)

Re: Log4j Issue

2016-08-10 Thread Mark Eggers
Syed, Please do not top post. See: http://tomcat.apache.org/lists.html#tomcat-users item 6. My responses are inline. On 8/10/2016 1:43 AM, Syed Mudassir Ahmed wrote: > Mark, > Thanks for the response. > Indeed I am using Log4j-2. Below is my xml file: > > > > > >

Re: Log4j Issue

2016-08-10 Thread Syed Mudassir Ahmed
Mark, Thanks for the response. Indeed I am using Log4j-2. Below is my xml file: date:%d, millisecs:%r, level:%p, logger:%c, thread:[%t], file:%F, method:%M, line:%L, message:%m%n%n

Re: Log4j Issue

2016-08-10 Thread Mark Eggers
Syed, On 8/9/2016 10:08 PM, Syed Mudassir Ahmed wrote: > I am using Log4j in my web app to write the logs to a separate file. > Surprisingly, that log file is not at all getting created. I run > the logger logic as a standalone application and the log file indeed > gets created. I am assuming