Tomcat behavior

2003-01-16 Thread Mohbe, Sameer


Hi Folks ,
 I have a question Folks : Does Tomcat Processes become 0 at some point
if Web Application is not accessed for a while. What has happened is twice
in our environment that on a Weekend Morning around 2:00 AM Tomcat Processes
became 0 and they later increased to 36 processes .I found out it through a
small Script that checks for the number of Apache and Tomcat processes every
Minute .I found the similar behavior for Apache Twice with Apache processes
becoming 0 and then after a while number changing to 8 which is normal in
our environment.

My question is : Does Tomcat Shuts down and restarts itself at a certain
regular interval like once in a month or so .If yes then ,is there any
Configuration file in Tomcat from where this can be Controlled.The same
question applies for Apache --if Apache shuts and restarts itself at a
certain regular interval .


Thanks in Advance 
Sameer

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Two instances of Tomcat with Formula 1 Software(E-spreadsheet)

2002-12-11 Thread Mohbe, Sameer

Hi Folks,
  Thanks to Ben and John on their inputs,But second instance of
Tomcat(tomcat2) still errors out when it tries to create a report with
Formula 1 software with Java.Lang.Out.Of.Memory error --though i increased
the Heap size upto upper limit of 1 GB.The system has total 2GB of Memory
.Everything else in the application in tomcat2 instance works fine.But that
Report part is a Crucial part of the Apps.
Is anyone using Two Instances of Tomcat on the same server with Formula1
s/w.Guys any help on this will be greatly APPRECIATED.
Configuration :
Red Hat Linux 7.0
Apache 1.3.12
Tomcat 4.0.4 -Two instances i.e  tomcat and tomcat2


Regards
Sameer
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Two instances of Tomcat

2002-12-10 Thread Mohbe, Sameer
Hi Folks ,
 Need some  urgent help regarding  setting  up two instances
of Tomcat .Here goes the details .We used to have Apache 1.3.23 + Tomcat
4.0.2 configuration running on Red hat 7.0.We were running two web apps
under Single instance of tomcat. To make them independent we are moving
towards Two instances of tomcat .So we installed second instance residing in
/opt/tomcat2 directory ,first being  in the directory called
/opt/tomcat.Changes on server.xml were made for  two different  port nos.Now
Everything works ok till the point  when we try to generate a report in
second web application it gives a Java.lang Out of Memory error.This Final
report feature uses the Formula 1 Software which is  a e-spreadsheet.Can any
one please tell me what all settings are required for the TWO instances of
tomcat.do we need TWO copies of  Worker.properties files (Coz we have only
one ) and if yes then what changes need to be done .Is the Java error
related to JVM memory settings .We have set TOMCAT_OPTS in /etc/profile for
-Xms64 and -Xmx512.

Regards
Sameer



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat Version 4.0.4 Performance Tuning Ques:

2002-08-30 Thread Mohbe, Sameer

HI Folks,
  I recently  performed a Tomcat Upgrade to Version 4.0.4
from version 3. In version 3 the server.xml file I had added  following
entries as per our environment needs : 
Parameter name=max_threads value=200/
 Parameter name=min_spare_threads calue=10/
 Parameter name=max_spare_threads calue=20/ 
My question  is : Are these entries/Parameters still valid in Tomcat Version
4.0.4 .If yes where do I need to add these in server.xml.Are the settings
same as version 3 
Any help will be greatly appreciated.
Thanks
Sameer Mohbe



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Hekp regarding Heap Settings

2001-10-01 Thread Mohbe, Sameer


Hi Everyone,
  Gentlemen i need some help regarding the Heap seetings
in JVM.
The environment is Linux 7-Tomcat -JDK1.3 .Right now the Heap settings are
set to default)i.e. Minimim=1 and Max=64MB.
How do we change the settings ,i know its using JVM Commands but where shd
we make the changes ??

Thanks in advance !
Sam Mohbe