Re: Apache Process going high even after restart of backend server tomcat

2011-01-12 Thread Amol Puglia
Hello Andre Warnier, Thanks for the response. 2) tell us what the platform is (O.S.) - it is solaris platform :- uname -a SunOS 5.10 Generic_141414-10 sun4u sparc SUNW,Sun-Fire-V890  3) if you can, also tell what exact version of the mod_jk moduile you are using. You should be able to find

Re: Apache Process going high even after restart of backend server tomcat

2011-01-12 Thread Amol Puglia
Hello Rainer Jung, Thanks for the response. I can see there are many threads like below which are in sleep state. I have taken thread dumps 4 or 5 times and can see this threads in all the dumps. For the instance i am pasting some of similar kind of threads from the thread dump. I have to

Re: Apache Process going high even after restart of backend server tomcat

2011-01-12 Thread Leon Rosenberg
So its time you investigate what this MuxServlet is doing... regards Leon On Wed, Jan 12, 2011 at 9:31 AM, Amol Puglia amolcpug...@yahoo.com wrote: Hello Rainer Jung, Thanks for the response. I can see there are many threads like below which are in sleep state. I have taken thread dumps 4

Environment parameter overriding

2011-01-12 Thread patric
Hi, I've got a question regarding enviroment parameters: Imagine a web application which web.xml defines an environment (env-entry) parameter (even empty) myParameter: env-entry descriptiontest/description env-entry-namemyParameter/env-entry-name

Re: Apache Process going high even after restart of backend server tomcat

2011-01-12 Thread André Warnier
Leon Rosenberg wrote: So its time you investigate what this MuxServlet is doing... Yes. And Amol, just to clear another question : erib2bdev.ericsson.net, that /is/ your own server, yes ? - To unsubscribe, e-mail:

Re: Apache Process going high even after restart of backend server tomcat

2011-01-12 Thread Amol Puglia
Hello Andre Warnier, Yes it is DNS name of our one of the server --- On Wed, 1/12/11, André Warnier a...@ice-sa.com wrote: From: André Warnier a...@ice-sa.com Subject: Re: Apache Process going high even after restart of backend server tomcat To: Tomcat Users List users@tomcat.apache.org Date:

Re: Tomcat6 with mod_jk

2011-01-12 Thread Peter Sparkes
Thank you for your help Christopher. I have got it to work and I will publish my configuration when I have sorted out a couple of other things which I will raise separately Regards Peter -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 1/8/2011 8:28 PM, Peter Sparkes wrote:

Re: Environment parameter overriding

2011-01-12 Thread Mark Thomas
On 12/01/2011 09:37, pat...@rufflar.com wrote: Hi, I've got a question regarding enviroment parameters: Imagine a web application which web.xml defines an environment (env-entry) parameter (even empty) myParameter: env-entry descriptiontest/description

Charset configuration on Tomcat 6

2011-01-12 Thread Achal Patel
Hi All, What is equivalent configuration in Tomcat for below charset configuration in Weblogic? URI encoding param on Connector does not seem to be working (URIEncoding=UTF-8)? charset-params input-charset resource-path*/resource-path java-charset-nameUTF8/java-charset-name

Re: Environment parameter overriding

2011-01-12 Thread patric
Particularly override Unfortunately not. The override setting does not seem to have any effect, I tried all 3 values (true, false and to rely on the default) Zitat von Mark Thomas ma...@apache.org: On 12/01/2011 09:37, pat...@rufflar.com wrote: Hi, I've got a question regarding

Re: Environment parameter overriding

2011-01-12 Thread Mark Thomas
On 12/01/2011 14:27, pat...@rufflar.com wrote: Particularly override Unfortunately not. The override setting does not seem to have any effect, I tried all 3 values (true, false and to rely on the default) Exact Tomcat version? Mark Zitat von Mark Thomas ma...@apache.org: On

RE: Environment parameter overriding

