Tomcat7 HTTPS APR Performance

2010-07-16 Thread shivanic
Hello, For comparing performance of Apache Tomcat 7 with APR and Jboss Web Server with APR version 2.1.4 with Tomcat 7 we have done a load test of an app. The Open SSL and APR libtcnative files were in the path using the LD_LIBRARY_PATH env variable. The protocol used was HTTPS. While doing

Re: Tomcat7 HTTPS APR Performance

2010-07-16 Thread shivanic
The JDK Versions used for each are as follows: Tomcat7 - JDK 6 / APR enabled / Open SSL JbossWebServer - JDK 6 / APR enabled / Open SSL Jboss4.2.3- JDK 5 / No APR / JSSE - Regards -- View this message in context:

Re: SEVERE message from DeltaManager

2010-07-16 Thread Mark Thomas
On 16/07/2010 06:49, Matt Peterson wrote: While load testing our clustered Tomcats, we are seeing the following stack trace in our catalina.out occasionally, but not regularly: Jul 16, 2010 3:34:49 PM org.apache.catalina.ha.session.DeltaManager messageReceived SEVERE: Manager

AW: Script to restart Tomcat

2010-07-16 Thread Kockert, Timo
You don't have to do this yourself. catalina.sh understands the option -force. Before starting the Tomcat, set CATALINA_PID to some file path. The script will store the PID of the Tomcat process in that file. Now you can call catalina.sh stop 10 -force which will wait up to 10 seconds for

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-16 Thread Rainer Jung
On 04.07.2010 04:16, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/3/2010 1:54 PM, Rainer Jung wrote: On 03.07.2010 14:08, Rainer Jung wrote: On 02.07.2010 22:02, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On

Re: Apache + Mod-jk + Jboss Problem

2010-07-16 Thread Rocky Chak
Hi, Thanks for the reply. Here are my answers. OS: RHEL 5 S/w: Apache 2.2.15, Mod_jk 1.2.x, Jboss 4.2.1GA - Yes, I am able to reproduce the situation ( actually this situation is consistent not going away) - I cannot check the traffic from the same machine as the machine located in a

Re: Apache + Mod-jk + Jboss Problem

2010-07-16 Thread shivanic
Hello Rainer, Regarding the solution proposed to sniff for packet movement - what tool was used for this purpose. (wireshark is one of the tools used generally ) Rainer Jung-3 wrote: Checking the MAC addresses revealed, those packets were not coming rom the browser, but instead from

Re: Apache + Mod-jk + Jboss Problem

2010-07-16 Thread Rainer Jung
On 16.07.2010 12:55, Rocky Chak wrote: Hi, Thanks for the reply. Here are my answers. OS: RHEL 5 S/w: Apache 2.2.15, Mod_jk 1.2.x, Jboss 4.2.1GA - Yes, I am able to reproduce the situation ( actually this situation is consistent not going away) Can you reproduce without much other load?

Re: SEVERE message from DeltaManager

2010-07-16 Thread Luciano Fioriti
It may be caused by maxThreads parameter in http connector, try to increase lucio 2010/7/16 Mark Thomas ma...@apache.org On 16/07/2010 06:49, Matt Peterson wrote: While load testing our clustered Tomcats, we are seeing the following stack trace in our catalina.out occasionally, but not

Re: SEVERE message from DeltaManager

2010-07-16 Thread Mark Thomas
On 16/07/2010 14:19, Luciano Fioriti wrote: It may be caused by maxThreads parameter in http connector, try to increase On what basis are you reaching that conclusion? Mark lucio 2010/7/16 Mark Thomasma...@apache.org On 16/07/2010 06:49, Matt Peterson wrote: While load testing our

Re: SEVERE message from DeltaManager

2010-07-16 Thread Luciano Fioriti
I had done a stress test with 20 contemporary request to a web app using tomcat6 6bit. When maxThreads=200 tomcat gave response to only some request then went to 0 cpu time no more response, nothing on log file. This happenend only on contemporary requests (max threads reched i presume).

Re: SEVERE message from DeltaManager

2010-07-16 Thread nejet erradi
could you someone please help me? I need to know what is the end of life for Apache tomcat 5.5.28 and 5.5.29. I would appreciate anyone's help Thank you, -Nejet On Fri, Jul 16, 2010 at 9:19 AM, Luciano Fioriti lu.fior...@gmail.comwrote: It may be caused by maxThreads parameter in http

Re: SEVERE message from DeltaManager

2010-07-16 Thread André Warnier
nejet erradi wrote: could you someone please help me? I need to know what is the end of life for Apache tomcat 5.5.28 and 5.5.29. I would appreciate anyone's help Thank you, -Nejet 1) do not hijack threads 2) see http://tomcat.apache.org/whichversion.html

Re: Apache + Mod-jk + Jboss Problem

