Re: Log ownership when running Tomcat using jsvc

2011-08-05 Thread Mladen Turk
On 08/05/2011 04:46 AM, Jorge Medina wrote: Right, I can't understand why the JULI files are owned by root. any ideas? Hmm, seems like JULI creates log files before we call the org.apache.catalina.startup.Bootstrap On Solaris user is switched just before we call Bootstrap so any files

Re: Tomcat 7 adds jsessionid in request URI as opposed to Tomcat 5

2011-08-05 Thread Pid *
On 4 Aug 2011, at 08:23, Javed javed.at...@gmail.com wrote: I was using Tomcat 5.0.28 before using Tomcat 7.0.16. The application was working perfectly fine. Recently, we have migrated from Tomcat 5 to Tomcat 7. The application works fine for most of the part but gives problem with

RE: Sticky Session Not Working With Apache 2.0.54 and Tomcat 7.0.8

2011-08-05 Thread Lataxes, Karl
After some testing, I determined that appending the session ID to the URL will not work. I can, however, add the session ID as a new HTTP header, but I have to determine which modules to use (mod_headers, mod_proxy, mod_proxy_http, mod_proxy_balancer?) and how to configure sticky sessions

RE: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Jeffrey Janner
Dante - Take a real close look at the application running in Tomcat. I've had similar issues where Tomcat was suddenly using all configured request threads, but they were all waiting on something else to happen. I found the problem to be a minor defect with the DB pooling code from the DB vendor

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Mark Thomas
On 05/08/2011 15:34, Dante Bell wrote: Hi, I'm running out of ideas on what to try for this customer. Their load tests show that Tomcat is getting to a point where it no longer services requests. Let me guess. It is fine for low loads but as soon as the load goes above a certain number

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Pid
On 05/08/2011 16:12, Mark Thomas wrote: On 05/08/2011 15:34, Dante Bell wrote: Hi, I'm running out of ideas on what to try for this customer. Their load tests show that Tomcat is getting to a point where it no longer services requests. Let me guess. It is fine for low loads but as soon as

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread André Warnier
Pid wrote: On 05/08/2011 16:12, Mark Thomas wrote: On 05/08/2011 15:34, Dante Bell wrote: Hi, I'm running out of ideas on what to try for this customer. Their load tests show that Tomcat is getting to a point where it no longer services requests. Let me guess. It is fine for low loads but as

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Dante Bell
Thanks! Like I said, I'm an OS/HW guy, never looked at java b4! They are saying that the load test has 20 'connections' so I'm guessing that's the 20 STMs. Now, is this a fixable thing within the Java stack? Or is it an application limitation? Danté On 08/05/2011 11:12 AM, Mark Thomas wrote:

RE: Tomcat 7 and Java 7

2011-08-05 Thread Jarnagin.Andrew
It is working for me now. I think it had to do with remnants of multiple JDK versions on my machine including RC Java 7 releases. It caused many exceptions to show in the console on start-up and a 404 response for http:localhost:8080. I uninstalled and removed all Java from the host and

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Mark Thomas
On 05/08/2011 16:56, Dante Bell wrote: Thanks! Like I said, I'm an OS/HW guy, never looked at java b4! They are saying that the load test has 20 'connections' so I'm guessing that's the 20 STMs. Now, is this a fixable thing within the Java stack? Or is it an application limitation? It

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Dante Bell
This is probably a really dumb question, but say they implement load-balanced Tomcat on 2 nodes for example. Would that then allow for greater than 20 STMs for the servlets? On 08/05/2011 12:00 PM, Mark Thomas wrote: On 05/08/2011 16:56, Dante Bell wrote: Thanks! Like I said, I'm an OS/HW

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Mark Thomas
On 05/08/2011 17:10, Dante Bell wrote: This is probably a really dumb question, but say they implement load-balanced Tomcat on 2 nodes for example. Would that then allow for greater than 20 STMs for the servlets? It will allow them up to 20 concurrent requests per STM Servlet per Tomcat

