Re: DBCP and Firewall timeouts

2009-07-07 Thread AD
that would cause this issue? Thanks AD On Thu, Jul 2, 2009 at 9:38 AM, Christopher Schultzch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/1/2009 5:01 PM, David Smith wrote: Christopher Schultz wrote: David, On 7/1/2009 10:49 AM, David Smith wrote

Re: DBCP and Firewall timeouts

2009-07-07 Thread AD
we are using Jruby / Rails / Tomcat. I think what may be happening is that rails has its own connection pool in front of DBCP which could be causing the issue here, not sure yet. AD On Tue, Jul 7, 2009 at 12:20 PM, David Smithd...@cornell.edu wrote: Do you hold on to your connections in code

jvmroute with 8080

2009-07-07 Thread AD
Hello, is there any need for the jvmroute property if we are proxying all web requests through Apache to a Cisco load balancer that is balancing all the tomcat servers on http 8080? My understanding is this is for AJP only but wanted to be sure. Thanks AD

Re: DBCP and Firewall timeouts

2009-07-01 Thread AD
would that simply be the testOnBorrow ? Is there a perf hit for this ? On Wed, Jul 1, 2009 at 4:00 AM, Mark Thomasma...@apache.org wrote: --- Original Message --- From: AD straightfl...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: 01/07/09, 04:37:26 Subject: DBCP

DBCP and Firewall timeouts

2009-06-30 Thread AD
the connection pool connections either get cleanly terminated or are sanity checked for proper connectivity? We are using JRuby/Tomcat/Rails and are seeing a lot of timeouts after inactivity in the app. Thanks AD - To unsubscribe, e

Re: failed ActiveMQ hangs tomcat

2009-02-01 Thread AD
Adam, AD wrote: actually i think i did notice failover() with only 1 address in non-prod. I think the reason that was there was some config templating issue. Are you saying if you remove the failover and just go straight in this might resolve it? Will give it a shot Failover is great

failed ActiveMQ hangs tomcat

2009-01-31 Thread AD
hello, i am running into a situation where if our JMS server is down (activemq) the tomcat application does not respond at all. Not sure why tomcat is relying so heavily on this connection , any ideas as to why this would be ? Thanks Adam

Re: failed ActiveMQ hangs tomcat

2009-01-31 Thread AD
True k...@mustardgrain.com wrote: Hi Adam, AD wrote: hello, i am running into a situation where if our JMS server is down (activemq) the tomcat application does not respond at all. Not sure why tomcat is relying so heavily on this connection , any ideas as to why this would

Re: root context path - war file not unwar'd

2009-01-20 Thread AD
Thanks charles, i thought there was an easier way to make a default webapp other than naming it ROOT.war. I will give that a shot to see if it works. Adam On Mon, Jan 19, 2009 at 10:36 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: AD [mailto:straightfl...@gmail.com

root context path - war file not unwar'd

2009-01-19 Thread AD
Hello, I have an issue where inside a host i set the context path of / to a directory inside webapps (myapp). The issue is when i delete the directory , on first startup the directory is not available yet (not unwar'd yet it appears) so it auto-sets the root context path to the default tomcat

Blocking

2008-12-15 Thread AD
Server has been up for about 5 hours under almost zero load but I am concerned about some of the thread info in JConsole.. For example in Main Thread Name: main State: RUNNABLE Total blocked: 54 Total waited: 9 Does this indicate signifigant blocking? Maybe 10-15 requests total in the last 5

mysql timeout

2008-11-21 Thread AD
Hello, I am trying to troubleshoot an error that seems to occur quite frequently with no real solution. I constantly see com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure in my application after the app runs for a few days. Communication is fine, networking

Re: All threads (200) are currently busy

2008-11-01 Thread AD
This will give you thread dump of tomcat and of course that will include threads associated with your webapp On Fri, Oct 31, 2008 at 5:22 PM, AD [EMAIL PROTECTED] wrote: Fair enough Tomcat 5.5, JVM 1.6, Redhat Enterprise 5, 8Gb Mem, 5Gb Heap. What is the best way to take a thread dump to see what

Re: All threads (200) are currently busy

2008-11-01 Thread AD
ah sorry, proxied through apache with mod_proxy_balancer on ajp port On Sat, Nov 1, 2008 at 2:14 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: AD [mailto:[EMAIL PROTECTED] Subject: Re: All threads (200) are currently busy And yes these were all http requests for the web

Re: All threads (200) are currently busy

2008-11-01 Thread AD
: From: AD [mailto:[EMAIL PROTECTED] Subject: Re: All threads (200) are currently busy ah sorry, proxied through apache with mod_proxy_balancer on ajp port Can you try your load test directly into Tomcat on port 8080 and eliminate one variable? If that test runs satisfactorily, you'll need

All threads (200) are currently busy

2008-10-31 Thread AD
I am trying to find out after doing some load testing why tomcat is getting hung up on some threads. Can anyone provide some info on how to track down where the blocking is happening here? I am unable to diagnose based on this dump.. http://pastie.org/305167 thanks Adam

Re: All threads (200) are currently busy

2008-10-31 Thread AD
. Whats the best way to get the thread dump and find out what process is hung in the webapp ? Thx Adam On Fri, Oct 31, 2008 at 7:31 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: AD [mailto:[EMAIL PROTECTED] Subject: All threads (200) are currently busy First, you need to provide some

Re: All threads (200) are currently busy

2008-10-31 Thread AD
it will dump the stack trace to the standard output stream. Sent from my iPhone On Oct 31, 2008, at 7:23 PM, AD [EMAIL PROTECTED] wrote: Fair enough Tomcat 5.5, JVM 1.6, Redhat Enterprise 5, 8Gb Mem, 5Gb Heap. What is the best way to take a thread dump to see what processes are waiting? We have

Re: All threads (200) are currently busy

2008-10-31 Thread AD
the pastie link that I sent in my original post which was a kill -QUIT when the problem was happening. On Fri, Oct 31, 2008 at 10:49 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: AD [mailto:[EMAIL PROTECTED] Subject: Re: All threads (200) are currently busy will it provide

Re: mod_proxy_balancer

2008-10-14 Thread AD
who does not know how to process /myapp1/ in the browser. Any reason this is a bad idea ? Thx Adam On Mon, Oct 13, 2008 at 10:17 PM, AD [EMAIL PROTECTED] wrote: hello, If i have a tomcat app deployed at http://localhost:8080/myapp1/ and http://localhost:8080/myapp2/ and i want 2

mod_proxy_balancer

2008-10-13 Thread AD
hello, If i have a tomcat app deployed at http://localhost:8080/myapp1/ and http://localhost:8080/myapp2/ and i want 2 virtualhosts in apache to map / to each one of these apps, is this possible? Trying something like Proxy balancer://app1/ BalancerMember ajp://localhost:8009/app1/