Re: modjk apache response questions

2011-04-29 Thread Harsimranjit singh Kler
Hi andre Actully i m testing performance of my setup.I have apache 2.2.17 handling requests and configured 4 tomcats with modjk connector. ServerLimit 30 worker MPM details: StartServers 20 MaxClients 1500 MinSpareThreads 40 MaxSpareThreads 100 ThreadsPerChild 50 MaxRequestsPerChild 0

Tomcat threads management

2011-04-29 Thread André Warnier
Hi. versions : Front-end httpd : [Mon Apr 25 19:13:18 2011] [notice] Apache/2.2.9 (Debian) DAV/2 mod_jk/1.2.26 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations Tomcat: Using CATALINA_BASE: /usr/share/tomcat5.5 Using CATALINA_HOME:

Tomcat stop responding without any reason

2011-04-29 Thread kkazmierczyk
Hello, Here is the configuration used: 1. MS Windows Server 2003 R2 SP2 2. 4GB RAM 3. Tomcat has set -Xmx to 1G 4. Tomcat 5.5.30 5. This is production environment The server had been working for a long time quite well but one day it stopped responding (it did not respond on request) with weird

Re: modjk apache response questions

2011-04-29 Thread André Warnier
Hi. I am still not quite sure that I understand the way your are presenting your results, below. What does a line like b) 800 request 1 LB ,3 tomcat==Slow response time(double) actually mean ? Apart from that : a) minProcessors=25 maxProcessors=2000 these attributes are deprecated, see

RE: Tomcat stop responding without any reason

2011-04-29 Thread Martin Gainty
startup problems *usually occur* if you have a misconfiguration in your server.xml or perhaps context.xml for your ROOT webapp we could provide greater assistance if you could you display both server.xml and context.xml declarators to group Dziękuję Martin

Re: Tomcat stop responding without any reason

2011-04-29 Thread Konstantin Kolinko
2011/4/29 kkazmierc...@poczta.wp.pl: Hello, Here is the configuration used: 1. MS Windows Server 2003 R2 SP2 2. 4GB RAM 3. Tomcat has set -Xmx to 1G 4. Tomcat 5.5.30 5. This is production environment The server had been working for a long time quite well but one day it stopped

Re: Tomcat threads management

2011-04-29 Thread Konstantin Kolinko
2011/4/29 André Warnier a...@ice-sa.com: Server version: Apache Tomcat/5.5 Server built: Oct 15 2008 12:57:44 Server number: 5.5.26.0 Intuitively, I would expect that after some time, the number of live threads would be decreasing back to the minSpareThreads value, but that does not seem

Re: modjk apache response questions

2011-04-29 Thread Harsimranjit singh Kler
Hi My Setup one load balancer(apache ) and three tomcat server . so 800 requests me i am hitting on apache loadbalancer using SOAP UI s\w now apache using modjk connector(equal load among all worker .Rondrobin) and distributing requests to 3 tomcats .So 270 aprx for each tomcat worker. If

mojk and utf8 charset problem

2011-04-29 Thread Thierry Templier
Hello, I developped an application that uses UTF8 encoding since it needs to display arabic characters. When directly accessing the application from Tomcat, everything works fine. When I tried to access it through Apache web server and mod jk, I have problems to display such characters. Utf8

RE: (Issue) Tomcat 7.0.12 silent install

2011-04-29 Thread John.Marcinek
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Thursday, April 28, 2011 6:01 PM I filed en enhancement request, https://issues.apache.org/bugzilla/show_bug.cgi?id=51135 Thanks Konstantin. John - To

Re: Tolerate expired certificates

2011-04-29 Thread Chris Beckey
Are you confident OpenSSL ... From what you have presented so far I'd say the answer is yes. Regardless of which library you are using, the TLS/SSL handshake protocol is completed before Tomcat code has been called into so it is either an OpenSSL or a JSSE lib issue and not, at least technically,

RE: Simple Tomcat monitoring ?

2011-04-29 Thread Matteo Turra
Try to analyze your java process with http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html and http://visualvm.java.net/ -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: martedì 12 aprile 2011 15:43 To: Tomcat Users List Subject: Re: Simple Tomcat

FarmWarDeployer Tomcat 7.0.12 Clustering Help

2011-04-29 Thread Seth Lenzi
I'm trying to use org.apache.catalina.ha.deploy.FarmWarDeployer with Tomcat 7.0.12 to deploy my war files to a Tomcat cluster (two Tomcat's both version 7.0.12.) They war file is successfully deployed to both Tomcats but then the war is immediately un-deployed from one of them. The

Re: FarmWarDeployer Tomcat 7.0.12 Clustering Help

