users@glassfish.java.net

Re: Glassfish Memory Issues

From: <Jan.Luehe_at_Sun.COM>
Date: Thu, 12 Jul 2007 20:26:01 -0700

>>Just FYI: If you're stuck with JDK 1.5 for whatever reason, you can
>>still avoid the forking by setting the "fork" init parameter of the
>>JspServlet
>>to false.
>>
>>

I should have mentioned that this solution also works
with GlassFish v1 (AS 9.0).


Jan

>>This can be done globally in default-web.xml, by adding:
>>
>> <init-param>
>> <param-name>fork</param-name>
>> <param-value>false</param-value>
>> </init-param>
>>
>>to the declaration of the JspServlet:
>>
>> <servlet>
>> <servlet-name>jsp</servlet-name>
>> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
>> ...
>> <init-param>
>> <param-name>fork</param-name>
>> <param-value>false</param-value>
>> </init-param>
>> ...
>> </servlet>
>>
>>or on a per-webapp basis (in sun-web.xml).
>>
>>
>>Jan
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>>
>>
>
>
>