Re: Response already comitted on first line of servlet

2008-07-04 Thread Tom van Wietmarschen
Tom van Wietmarschen wrote: L.S, I'm investigating a problem in which one of our servlets doesn't return any headers most of the time (sometimes it does work, but it seems quite random) After a bit of digging I found out that the reason the headers aren't added is that the response already

Graceful shutdown

2008-07-04 Thread Antonio Parolini
Hello, We use Tomcat 5.5.23 Using the command catalina.sh stop interrupts abruptly any working servlet threads and stop Tomcat. Is there a way of shutting tomcat gracefully? For me, an example of graceful shutdown would be: 1) The HTTP connector stop accepting new requests 2) Tomcat wait

Re: Tomcat Runs OutOfMemory (Not at repeated WAR deployments)

2008-07-04 Thread Maduranga
I changed options to : export CATALINA_OPTS=-server -XX:+HeapDumpOnOutOfMemoryError -verbose:gc -XX:HeapDumpPath=/data02/www2/vhosts/merchants.koodos.com/dumps/ -Xms1024m -Xmx1024m Waiting to see the results today. Since a couple of days only this issue started (OutOfMem..) I can see the

Re: Tomcat 5.5.25 freezes

2008-07-04 Thread Anthony Chamas
Thanks for your replies, I'll try to disable the keep-alive connections ... Will get back to you... One detail I did not mention : I am on a 2003 server ( which does not make the thread dump that easy ! ) Tony 2008/7/4 Johnny Kewl [EMAIL PROTECTED]: - Original Message - From: Clovis

RE: preventing manifest write

