[ 
http://jira.jboss.com/jira/browse/JBAS-1319?page=comments#action_12316821 ]
     
Clebert Suconic commented on JBAS-1319:
---------------------------------------

I uploaded a ServletExample.zip that I was using to test.
That file was releasing Classes without any problem.

I would assume the problem is something on the jakarta's connection/struts.

The application (ServletExample) i uploaded I can even see by -verbose:gc that 
the classes are being unloaded.



I don't know what action we should take, as it's pretty strange an struts 
application holding a reference into a Tomcat classloader.

Maybe this is because of Servlet's properties holded by Struts (during the 
struts-xml parsing), and a simple application doesn't have that class loaded.

If you remember in my analysis, I have two instances of jakarta's collections. 
I realized later on from my post that these collections are referred by the 
thread, and this is not done by a static variable in the thread. It's done by a 
class-variable in the thread.


I will try to improve ServletExample.zip in a way to use the same behavior as a 
Struts-servlet.

> redeploy causes OutOfMemoryError
> --------------------------------
>
>          Key: JBAS-1319
>          URL: http://jira.jboss.com/jira/browse/JBAS-1319
>      Project: JBoss Application Server
>         Type: Bug
>   Components: Web (Tomcat) service
>     Versions: JBossAS-4.0.1 Final
>  Environment: JBoss 4.0.1 running on fedora core 3, using jdk 1.5.0
>     Reporter: Matthew Todd
>     Assignee: Adrian Brock
>  Attachments: ServletExample.zip, analysis.zip
>
>   Time Spent: 1 week
>
> Constant redployment, even of a simple web application eventually causes an 
> OutOfMemoryError in JBoss. 
> To duplicate, keep on copying a .war package into a servers hot deploy 
> directory. Eventually an OutOfMemoryError occurs. 
> This is especially dangerous when running as a cluster, as when the node is 
> restarted, it is unable to join the cluster again.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to