2011-04-29 Thread Mark Thomas
On 29/04/2011 15:29, Seth Lenzi wrote: I'm trying to use org.apache.catalina.ha.deploy.FarmWarDeployer with Tomcat 7.0.12 to deploy my war files to a Tomcat cluster (two Tomcat's both version 7.0.12.) They war file is successfully deployed to both Tomcats but then the war is immediately

Re: FarmWarDeployer Tomcat 7.0.12 Clustering Help

2011-04-29 Thread Seth Lenzi
Sorry, I thought the question was obvious. It deploys but then undeploys with the severe error I mentioned below. I don't want the error I want the FarmWarDeployer to deploy the war to both Tomcats and remain deployed... C:/Tomcats/apache-tomcat-7.0.12_node1

RE: mojk and utf8 charset problem

2011-04-29 Thread Matteo Turra
From my experience modjk doesn't have charset configuration, only on connector into server.xml you can change charset configuration (URIEncodig, useBodyEncodingForURI) but only to parse the uri and parameters of the request, not for output. Did you try with the same tomcat to get pages from

Re: mojk and utf8 charset problem

2011-04-29 Thread André Warnier
Thierry Templier wrote: Hello, I developped an application that uses UTF8 encoding since it needs to display arabic characters. When directly accessing the application from Tomcat, everything works fine. When I tried to access it through Apache web server and mod jk, I have problems to

Re: maxThread connections

2011-04-29 Thread Monty wig
Gurus - I am working on a situation where Apache spits Proxy Errors while trying to get a page form Tomcat. We are running Apache 2.2.3 and tomcat 5.5 on the same box and using mod_proxy to redirect traffic to tomcat on port 8080. Tomcat has maxThreads=150 but when we look at the total # of

Problem with connection pool

2011-04-29 Thread chris derham
All, I am having a weird problem with an app. We were having concurrency issues, so we setup some simple pessimistic locking - we lock a single table using select for update. We have developed a jmeter script that allows us to test the app when loaded. Repeatedly after different intervals, but

Re: Problem with connection pool

2011-04-29 Thread David kerber
On 4/29/2011 12:57 PM, chris derham wrote: All, I am having a weird problem with an app. We were having concurrency issues, so we setup some simple pessimistic locking - we lock a single table using select for update. We have developed a jmeter script that allows us to test the app when loaded.

Re: Logrotate killing Tomcat

2011-04-29 Thread Alex Carvalho da Silva
Hi Chris, I ran manually /usr/sbin/logrotate /etc/logrotate.conf and the aplication shutdown. Can mod_jk shutdown the tomcat? I suspicious that configuration in my workers.properties: worker.institucional-homologacao-west.socket_timeout=1800

Tomcat connections

2011-04-29 Thread Monty wig
Gurus - I am working on a situation where Apache spits Proxy Errors while trying to get a page form Tomcat. We are running Apache 2.2.3 and tomcat 5.5 on the same box and using mod_proxy to redirect traffic to tomcat on port 8080. Tomcat has maxThreads=150 but when we look at the total # of

RE: Problem with connection pool

2011-04-29 Thread Caldarale, Charles R
From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Problem with connection pool So what I deduce is that a connection goes to server, obtains the lock, and then somehow swapped out and so never commits transaction, hence lock is never released, hence

Re: Tomcat connections

2011-04-29 Thread André Warnier
Monty wig wrote: Gurus - I am working on a situation where Apache spits Proxy Errors while trying to get a page form Tomcat. We are running Apache 2.2.3 and tomcat 5.5 on the same box and using mod_proxy to redirect traffic to tomcat on port 8080. Tomcat has maxThreads=150 but when we look at

Re: SessionExample from the examples webapp

2011-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 János, On 4/28/2011 11:41 AM, János Löbb wrote: Thanks a lot for the suggestion. Where should I look for those scripts ? If you have the source, you have the build scripts: build.xml and friends are used with Apache ant. In the meantime I

Re: pure tomcat failover (no loadbalacing)

2011-04-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 4/28/2011 12:44 PM, Felix Schumacher wrote: Christopher Schultz ch...@christopherschultz.net schrieb: Felix and Guillaume, I think you guys are working too hard for this. Isn't it as simple as using a redirect from each worker to

Re: Logrotate killing Tomcat

2011-04-29 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Alex, On 04/29/2011 07:19 PM, Alex Carvalho da Silva wrote: I ran manually /usr/sbin/logrotate /etc/logrotate.conf and the aplication shutdown. Can mod_jk shutdown the tomcat? No it can not. You should look in /etc/logrotate.conf which files