I'd sggest you to do two things:

- put the following line in your  jk2.properties

request.registerRequests=false

- In $CATALINA_HOME/conf/web.xml


<init-param> <param-name>development</param-name> <param-value>false</param-value> </init-param> <init-param> <param-name>reloading</param-name> <param-value>false</param-value> </init-param>


You get a lot of free memory when setting to not check for changes in your webapp. In a production environment I think you can live without this.

Hope this help.

Emerson

[EMAIL PROTECTED] wrote:
Sorry, where and how should I set the JDK heap size

----- Original Message ----- From: "Pradeep Chauhan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 04, 2004 1:28 PM
Subject: RE: Tomact 5 - Out of Memory




Increase the JDK heap size
either by JAVA_OPTS option or by registery
IF Tomcat install as NT service then Use registry method
else use JAVA_OPTS

Pradeep

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 04.08.2004 09:08
To: Tomcat Users List
Subject: Tomact 5 - Out of Memory


Our enviroment is as following:

Redhat 9
Tomact 5.0.19
JAVA 1.4.2_04
MYSQL 4.0.18

However, our website stop response after running for 1 day, I checked the
log and there is following description

StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw

exception

java.lang.OutOfMemoryError

So I need to restart the server everyday. I would like to ask if there is
any solution or setting to slove that.



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


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






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




--
Emerson Cargnin
Analista de Sistemas - Gerente Regional Auxiliar - TubarÃo
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181

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



Reply via email to