Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-21 Thread Chirag Dewan
It might be weird but its confusing me a lot. I used HttpClient 4.2.1 for Tomcat 6.0.18 and I used the same client with Tomcat 7.0.30,causing the CPU utilization and reduced trans/sec. Now,the same thing I have tested with Apache Jmeter 2.6,and its working fine. Any possible reasons? 

permgen space increases every day

2013-05-21 Thread fachhoch
My application running on tomcat ,every day I see an increase in permgen space, does this ever garbage collected? how can I see whats in the permgen space? I guess Heap dump shows whats in the heap memory, how about permgen space , I want to know why its increasing everyday? Tomcat 6.35 jdk 1.6

CORS on Tomcat?

2013-05-21 Thread Leo Donahue - RDSA IT
Does Tomcat support setting this header on the server? Header set Access-Control-Allow-Origin * If yes, where do we set it? Leo

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chirag, On 5/20/13 10:38 AM, Chirag Dewan wrote: I ran my test client on Hello World example servlet on Tomcat 7.0.30. It was 12K req/sec with 80% CPU utilization. The same test case on tomcat 6.0.18 gave me similar req/sec but CPU

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chirag, On 5/21/13 6:08 AM, Chirag Dewan wrote: It might be weird but its confusing me a lot. I used HttpClient 4.2.1 for Tomcat 6.0.18 and I used the same client with Tomcat 7.0.30,causing the CPU utilization and reduced trans/sec.

Re: permgen space increases every day

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fachhoch, On 5/21/13 10:53 AM, fachhoch wrote: My application running on tomcat ,every day I see an increase in permgen space What was PermGen usage after your webapp reached a steady-state (usually a few minutes after launch)? How much does it

Re: permgen space increases every day

2013-05-21 Thread Jess Holle
Note: If you use various things like RMI and CMS GC and don't set one or two key properties you'll always have a perm gen leak. It's a nice feature of CMS :-) On 5/21/2013 10:44 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Fachhoch, On 5/21/13 10:53 AM,

Re: CORS on Tomcat?

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 5/21/13 11:34 AM, Leo Donahue - RDSA IT wrote: Does Tomcat support setting this header on the server? Header set Access-Control-Allow-Origin * If yes, where do we set it? You should know how to do this by now: url-rewrite. If you

Re: redirect valve in tomcat

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anil, On 5/20/13 10:32 AM, Anil Goyal -X (anigoyal - Aricent Technologies at Cisco) wrote: Hi All, I am adding a new service in tomcat with name catalina_new and deploy an abc application under this. This application was in running under

RE: CORS on Tomcat?

2013-05-21 Thread Leo Donahue - RDSA IT
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: CORS on Tomcat? -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 5/21/13 11:34 AM, Leo Donahue - RDSA IT wrote: Does Tomcat support setting this header on the server? Header set

Re: permgen space increases every day

2013-05-21 Thread fachhoch
Thanks for your replies, I use spring , hibernate , wicket. For some of my objects I create proxy using spring, hibernate creates proxies and injection into wicket objects uses spring proxy. I also use groovy with spring and most of my groovy beans are of scope prototype. lang:groovy

RE: CORS on Tomcat?

2013-05-21 Thread Leo Donahue - RDSA IT
-Original Message- From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: RE: CORS on Tomcat? -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: CORS on Tomcat? -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo,

RE: CORS on Tomcat?

