You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2006/04/27 12:53:37 UTC

[jira] Commented: (SM-410) Component Uninstallation : ClassLoader not removed from JVM

    [ https://issues.apache.org/activemq/browse/SM-410?page=comments#action_36100 ] 

Guillaume Nodet commented on SM-410:
------------------------------------

I have tried to reproduce the error (on latest svn head) without any sucsess.
I ' m using a modified version of the soap-binding example to include an http binding and a jms binding.
When I undeploy the SA, then uninstall the components, all directories are removed.

This may be a problem dependant of the JMS / OS.
I use JDK 5 / XP.

> Component Uninstallation : ClassLoader not removed from JVM
> -----------------------------------------------------------
>
>          Key: SM-410
>          URL: https://issues.apache.org/activemq/browse/SM-410
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-components
>     Versions: 3.0-M1
>     Reporter: Philippe Pinheiro

>
>
> After component uninstallation, the corresponding component classloader is not  removed from the JVM and the jars in the wdir are locked.
> To reproduce this bug you just need to :
> - install the component : servicemix-jms by putting the jar on the install folder
> - install a service assembly containing a service unit with some endpoints : copy the zip in the deploy folder
> - uninstall the service assembly :  delete the zip file
> - uninstall the component : delete the jar file
> Then you will see that some files are still locked on the wdir folder.
> Furthermore I use JSwat to remotely debug the JVM, with this tool you can see that the ParentFirstClassloader of 
> the servicemix-jms component is still loaded.
> I also found that if a service assembly is not installed then this bug doesn't occur.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira