Hi !

I am having an issue when undeploying (and redeploying just after) a su
(cxf-se) containing a bean using a jetty server. In the redeployement I have
the error message :
"java.net.BindException: Address already in use: JVM_Bind"

The problem is that the first server started in the first deployment is not
stopped when redeployment is done !
How can I solve this problem ? How can I detect in my bean that the jetty
server must be stopped (using finalize does not work, as GC can be called
after redeployment..).

Regards.


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/How-to-free-resources-in-a-bean-during-undeployment-tp3414218p3414218.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to