2010-07-16 Thread Rainer Jung
On 16.07.2010 13:11, shivanic wrote: Hello Rainer, Regarding the solution proposed to sniff for packet movement - what tool was used for this purpose. (wireshark is one of the tools used generally ) Wirshark or tcpdump. Both use libpcap format for the raw packet capture. So you can e.g.

Re: SEVERE message from DeltaManager

2010-07-16 Thread Mark Thomas
On 16/07/2010 14:50, Luciano Fioriti wrote: I had done a stress test with 20 contemporary request to a web app using tomcat6 6bit. When maxThreads=200 tomcat gave response to only some request then went to 0 cpu time no more response, nothing on log file. This happenend only on contemporary

Tomcat and MySQL in Azure Cloud

2010-07-16 Thread Praveen Sripati
We are in the process of migrating Tomcat and MySQL to Microsoft Azure Cloud and facing challenges due to the dynamic nature of the cloud like allocation of dynamic ip and ports to the instances of Tomcat MySQL in Azure. Because of this behavior Tomcat needs to 1) Dynamically update the ip and

Re: Tomcat and MySQL in Azure Cloud

2010-07-16 Thread André Warnier
Praveen Sripati wrote: We are in the process of migrating Tomcat and MySQL to Microsoft Azure Cloud and facing challenges due to the dynamic nature of the cloud like allocation of dynamic ip and ports to the instances of Tomcat MySQL in Azure. Because of this behavior Tomcat needs to 1)

Re: Tomcat and MySQL in Azure Cloud

2010-07-16 Thread Pid
On 16 Jul 2010, at 15:56, Praveen Sripati praveensrip...@gmail.com wrote: We are in the process of migrating Tomcat and MySQL to Microsoft Azure Cloud and facing challenges due to the dynamic nature of the cloud like allocation of dynamic ip and ports to the instances of Tomcat MySQL in

tomcat 7: IllegalArgumentException: taglib definition not consistent with specification version

2010-07-16 Thread Edoardo Panfili
Hy, I did I try with tomcat 7 uploading my application (that works fine with 6.0.26). the application does not starts up and I can see -- 16-lug-2010 19.15.15 org.apache.catalina.startup.ContextConfig parseWebXml GRAVE: Parse error in application web.xml file

Re: jsre_home is null

2010-07-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy, On 7/15/2010 2:52 PM, testwreq wreq wrote: Alternatives is defaulting to /usr/local/jdk1.6.0_20/bin/java (jdk from sun) /usr/bin/java has a symlink to - /usr/local/jdk1.6.0_20/bin/java We launch Tomcat by http://localhost:8080

Re: Tomcat7 HTTPS APR Performance

2010-07-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shivani, On 7/16/2010 3:08 AM, shivanic wrote: For comparing performance of Apache Tomcat 7 with APR and Jboss Web Server with APR version 2.1.4 with Tomcat 7 we have done a load test of an app. The Open SSL and APR libtcnative files were in the

Re: How can i verify clusterization?

2010-07-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luca, On 7/14/2010 2:42 AM, Luca Gervasi wrote: i'm using (mostly): What does (mostly) mean? You have environments that sometimes deviate from this configuration? Sometimes you use another Tomcat and/or JDK just for fun? Tomcat: 2.0.26 No,

how to embed tomcat 7

2010-07-16 Thread Ikonne, Ike
Hi all, I am a newbie to Tomcat, currently I use Jetty Webserver in an embedded mode; can someone point to me on how I could go about embedding Tomcat into my application. When I say embedding, I mean running Tomcat without any of the configurations files that comes with the standalone

java.lang.OutOfMemoryError: PermGen space

2010-07-16 Thread Mehrotra, Anurag
Off lately I have been running into PermGenSpace Out of memory errors. 07/15/2010 20.08.12 java.lang.OutOfMemoryError: PermGen space After reading few posts I even start the tomcat using the following parameter: -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server

RE: how to embed tomcat 7

2010-07-16 Thread Caldarale, Charles R
From: Ikonne, Ike [mailto:ike_iko...@stercomm.com] Subject: how to embed tomcat 7 can someone point to me on how I could go about embedding Tomcat into my application. I don't think anyone has properly documented how to do this, but the first set of APIs you need are here:

RE: java.lang.OutOfMemoryError: PermGen space

2010-07-16 Thread Caldarale, Charles R
From: Mehrotra, Anurag [mailto:amehro...@telebright.com] Subject: java.lang.OutOfMemoryError: PermGen space Off lately I have been running into PermGenSpace Out of memory errors. Are you reloading any webapps? Have you looked inside the heap to see what classes are consuming the PermGen

Re: Tomcat and MySQL in Azure Cloud

2010-07-16 Thread Praveen Sripati
Thanks for the reply. 1. The primary advantage of the cloud is scalability. We can increase servers from 1 to 100 within minutes based on the load. So, initially the JDBC URL might have 1 IP and it should be updated to have 100 IPs. So, the JDBC URL has to updated dynamically with the number of