You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gulshan Babajee <gu...@parabolemaurice.com> on 2005/07/01 07:47:17 UTC

RE: Java processes in tomcat...

Hi again,

>From the web.xml file in tomcat/conf, I found that fork = false and compiler
is 'javac'.

-----Original Message-----
From: Surendrakumar Viswanathan (suviswan) [mailto:suviswan@cisco.com] 
Sent: Thursday, June 30, 2005 5:55 PM
To: Tomcat Users List
Subject: RE: Java processes in tomcat...


Check your web.xml (under TOMCAT_ROOT/conf)

-Surendra 

-----Original Message-----
From: Gulshan Babajee [mailto:gulshan.babajee@parabolemaurice.com] 
Sent: Thursday, June 30, 2005 5:34 PM
To: 'Tomcat Users List'
Subject: RE: Java processes in tomcat...

By default fork is enabled, but for the compiler, I don't know. How could I
know which compiler is being used

-----Original Message-----
From: Surendrakumar Viswanathan (suviswan) [mailto:suviswan@cisco.com]
Sent: Thursday, June 30, 2005 3:10 PM
To: Tomcat Users List
Subject: RE: Java processes in tomcat...


Which compiler do you use for compiling JSP pages also have you enabled fork
during jsp compiler. I think there are some known issues with this fork
option.

-Surendra


-----Original Message-----
From: Øyvind Johansen [mailto:oyvind@electrictimecar.com] 
Sent: Thursday, June 30, 2005 2:35 PM
To: 'Tomcat Users List'
Subject: RE: Java processes in tomcat...

Possible reasons (not really sure here):

You open a filestream, but you do not close it after use You start a Thread
that never finishes (no stop when tomcat runs destroy() on your webapp) You
start a ServerSocket listener that doesn't timeout or stop gracefully. 
Some other reason I do not see.

Oyvind Johansen
ElectricTimeCar, Norway

-----Opprinnelig melding-----
Fra: Gulshan Babajee [mailto:gulshan.babajee@parabolemaurice.com]
Sendt: 30. juni 2005 10:35
Til: 'tomcat-user@jakarta.apache.org'
Emne: Java processes in tomcat...

Hi, I've posted this question sometimes ago, but did not receive any reply.
Am sending it again if ever someone has got an answer meanwhile 

Am actually using tomcat version 5.0.28 on Red Hat Linux 6.2. What i've
notice is that each time i compile my java classes, copy them to
/WEB-INF/classes dir. and then redeploy my web application consisting of jsp
pages, I saw the number of java process increases when I do a 'ps -aux' 

That is if before compilation of my java classes there were 30 java
processes, then after compilation I saw 30 new java processes when I did a
'ps -aux' The problem is that tomcat does not kill the previous java
processes that were associated with my old java classes. Subsequently if I
do 5 compilation, I'll get (5 x 40) java processes and finally I got an
'OutOfMemoryError'.

Can anyone please tell me what's the cause of the above problem and how to
resolve it. thanks in advance


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.6/33 - Release Date: 28-06-2005
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.6/33 - Release Date: 28-06-2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.6/33 - Release Date: 28-06-2005
 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/35 - Release Date: 30-06-2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/35 - Release Date: 30-06-2005
 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org