Re: apache question

2011-02-02 Thread jan gestre
On Wed, Feb 2, 2011 at 9:40 PM, Ognjen Blagojevic wrote: > Hi Lava, > > On 1.2.2011 19:35, Lava Saleem wrote: >> >> yeah I have read what you quote before but my question is that >> I need to set apache httpd  as a proxy and I'm not sure if it buildin >> within >> the apache tomcat and what about

Re: Optimize CPU Hogging Tomcat 6

2011-02-02 Thread jan gestre
it: > /etc/security/limits.conf > > You'll want to add a line similar to (assuming 'tomcat' is the user > running tomcat): > tomcat hard nofile 4096 > tomcat soft nofile 4096 > > Adjust the number (4096) as necessary. > >> >> -- >> Olaf >

Re: Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
On Wed, Feb 2, 2011 at 6:26 AM, Caldarale, Charles R wrote: >> From: jan gestre [mailto:ipcopper...@gmail.com] >> Subject: Re: Optimize CPU Hogging Tomcat 6 > >> Here's a snippet of the thread dump using jstack: > > Nothing there of any interest; all the one

Re: Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
On Tue, Feb 1, 2011 at 10:33 PM, Caldarale, Charles R wrote: >> From: jan gestre [mailto:ipcopper...@gmail.com] >> Subject: Optimize CPU Hogging Tomcat 6 > >> We have an Apache Tomcat 6 server (HA cluster using DRBD) that is >> hogging the CPU, this happens when t

Optimize CPU Hogging Tomcat 6

2011-02-01 Thread jan gestre
Hi Everyone, We have an Apache Tomcat 6 server (HA cluster using DRBD) that is hogging the CPU, this happens when there are simultaneous users accessing at the same time, which should be considered normal because they're only 30. How will I optimize Tomcat? Here's my server.xml file: [root@node1

Re: Best practice for running Tomcat on port 80

2010-09-09 Thread jan gestre
> > There's examples of shell scripts called Tomcat.sh, Tomcat5.sh in the > unix directory subtree, which may help.  Use Tomcat5.sh as a template. > > It demonstrates how to use & configure the jsvc binary. > > > p > Hi Pid, I was able to start Tomcat by using Tomcat5.sh just like you suggested bu

Re: Best practice for running Tomcat on port 80

2010-09-08 Thread jan gestre
On Tue, Sep 7, 2010 at 3:40 PM, Pid wrote: > On 07/09/2010 06:14, jan gestre wrote: >> On Tue, Sep 7, 2010 at 1:02 PM, Wesley Acheson >> wrote: >>> On Tue, Sep 7, 2010 at 4:34 AM, jan gestre wrote: >>>> I'm using the latest 6.0.29 binary >>>

Re: Best practice for running Tomcat on port 80

2010-09-06 Thread jan gestre
On Tue, Sep 7, 2010 at 1:02 PM, Wesley Acheson wrote: > On Tue, Sep 7, 2010 at 4:34 AM, jan gestre wrote: >> I'm using the latest 6.0.29 binary >> distribution, and I don't have an idea where to download jsvc, if it's >> already included I don'

Best practice for running Tomcat on port 80

2010-09-06 Thread jan gestre
Hi Everyone, I've Googled a lot with respect to the subject, and I wanted to solicit your advice, basically I want to run Tomcat on port 80, some already objected to the idea of proxying it via Apache, so I'm looking at using jsvc or pound instead. I'm using the latest 6.0.29 binary distribution,

Re: Tomcat dies after starting

2010-09-02 Thread jan gestre
On Thu, Sep 2, 2010 at 10:52 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jan, > > On 9/2/2010 2:42 AM, jan gestre wrote: >> I'm the only user of this dedicated machine, it's not yet in >> production that's why

Re: Tomcat dies after starting

2010-09-01 Thread jan gestre
On Thu, Sep 2, 2010 at 2:09 PM, Wesley Acheson wrote: > This looks like you've got many instances started at once (at least the end > part of it does). Ensure that it is shut down fully before starting again. > Are you the only user on this machine or is it shared? Other users may have > the same

Re: Tomcat dies after starting

2010-09-01 Thread jan gestre
On Wed, Sep 1, 2010 at 9:28 PM, Caldarale, Charles R wrote: >> From: Wesley Acheson [mailto:wesley.ache...@gmail.com] >> Subject: Re: Tomcat dies after starting > >> Can you put in the beginning of the stack trace? > > Nice that the OP cut off the critical information... > > Also, the OP should po

Re: Tomcat dies after starting

2010-09-01 Thread jan gestre
to port 80 on a linux box) > > RHEL5 has selinux installed by default which may cause problems. I'm not sure. > Ensure nothing else is listening to that port. > > Regards, > > Wesley Acheson > > On Wed, Sep 1, 2010 at 9:00 AM, jan gestre wrote: >> Hi Everyon

Tomcat dies after starting

2010-09-01 Thread jan gestre
Hi Everyone, I'm using 6.0.26 tomcat binary in my RHEL5 box, it was configured for high availability using DRBD, it was already working for more than a week already but all of a sudden it stopped working, tomcat just dies, restarting it manually does not help either. Here's my setup: RHEL5 64bit