2013-05-21 Thread Leo Donahue - RDSA IT
-Original Message- From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Sent: Tuesday, May 21, 2013 9:33 AM To: Tomcat Users List Subject: RE: CORS on Tomcat? B KKK KCB  [ X ܚX KK[XZ[ \ \ ][ X ܚX P

Re: CORS on Tomcat?

2013-05-21 Thread Rainer Jung
On 21.05.2013 18:20, Leo Donahue - RDSA IT wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: CORS on Tomcat? -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 5/21/13 11:34 AM, Leo Donahue - RDSA IT wrote: Does Tomcat

RE: Apache Tomcat service has been shutting down/stopping randomly.

2013-05-21 Thread James Snider
Below is the most recent Exception Access Violation tcnative Error we are receiving. This error log is generated every time the service randomly stops causing us to believe this to be the primary catalyst. # # A fatal error has been detected by the Java Runtime Environment: # #

Where is a good SSL/TLS

2013-05-21 Thread Smith, Burton
I've been trying to figure out how to compile Apache 2.2 on Red Hat Enterprise Linux Server release 6.4 (Santiago). I can generate both the No recognized SSL/TLS toolkit detected and Error, SSL/TLS libraries were missing or unusable errors. I assume that means I have found the correct

RE: Where is a good SSL/TLS

2013-05-21 Thread Caldarale, Charles R
From: Smith, Burton [mailto:burton.sm...@williams.com] Subject: Where is a good SSL/TLS I've been trying to figure out how to compile Apache 2.2 So wouldn't it be more effective to ask on the httpd mailing list rather than the Tomcat one? - Chuck THIS COMMUNICATION MAY CONTAIN

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-21 Thread Michael-O
Am 2013-05-17 14:26, schrieb Mark Thomas: On 17/05/2013 12:31, Michael-O wrote: Hi Mark, thanks again for the detailed answer, details inline. Gesendet: Freitag, 17. Mai 2013 um 11:36 Uhr Von: Mark Thomas ma...@apache.org An: Tomcat Users List users@tomcat.apache.org Betreff: Re: Follow-up:

Re: CORS on Tomcat?

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 5/21/13 1:07 PM, Rainer Jung wrote: On 21.05.2013 18:20, Leo Donahue - RDSA IT wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: CORS on Tomcat? -BEGIN PGP SIGNED

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-21 Thread Mark Thomas
On 21/05/2013 19:01, Michael-O wrote: Mark, I did receive an answer to the issue, citing your findings. See verbatim copy below: Hi Michael, I received the following update from our developer: ** The theoretical problem is that

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-21 Thread Michael-O
Am 2013-05-21 20:38, schrieb Mark Thomas: Seems like they understood the problem. But I do doubt that this is a fixed size moemory leak. I think the point they are trying to make is that it is only the first instance of the web application to be unloaded that will be pinned in memory.

Re: Apache Tomcat service has been shutting down/stopping randomly.

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 James, On 5/21/13 1:25 PM, James Snider wrote: Below is the most recent Exception Access Violation tcnative Error we are receiving. This error log is generated every time the service randomly stops causing us to believe this to be the primary

Re: Apache Tomcat service has been shutting down/stopping randomly.

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 5/21/13 1:25 PM, James Snider wrote: [error occurred during error reporting (printing native stack), id 0xc005] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.apache.tomcat.jni.Socket.sendbb(JII)I+0 The only

Re: Follow-up: Possible false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and OracleTimeoutPollingThread

2013-05-21 Thread Mark Thomas
On 21/05/2013 19:47, Michael-O wrote: Am 2013-05-21 20:38, schrieb Mark Thomas: Seems like they understood the problem. But I do doubt that this is a fixed size moemory leak. I think the point they are trying to make is that it is only the first instance of the web application to be unloaded

Re: Apache Tomcat service has been shutting down/stopping randomly.

2013-05-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 5/21/13 3:00 PM, Christopher Schultz wrote: All, On 5/21/13 1:25 PM, James Snider wrote: [error occurred during error reporting (printing native stack), id 0xc005] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)

RE: Where is a good SSL/TLS

2013-05-21 Thread Smith, Burton
Sorry, mouse got away from me. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, May 21, 2013 11:40 AM To: Tomcat Users List Subject: RE: Where is a good SSL/TLS From: Smith, Burton [mailto:burton.sm...@williams.com] Subject: Where is a

Logging JIoEndpoint for Http11Protocol

2013-05-21 Thread Vanga Palli, Ravindra Kumar
Hi, We are using tomcat 6.0.28, our goal is to figure out are we maxing out on number of threads and I am looking at JIoEndpiont.java source code and found the following code. So, looks like JIoEndpoint logs whenever all the worker threads are busy, if i receive conncurrent connections more

Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-21 Thread Chirag Dewan
Hi Chris, I was monitoring the CPU utilization specifically. I can compromise on 1 less transactions/sec,but 80-90% utilization is not good. I tested the Async Servlet and the Hello World Servlet with the same environment and the client. Hello world servlet gave 20k req/sec and on the

RE: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-21 Thread Caldarale, Charles R
From: Chirag Dewan [mailto:chirag.dewa...@yahoo.in] Subject: Re: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7 Well I tested a sample html page with Tomcat 6.0.18 and 7.0.30 on Solaris x86 server. The req/sec were almost the same for both, but CPU utilization for

Re: RE: Performance Issue while upgrading from Embedded Tomcat 6 to Tomcat 7

2013-05-21 Thread Chirag Dewan
Yes.  With same JVM on both Solaris and Linux i.e Java 1.6.39. It is 64 bit version. Thanks. Sent from Yahoo! Mail on Android