Re: High cpu on Tomcat 8

2015-05-04 Thread Mark Thomas
On 03/05/2015 11:25, Greg Huber wrote: Hello, After an upgrade to Tomcat 8.0.21 and (Oracle jdk1.8.0_40) I seem to be having an erratic high cpu issue, often when the server gets busy. The application was OK tomcat 7 and has not been modified since the upgrade. Use ps to get the thread ID

startStopThreads=2 lets Tomcat kill my threads

2015-05-04 Thread Daniel Migowski
Hello, I have an application deployed to a Tomcat 8.0.5 which uses the ServletContextListener to do something when Tomcat stops. This task takes about 45 seconds. This wasn't a problem until I learned that I could speed up the Tomcat 8 startup time by parallel instantiation of my webapps by

Re: High cpu on Tomcat 8

2015-05-04 Thread Greg Huber
Thanks, I am going to up the memory. The profiler I used only highlighted the ajp-apr-8009-Poller as active. Terminating the thread stopped the high cpu. Cheers Greg On 4 May 2015 at 10:18, Mark Thomas ma...@apache.org wrote: On 03/05/2015 11:25, Greg Huber wrote: Hello, After an

Re: Issue while Configuring SSL in tomcat6

2015-05-04 Thread Daniel Mikusa
On Sun, May 3, 2015 at 7:48 PM, jairaj kamal jairaj.ka...@gmail.com wrote: Hello, I created a keystore via Keytool, CSR file and received below root and intermediate certificates. I have got both TestRoot.cer TestCA.cer certificates imported in keystore via keytool but still in browser it

Re: High cpu on Tomcat 8

2015-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 5/4/15 7:13 AM, Greg Huber wrote: Thanks, I am going to up the memory. The profiler I used only highlighted the ajp-apr-8009-Poller as active. Terminating the thread stopped the high cpu. ... and probably killed your ability to

Re: startStopThreads=2 lets Tomcat kill my threads

2015-05-04 Thread Konstantin Kolinko
2015-05-04 13:58 GMT+03:00 Daniel Migowski dmigow...@ikoffice.de: Hello, I have an application deployed to a Tomcat 8.0.5 which uses the ServletContextListener to do something when Tomcat stops. This task takes about 45 seconds. This wasn't a problem until I learned that I could speed up

Re: High cpu on Tomcat 8

2015-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 5/3/15 2:30 PM, Greg Huber wrote: Thanks for the reply, I will up the memory on the heap space and have another go with the profiler if happens again. When I was looking at the thread dumps there were no other active threads other

RE: High cpu on Tomcat 8

2015-05-04 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: High cpu on Tomcat 8 Car analogy: it's the distributor cap of all the bytes flying around the container. You're dating yourself :-) Haven't seen a distributor on a car in many years. - Chuck THIS COMMUNICATION

Re: Issue while Configuring SSL in tomcat6

2015-05-04 Thread jairaj kamal
Hi, Please find my response inline as below. Also *this is for Tomcat version 6* 1.) Include the Connector / tag from `conf/server.xml` so we can see how you've configured Tomcat - Below is what I added Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150

Re: High cpu on Tomcat 8

2015-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 5/4/15 10:23 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: High cpu on Tomcat 8 Car analogy: it's the distributor cap of all the bytes flying around the container.

Re: Issue while Configuring SSL in tomcat6

2015-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jairaj, On 5/4/15 10:38 AM, jairaj kamal wrote: Hi, Please find my response inline as below. Also *this is for Tomcat version 6* 1.) Include the Connector / tag from `conf/server.xml` so we can see how you've configured Tomcat - Below is what

Re: Does the securePort for Cluster/Channel/Receiver work yet?

2015-05-04 Thread pascal
Hi List This was all done with tomcat-7.0.27 (sorry for being behind) I just tried with 8.0.21 with the same result. I would even appreciate a don't bother trying response from someone with better insight into the code. I'm also not complaining about a missing feature, the only bug may be in

Re: High cpu on Tomcat 8

2015-05-04 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: High cpu on Tomcat 8 Car analogy: it's the distributor cap of all the bytes flying around the container. You're dating yourself :-) Haven't seen a distributor on a car in many years.

Re: Issue while Configuring SSL in tomcat6

2015-05-04 Thread jairaj kamal
Hello, when I checked with below command I find my keystore created type as JKS and we are using tool Keytool. Initially we received 2 certificates TestRoot.cer Test.cer, when found things not working, we are now trying to import certs of PKCS#12 format (.pfk) via Keytool *#Testing Keystore

Re: Issue while Configuring SSL in tomcat6

2015-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jairaj, On 5/4/15 5:35 PM, jairaj kamal wrote: Attached find the error coming in browser,looks to be issue with Root certificate. This list strips attachments. Please copy/paste any messages into the text of your post. Also we tried PKCS#12

Re: Does the securePort for Cluster/Channel/Receiver work yet?

2015-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pascal, On 5/4/15 10:56 AM, pascal wrote: This was all done with tomcat-7.0.27 (sorry for being behind) I just tried with 8.0.21 with the same result. I would even appreciate a don't bother trying response from someone with better insight

Re: Issue while Configuring SSL in tomcat6

2015-05-04 Thread jairaj kamal
Hi, Attached find the error coming in browser,looks to be issue with Root certificate. Also we tried PKCS#12 format certs but getting below Error D:\Program Files (x86)\Java\jdk1.6.0_27\binkeytool -import -alias nedr2wjob1_no n_prod_p7b -keystore

Re: Exception in Tomcat7 when closing stream, server crashes

2015-05-04 Thread Osman Ullah | Ntrepid Corp
On 4/30/15, 10:17 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Osman, On 4/30/15 10:07 AM, Osman Ullah | Ntrepid Corp wrote: Just an update. We have been doing some testing and we might not be seeing Tomcat actually go down with