[ 
http://jira.jboss.com/jira/browse/JBAS-1619?page=comments#action_12316404 ]
     
Scott M Stark commented on JBAS-1619:
-------------------------------------

Agreed. The JCA spec is very weak on defining how native libs should be loaded. 
We could either require that the rar load the library or have the option of 
wrapper that loaded the libraries using the correct class loader.

> 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
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to