David Rees wrote:
David Strupl wrote:


Sorry but how do I "set the fork attribute of the JspServlet to true"?


Look at Tomcat's conf/web.xml, and you will see it.

Aha. I see. I was editing only server.xml previously.



This seems like an obvoius memory leak in somewhere IMHO:

<snip>


Is this how is tomcat supposed to work (on SUN's JDK)?


Your script will cause TC to run OOM unless the fork option for compiling JSPs is set to true.

The fact that in the stock distribution the fork attrribute is set to false by default is IMHO not very good choice. Took me several days of headaches trying to find the leak in my code. When there is a disign choice "slow" versus "crash for 1% of users" I would choose slow and put into some doc how to make it faster if it is required.


Thanks for your help and best regards,

David



-Dave



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



Reply via email to