[ http://jira.jboss.com/jira/browse/JBAS-1619?page=comments#action_12316403 ] Adrian Brock commented on JBAS-1619: ------------------------------------
I would question that we are even trying to load the libraries for the rar or any deployment. It should be left to the class(es) that use the native code? > LoadLibrary should be done through the deployment classloader > ------------------------------------------------------------- > > Key: JBAS-1619 > URL: http://jira.jboss.com/jira/browse/JBAS-1619 > Project: JBoss Application Server > Type: Bug > Components: Deployment Service > Versions: JBossAS-4.0.1 Final, JBossAS-3.2.7 Final, JBossAS-4.0.2RC1, > JBossAS-4.0.1 SP1 > Reporter: Adrian Brock > > > LoadLibrary needs to be done the deployment classloader > to avoid memory leaks. > Currently it is done through the NoAnnotationURLClassLoader (the base > classloader) > so they will never be garbage collected/unloaded. -- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