2008-07-04 Thread J Ilari Moilanen
It works! I unpacked displaytag-1.1.jar and moved the classes under classes folder. And now it works as it is supposed to. Thank you :) Regards, Ilari On Thu, 3 Jul 2008, Caldarale, Charles R wrote: From: J Ilari Moilanen [mailto:[EMAIL PROTECTED] Subject: RE: preventing manifest write

Re: /tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not found.

2008-07-04 Thread Rainer Jung
Linda Lee wrote: Hi Thank you for your suggestion. I am using mod_jk-1.2.26-httd-2.0.61.so from Tomcat 5.5.25 and I got the below error: -- error API module structure 'jk_module' in file /tomcat/mod_jk-1.2.26-httpd-2.0.61.so is garbled - expected signature 41503232 but saw 41503230 -

Re: Graceful shutdown

2008-07-04 Thread Ben Stringer
On Fri, 2008-07-04 at 00:54 -0700, Antonio Parolini wrote: Hello, We use Tomcat 5.5.23 Using the command catalina.sh stop interrupts abruptly any working servlet threads and stop Tomcat. Is there a way of shutting tomcat gracefully? For me, an example of graceful shutdown would be:

[ANN] Apache Tomcat Native 1.1.14 released

2008-07-04 Thread jean-frederic clere
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.14 stable. This release includes few bug fixes over Apache Tomcat Native 1.1.13. Please refer to the change log for the list of changes: http://tomcat.apache.org/native-doc/miscellaneous/changelog.html

Re: Tomcat 5.5.25 freezes

2008-07-04 Thread Johnny Kewl
- Original Message - From: Anthony Chamas [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, July 04, 2008 11:01 AM Subject: Re: Tomcat 5.5.25 freezes Thanks for your replies, I'll try to disable the keep-alive connections ... Will get back to you... One

Re: Tomcat 5.5.25 freezes

2008-07-04 Thread Johnny Kewl
Tony, just had another thought When you whack it with Jmeter... open the task manager, and dont watch the memory, with caching and swapping it doesnt mean much... just watch the handles... they should go up and come back to the original levels quickly if they climbing and climbing,

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-04 Thread Clovis Wichoski
Hi, Christophe, in the follow link you will encounter the IBM Thread and Monitor Dump Analyzer for Java: http://www.alphaworks.ibm.com/tech/jca its a great tool to analyse a sequence of jstack snapshots i hope this helps you to find your problem too. regards Clóvis On Tue, Jul 1, 2008 at

Re: Tomcat 5.5.25 freezes

2008-07-04 Thread Johnny Kewl
Tony... just another thought... I want to change the philosophy a little If YOU open a stream... ie File f = new File Buffered streams etc... Then make absolutey sure you close them... BUT If you GET a stream from TC... ie OutputStream out = response.getOutputStream(); DONT CLOSE

Make uploaded files survive to re-deploy

2008-07-04 Thread Paolo Niccolò Giubelli
Hi! I'm very enthusiastic about tomcat, but I have a problem. I deployed several web applications into an apache tomcat 5.5 webserver instance, and most of them get images from the clients via file upload. Sometimes I need to change something or correct bugs, and obviously I need to redeploy

Re: Make uploaded files survive to re-deploy

2008-07-04 Thread Johnny Kewl
- Original Message - From: Paolo Niccolò Giubelli [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Friday, July 04, 2008 4:25 PM Subject: Make uploaded files survive to re-deploy Hi! I'm very enthusiastic about tomcat, but I have a problem. I deployed several web applications

RE: Make uploaded files survive to re-deploy

2008-07-04 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Make uploaded files survive to re-deploy We us the Apache web server as well, and we dump image files to that That adds unnecessary complexity and impacts performance for dynamic content. If I use an external directory, it would

Memory Usage Differ for same TOMCAT5.5.23

2008-07-04 Thread karthikn
Hi Please need this Information Memory Usage Differ for same TOMCAT5.5.23 on 32 / 64 bit Java Version ? with regards Karthik - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Memory Usage Differ for same TOMCAT5.5.23

2008-07-04 Thread Mark Thomas
karthikn wrote: Hi Please need this Information Memory Usage Differ for same TOMCAT5.5.23 on 32 / 64 bit Java Version ? None. Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Tomcat Runs OutOfMemory (Not at repeated WAR deployments)

2008-07-04 Thread Maduranga
Thanks a lot for the Tip. Eclipse MAT helped a lot! All the best to all of you!! On Fri, Jul 4, 2008 at 5:56 AM, Surendrakumar Viswanathan -X (suviswan - HCL at Cisco) [EMAIL PROTECTED] wrote: Hi Add -XX:+HeapDumpOnOutOfMemoryError option to you JVM parameter. It will dump the heap (in

Re: Memory Usage Differ for same TOMCAT5.5.23

2008-07-04 Thread karthikn
Hi java on UNIX by default starts in 32 bit mode to run java in 64 bit mode , java -d64 is specified so for TOMCAT on catalina.sh HOW TO for JAVA_HOME in 64 bit ? with regards Karthik Mark Thomas wrote: karthikn wrote: Hi Please need this Information Memory Usage Differ

Re: Make uploaded files survive to re-deploy

2008-07-04 Thread Johnny Kewl
- Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, July 04, 2008 5:39 PM Subject: RE: Make uploaded files survive to re-deploy From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Make uploaded files

RE: Make uploaded files survive to re-deploy

2008-07-04 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Make uploaded files survive to re-deploy Hi Chuck... always giving me a hard time... was actually just thinking, where the #!# is Chuck ;) Supposed to be on holiday (July 4th and all that), but instead working while listening to

Re: JSTL problem in v2.5 web application

2008-07-04 Thread stanlick
That was it my brother! I removed standard and jstl and installed the single 1.2 JSTL file and life is great. Thanks, Scott David Smith-2 wrote: What version of JSTL jars are you using and what do you have up at the top of your jsp declaring the taglibs? Seems like this is a mix up

mod_ajp and Load-Balancing Issue

2008-07-04 Thread Plana, Richard
Hi, I've two tomcat servers being proxied and load-balanced by httpd using mod_ajp (using balancer:). However, it seems when the proxy switches from one server to another, the user session gets lost. Could people recommend a way to correct my setup for doing load-balancing with this scenario?

Re: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Rainer Jung
Plana, Richard schrieb: Hi, I've two tomcat servers being proxied and load-balanced by httpd using mod_ajp (using balancer:). However, it seems when the proxy switches from one server to another, the user session gets lost. Could people recommend a way to correct my setup for doing

Re: Make uploaded files survive to re-deploy

2008-07-04 Thread Paolo Niccolò Giubelli
Caldarale, Charles R ha scritto: adds unnecessary complexity and impacts performance for dynamic content. If I use an external directory, it would be difficult to make those files accessible to the webpages... It's not really difficult. Define a Context element for an additional webapp that

RE: Make uploaded files survive to re-deploy

2008-07-04 Thread Caldarale, Charles R
From: Paolo Niccolò Giubelli [mailto:[EMAIL PROTECTED] Subject: Re: Make uploaded files survive to re-deploy Uhm, maybe I'm not understanding, but... what if [newAppName] needs to be reloaded? It never needs to be reloaded - keep only the image files there, nothing else. There's no war

RE: Make uploaded files survive to re-deploy

2008-07-04 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Make uploaded files survive to re-deploy It never needs to be reloaded - keep only the image files there, nothing else. There's no war here, no jars, no classes, no WEB-INF or META-INF directories - just the images. Even if you do accidentally

Re: Make uploaded files survive to re-deploy

2008-07-04 Thread Paolo Niccolò Giubelli
It seems to work!! What to say... THANK YOU! You saved me years of life (my I-loose-everything nightmares are gone). Thank you! Caldarale, Charles R ha scritto: From: Caldarale, Charles R Subject: RE: Make uploaded files survive to re-deploy It never needs to be reloaded - keep only the image

RE: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Plana, Richard
Hi, Thanks. Yes, if I can't share the session information between the various instances of Tomcat, I'd rather make a session sticky to a node in the load-balance pool. So I tried giving a jvmRoute to each Tomcat instance. I'm a little confused with the mod_proxy_balancer configuration, though.

Re: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Rainer Jung
Plana, Richard schrieb: Hi, Thanks. Yes, if I can't share the session information between the various instances of Tomcat, I'd rather make a session sticky to a node in the load-balance pool. So I tried giving a jvmRoute to each Tomcat instance. I'm a little confused with the

RE: Graceful shutdown

2008-07-04 Thread Walter Thompson
Try using shutdown.sh and startup.sh to start and stop Tomcat. Walter -Original Message- From: Antonio Parolini [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 2:54 AM To: users@tomcat.apache.org Subject: Graceful shutdown Hello, We use Tomcat 5.5.23 Using the command

RE: Problem with mod_proxy_ajp Connection Timeout

2008-07-04 Thread Plana, Richard
I've upgraded to httpd-2.2.9 and added ping=120 to my BalancerMember line and the connection still times out and becomes hung. The only thing I'm getting on the logs is the following: [Thu Jul 03 14:02:12 2008] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't

RE: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Plana, Richard
-Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 12:38 PM To: Tomcat Users List Subject: Re: mod_ajp and Load-Balancing Issue Plana, Richard schrieb: Hi, Thanks. Yes, if I can't share the session information between the

Re: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Rainer Jung
Plana, Richard schrieb: -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 12:38 PM To: Tomcat Users List Subject: Re: mod_ajp and Load-Balancing Issue Plana, Richard schrieb: Hi, Thanks. Yes, if I can't share the session information

RE: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Plana, Richard
So far, so good. You also need to tell mod_proxy_balancer, what the name of the URL parameter resp. Cookie is, which carries the routing information. I forgot about that (in mod_jk it is automatically the right for Java App Servers, mod_proxy is more flexible and you need to

Re: Problem with mod_proxy_ajp Connection Timeout

2008-07-04 Thread Rainer Jung
Plana, Richard schrieb: I've upgraded to httpd-2.2.9 and added ping=120 to my BalancerMember line and the connection still times out and becomes hung. The only thing I'm getting on the logs is the following: [Thu Jul 03 14:02:12 2008] [error] (70007)The timeout specified has expired:

Re: mod_ajp and Load-Balancing Issue

2008-07-04 Thread Rainer Jung
Plana, Richard schrieb: So far, so good. You also need to tell mod_proxy_balancer, what the name of the URL parameter resp. Cookie is, which carries the routing information. I forgot about that (in mod_jk it is automatically the right for Java App Servers, mod_proxy is more flexible and

Re: nsapi_redirector.so file

2008-07-04 Thread sandeep gelli
Hi Rainer, Any advise on this? Thanks Sandeep On Fri, Jul 4, 2008 at 9:50 AM, sandeep gelli [EMAIL PROTECTED] wrote: Hi Rainer, Attached is the nsapi.log, including the initialization phase. All my config files in the target system are in UNIX format. Thanks Sandeep On 7/3/08, Rainer