Chris,
>> As article says, container drops all reference to classloader during
>> web-app undeploy. This allows GC to remove classloader and free PermGen.
>> In our system, JSP deployed inside web-app without web-app
>> redeply. So references to ClassLoader aren't dropped.
>
>Aah, I didn't realiz
Chris,
>>> If so, then you can't fix the
>>> problem by writing your own JSP compiler and/or ClassLoader.
>>
>> I guess loading each JSP class by separate classloader instance
>> will fix the problem. Classloader will be created when HTTP request
>> recived and no one reference on this classloader
Chris,
>> I work on application which allows user to deploy/undeploy large
>> number of the JSP pages to AppServer (JBoss 4.03sp1 + Tomcat 5.5).
>> Standard Tomcat class loader caches classes for all deployed JSP
>> internally and never clean its cache. This brings JVM to PermGen
>> overflow e
e. It
helps, but it doesn't solve problem completely.
__
With Best Regards,
Nikita Belov
E-mail: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
ICQ: 309-204-808