Re: Tomcat 7 and Java 7

2011-08-05 Thread Pid
On 05/08/2011 16:59, Jarnagin.Andrew wrote: It is working for me now. I think it had to do with remnants of multiple JDK versions on my machine including RC Java 7 releases. It caused many exceptions to show in the console on start-up and a 404 response for http:localhost:8080. I

RE: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Caldarale, Charles R
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive Now, is this a fixable thing within the Java stack? Or is it an application limitation? The other option is re-write the STM Servlet(s) as non-STM. What

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Mark Eggers
- Original Message - From: Pid p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Friday, August 5, 2011 8:35 AM Subject: Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive On 05/08/2011 16:12, Mark Thomas wrote: On

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Mark Eggers
- Original Message - From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Friday, August 5, 2011 9:38 AM Subject: RE: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive From: Mark Thomas

Design Question

2011-08-05 Thread Mohit Anchlia
We are developing a new system that will run in parallel with old system. So some requests will go to new system and some old based on configuration. We will put software switch software which will read configuration and the request and decide which system this will go to. This switch calls

Re: Design Question

2011-08-05 Thread André Warnier
Mohit Anchlia wrote: We are developing a new system that will run in parallel with old system. So some requests will go to new system and some old based on configuration. We will put software switch software which will read configuration and the request and decide which system this will go to.

Re: Design Question

2011-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 1:59 PM, Mohit Anchlia wrote: This switch calls HttpClient Post calls using thread pools to send the request to other systems. Uh, why not use an HTTP proxy instead of using HttpClient. Squid, Apache httpd, countless LBs, and

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/5/2011 12:00 PM, Mark Thomas wrote: On 05/08/2011 16:56, Dante Bell wrote: Thanks! Like I said, I'm an OS/HW guy, never looked at java b4! They are saying that the load test has 20 'connections' so I'm guessing that's the 20 STMs.

Re: Design Question

2011-08-05 Thread Mohit Anchlia
On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 1:59 PM, Mohit Anchlia wrote: This switch calls HttpClient Post calls using thread pools to send the request to other systems. Uh, why

Re: Design Question

2011-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:05 PM, Mohit Anchlia wrote: On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz Uh, why not use an HTTP proxy instead of using HttpClient. Squid, Apache httpd, countless LBs, and many others have this capability without you

Re: Design Question

2011-08-05 Thread Mohit Anchlia
On Fri, Aug 5, 2011 at 2:41 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 8/5/2011 5:05 PM, Mohit Anchlia wrote: On Fri, Aug 5, 2011 at 1:37 PM, Christopher Schultz Uh, why not use an HTTP proxy instead of using

Apache and tomcat compatibility with Oracle 11R1

2011-08-05 Thread TAK, RUDRA (ATTSI)
Hi, Recently we upgraded to tomcat6.0.32 and Oracle 11R1 G. We have Apache vs 1.3.41 and OS AIX5.3. 1) We are facing issues with web-interface not accessible sometimes even when apache and tomcat are up. When we bounce them it use to become accessible. 2) Also observing high CPU

Re: Apache and tomcat compatibility with Oracle 11R1

2011-08-05 Thread Konstantin Kolinko
2011/8/6 TAK, RUDRA (ATTSI) rt1...@att.com: Recently we upgraded to tomcat6.0.32 and Oracle 11R1 G. We have Apache vs 1.3.41 and OS AIX5.3. Apache HTTPD version is seriously outdated. IIRC 1.3.x versions are no mote supported. Cannot say anything about your OS. (And what version of Java are

Re: Urgent: Tomcat 6.0.20 on Solaris 10 Reaches max threads and is non responsive

2011-08-05 Thread Dante Bell
Hi Guys, I hate to pick your brains on this as the customer should know how to do this, but they tasked me to find out ;( Is there any API or other method they can code that will give them an indication of nearing this threshold? I know it's a crappy solution, but I thought I'd ask anyway :)