Support and Training page now on the Wiki

2008-11-01 Thread Mark Thomas
All, The following page has recently been added to the wiki: http://wiki.apache.org/tomcat/SupportAndTraining If you as an individual or the company you work for provide support and/or Tomcat training please feel free to go ahead and add the appropriate entry(s). As I am typing this it occurs to

Re: All threads (200) are currently busy

2008-11-01 Thread AD
I did try connecting directly to 8080 on a few of the tomcat serviers in the cluster but the requests were just hanging. I can run the load test again though with apache out of the mix and see what happens. Adam On Sat, Nov 1, 2008 at 5:25 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: >

RE: All threads (200) are currently busy

2008-11-01 Thread Caldarale, Charles R
> 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

Re: Convenient web application configuration.

2008-11-01 Thread Bill Barker
"Jason Cipriani" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm using Tomcat 6.0.18 on Windows XP SP3, Windows Server 2003, and > Windows Vista (UAC disabled). > > I have a web application with a lot of configuration options, all > currently stored as servlet initialization par

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 w

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread Caldarale, Charles R
> From: keeplearning [mailto:[EMAIL PROTECTED] > Subject: RE: Thread Dumps/ Emailing Results... > > I can get pid using ps -ef | grep tomcat. Not likely. Tomcat is a Java program, so unless something on the command line includes the symbol "tomcat" (mine doesn't), that won't find it. Again, usi

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread keeplearning
OK. Actually i also use putty. So, may be i just need kill -3 pid. I can get pid using ps -ef | grep tomcat. One more question: What do i need to do restart tomcat? Someone told me is enough? Thanks Caldarale, Charles R wrote: > >> From: keeplearning [mailto:[EMAIL PROTECTED] >> Subject:

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread Caldarale, Charles R
> From: keeplearning [mailto:[EMAIL PROTECTED] > Subject: RE: Thread Dumps/ Emailing Results... > > 1) I tried using following to mail the file as attachment (we > are also using MS Outlook): > > mail -s "Subject:test" [EMAIL PROTECTED] < test.log That's using a Linux mailer, not Outlook; can't he

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread keeplearning
Thanks for your reply, Chuck. couple of quick questions: 1) I tried using following to mail the file as attachment (we are also using MS Outlook): mail -s "Subject:test" [EMAIL PROTECTED] < test.log But it sends the output in the body rather than as an attachment. I even tried uuencode but sti

RE: All threads (200) are currently busy

2008-11-01 Thread Caldarale, Charles R
> From: AD [mailto:[EMAIL PROTECTED] > Subject: Re: All threads (200) are currently busy > > And yes these were all http requests for the web applicatoin > for our load test. The wasn't quite the question. Are the requests being sent through your httpd front end on the AJP port, or direct to Tom

Re: All threads (200) are currently busy

2008-11-01 Thread AD
Yea the link above is the kill -QUIT output. We do have aanother webapp connected to an ActiveMQ broker so that makes sense. I assumed the same as you Charles, that Tomcat was "waiting" for work, but we were running a load test at the time and the responses were coming back slowly. Trying to na

RE: Thread Dumps/ Emailing Results...

2008-11-01 Thread Caldarale, Charles R
> From: keeplearning [mailto:[EMAIL PROTECTED] > Subject: Thread Dumps/ Emailing Results... > > So, do i need to supply process id with this command. Like: > kill -3 . That's one way to do it. My preference is to use the jstack tool from the JDK, assuming you're running a 1.5 or 1.6 Sun JVM. Yo

Thread Dumps/ Emailing Results...

2008-11-01 Thread keeplearning
Hi All, I am a load test engineer and pretty new to tomcat. I would really appreciate if someone can help me with couple of my basic questions: 1) have seen some of my colleagues using kill -3 to take the thread dumps? So, do i need to supply process id with this command. Like: kill -3 . Then do

Re: All threads (200) are currently busy

2008-11-01 Thread Mohit Anchlia
try kill -QUIT 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 tak

Re: Blocked threads in tomcat

2008-11-01 Thread Mohit Anchlia
On Fri, Oct 31, 2008 at 5:52 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> From: emerson cargnin [mailto:[EMAIL PROTECTED] >> Subject: Blocked threads in tomcat >> >> Below is the JConsole result, you can see that there are a lot of >> blocked threads on there. >> >> Stack trace: >> java.l

Re: JSP recompiles on every access - Tags in jar

2008-11-01 Thread Mark Thomas
Ron McNulty wrote: > Hi Mark > > Thanks - that appears to be exactly the problem. I searched the bug > database, but did not find that one. > > I will have a go at applying Cedric Mailleux's patch to our Tomcat > 5.5.23 source and deploying the patch to Jetspeed. It will certainly be > easier tha