2011-01-12 Thread Caldarale, Charles R
From: pat...@rufflar.com [mailto:pat...@rufflar.com] Subject: Re: Environment parameter overriding The override setting does not seem to have any effect, I tried all 3 values (true, false and to rely on the default) Post your Context setting for the webapp of interest. (And if you've put

Re: Apache Process going high even after restart of backend server tomcat

2011-01-12 Thread André Warnier
Thank you for the data below. Some additional tips : First : you are running old versions of Apache httpd, mod_jk and Tomcat (and probably also of the Java JVM). You should really update these programs to more recent versions (at least Apache httpd to 2.2.x, and mod_jk to the latest

Re: Charset configuration on Tomcat 6

2011-01-12 Thread Mark Thomas
On 12/01/2011 14:26, Achal Patel wrote: Hi All, What is equivalent configuration in Tomcat for below charset configuration in Weblogic? URI encoding param on Connector does not seem to be working (URIEncoding=UTF-8)? URIEncoding is probably what you need although being more explicit then

Re: Environment parameter overriding

2011-01-12 Thread patric
I've tested it with Tomcat 5.5.31, 5.5.25 and 6.0.29 Zitat von Mark Thomas ma...@apache.org: On 12/01/2011 14:27, pat...@rufflar.com wrote: Particularly override Unfortunately not. The override setting does not seem to have any effect, I tried all 3 values (true, false and to rely on the

Apache Portable Runtime (APR) based Native library for Tomcat

2011-01-12 Thread Peter Sparkes
Hello, I have a number of Tomcat6 instances, using mod_jk, each of which runs a separate website (linux debian lenny). My catalina.out files contain: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the

RE: Environment parameter overriding

2011-01-12 Thread patric
Post your Context setting for the webapp of interest. Context path=/trunk Listener className=org.apache.catalina.startup.TldConfig/ Listener className=org.apache.catalina.startup.TldConfig/ Environment name=myParameter

Re: Apache Portable Runtime (APR) based Native library for Tomcat

2011-01-12 Thread Pid
On 1/12/11 2:51 PM, Peter Sparkes wrote: Hello, I have a number of Tomcat6 instances, using mod_jk, each of which runs a separate website (linux debian lenny). My catalina.out files contain: INFO: The APR based Apache Tomcat Native library which allows optimal performance in

RE: Environment parameter overriding

2011-01-12 Thread Caldarale, Charles R
From: pat...@rufflar.com [mailto:pat...@rufflar.com] Subject: RE: Environment parameter overriding Context path=/trunk Listener className=org.apache.catalina.startup.TldConfig/ Listener className=org.apache.catalina.startup.TldConfig/ Environment name=myParameter

Re: Environment parameter overriding

2011-01-12 Thread Mark Thomas
On 12/01/2011 15:09, Caldarale, Charles R wrote: What tomcat administration interface are you referring to? The manager app certainly doesn't write into server.xml, and there is no other administration interface in any supported version of Tomcat. It is in 5.5.x which is still supported.

unsubscribe

2011-01-12 Thread yujian

running tomcat with a website wich is not the IIS-default website

2011-01-12 Thread Stefan Zitzen
Hi, since a few years i am using the tomcat (Version 4.1.30 on a Win2K-system) in connection with iis via the isapi_redirect.dll. Everything was great but now i have a big problem: iis serves the IIS-defaultwebsite and a few others and servlets were only used in connection with the default

Re: Apache Process going high even after restart of backend server tomcat

2011-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amol, On 1/12/2011 3:31 AM, Amol Puglia wrote: I can see there are many threads like below which are in sleep state. I have taken thread dumps 4 or 5 times and can see this threads in all the dumps. For the instance i am pasting some of

Re: Possible race condition with mod_jk + multiple workers in recovery mode

2011-01-12 Thread Rainer Jung
On 12.01.2011 00:59, Andy Wang wrote: I'm not sure, but it looks like the service() function in jk_lb_worker.c calls puts a recovering worker into the JK_LB_STATE_PROBE state and then doesn't set it to JK_LB_STATE_OK until after the end-service() call. I think this allows a second thread to

Re: Possible race condition with mod_jk + multiple workers in recovery mode

2011-01-12 Thread Andy Wang
On 01/12/2011 03:36 PM, Rainer Jung wrote: That was meant as an improvement. Recovery is only used, when a worker has been in error state for enough time (by default 60 seconds) and we want to find out whether it is still in error or not. mod_jk has no active probing with test URLs, so if the

tomcat won't start via remote ssh command

2011-01-12 Thread james
Hi Guys, I created a simple (i thought) script to restart a tomcat server when our alerting system sees the site as down (almost always a memory issue that a reboot of the tomcat server fixes). The script runs and works fine when executed as the user on the local server. When run via ssh, it

RE: tomcat won't start via remote ssh command

2011-01-12 Thread Caldarale, Charles R
From: james [mailto:ja...@wintercastle.net] Subject: tomcat won't start via remote ssh command Using JRE_HOME: /usr Looks like you haven't set JAVA_HOME or JRE_HOME properly. At least one of those must be set to a JDK or JRE (respectively) location. - Chuck THIS COMMUNICATION MAY

Re: tomcat won't start via remote ssh command

2011-01-12 Thread Konstantin Kolinko
2011/1/13 james ja...@wintercastle.net: Connection to tomcatserver.domain.com closed. man nohup? Any help would be very much appreciated if you have experience with this. Anything in the logs? Best regards, Konstantin Kolinko

Re: Charset configuration on Tomcat 6

2011-01-12 Thread Achal Patel
Thanks a lot Mark for responding on this. Scenario is: I have a web application where I want user to input Russian characters (Table is UNICODE compliant). The java web application, when deployed on Weblogic is accepting Russian Characters and persisted correctly in the database. While the same

Re: Charset configuration on Tomcat 6

2011-01-12 Thread Konstantin Kolinko
2011/1/13 Achal Patel patel.ac...@gmail.com: Thanks a lot Mark for responding on this. Scenario is: I have a web application where I want user to input Russian characters (Table is UNICODE compliant). The java web application, when deployed on Weblogic is accepting Russian Characters and

Re: tomcat won't start via remote ssh command

2011-01-12 Thread Pid *
On 13 Jan 2011, at 02:42, james ja...@wintercastle.net wrote: I created a simple (i thought) script to restart a tomcat server when our alerting system sees the site as down (almost always a memory issue that a reboot of the tomcat server fixes). Tomcat version? Did you know there's some