Re: Heap size rule for Tomcat 5.5

2010-02-06 Thread Peter Crowther
On 5 February 2010 18:05, evebill8 evebi...@hotmail.com wrote: Cool! I just want to confirm if the rule is right. My IT guy also does not believe it. It wasn't a bad rule of thumb as a place from which to start tuning when typical server memory sizes were 0.5G to 2G - it reserved sort-of

More than 20 users not able to access the application...

2010-02-06 Thread Munirathinavel
How to configure tomcat to use more users concurrently? I'm using Apache2.2 as front end server Tomcat 6 as Back end server. My application is not supporting more 20 users. I'm not able to figure out the problem.. Can you please

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-06 Thread Mark Thomas
On 06/02/2010 02:27, c...@munat.com wrote: Are you serious? I don't generate request headers. The browser does. And they do so identically whether the HTTP method is PUT or POST and whether it's an XMLHttpRequest or not. And I suspect that they've been doing so pretty much since Marc

Re: More than 20 users not able to access the application...

2010-02-06 Thread Pid
On 06/02/2010 11:03, Munirathinavel wrote: How to configure tomcat to use more users concurrently? I'm using Apache2.2 as front end server Tomcat 6 as Back end server. My application is not supporting more 20 users. I'm not able to figure out

Re: Parameters disappear from PUTs

2010-02-06 Thread Mark Thomas
On 06/02/2010 03:02, c...@munat.com wrote: I believe that via a post on another list I have discovered the source of the trouble: According to the servlet specification... The following are the conditions that must be met before post form data will be populated to the parameter set: 1.

Re: Heap size rule for Tomcat 5.5

2010-02-06 Thread evebill8
Got it! My app is very read intensive so I try to cache lots of objects into the RAM. Therefore, I like to allocate more RAM to the heap since RAM is cheap now. Thanks for your advise! Billy Peter Crowther wrote: On 5 February 2010 18:05, evebill8 evebi...@hotmail.com wrote: Cool! I

RE: How can I tell if Tomcat is shutting down

2010-02-06 Thread evebill8
Got it, thanks for the pointer! Billy n828cl wrote: From: evebill8 [mailto:evebi...@hotmail.com] Subject: How can I tell if Tomcat is shutting down I want to run some clean up routines before the Tomcat is shutting down. Read section SRV.10 of the servlet spec and the servlet API

Re: Tomcat dies suddenly

2010-02-06 Thread Jonathan Mast
Carl, Here's what I have on my system, you'll obviously need to adjust for your setup, especially the httpd part as I don't believe you're using it: #db-style timestamp STAMP=`date +%F' '%T`; # count the number of httpd child processes AP_COUNT=`ps auxf | grep -c httpd`; # count the number of

Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts

2010-02-06 Thread Sam Anderson
Hi there everyone. Firstly, i hope this is the correct list to post to. I have been using Tomcat 6 with Apache2 on Debian Lenny for the purposes of hosting multiple Railo websites on the same server. My question is related to virtual hosting and Tomcat 6. I need to be able to create new

RE: Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts

2010-02-06 Thread Caldarale, Charles R
From: Sam Anderson [mailto:sam...@gmail.com] Subject: Tomcat 6 and Apache 2 - using Tomcat 6 with virtual hosts Tomcat needs a hard restart in order for it to work. Nope. You can add and remove virtual hosts on the fly with the host-manager app that comes with Tomcat. Unfortunately,

Re: Tomcat dies suddenly

2010-02-06 Thread Mark Eggers
--- On Fri, 2/5/10, Carl c...@etrak-plus.com wrote: Carl, 1. The application runs fine on an older system. Do we have the glibc and kernel versions for all systems? The old system: P4.  1GB memory, 1.3GB swap.  Uses swap on a regular basis.  kernel is 2.4.25.  Java is 1.5.0_01-b08. 

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-06 Thread chas
In fact, what is it with this list? Is this the PUT Haters Club? Mainly, it is your attitude. Given you are speaking to a community that provides assistance to other members of the community for free, a less argumentative tone would go a long way to help. Ah. I think I see where the problem

RE: Tomcat dies suddenly

2010-02-06 Thread Caldarale, Charles R
From: Mark Eggers [mailto:its_toas...@yahoo.com] Subject: Re: Tomcat dies suddenly Both the old new kernels end in odd numbers. From memory, I thought the odd kernel numbers were experimental, while the even numbers were production or mainline. That rule applied to the second field, not

Re: Parameters disappear from PUTs

2010-02-06 Thread chas
I have just re-read section 9.6 of RFC2616. My understanding of PUT was (and still is) that the entity body provided is used to create/replace the entity at the provided URI. This is how Tomcat handles PUT requests (it enabled) in the DefaultServlet. I agree that this is the intent of the