You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Matias Urbieta <mu...@gpi.com.ar> on 2010/04/12 22:53:13 UTC

Listener and classloader issue when instrospecting deployed components

Hi All, i'm developing an extension for registering all installed web 
service in a intranet registry. I decided to develop this feature by 
profiting from ServiceMix listeners (mainly EndpointListener) which has 
allowed me instrospecting endpoints but i have started facing some 
classloading issues when casting resolved Components  to specific one 
(for instance org.apache.servicemix.http.HttpComponent). My listener is 
packaged as an optional lib and ,in my development test, i also have 
tested adding servicemix-http and servicemix-commons in optional libs 
directory but it broke up the classloader.
I wonder which is the best way to package my listener or configure 
servicemix classloader for avoiding this issue.
Thanks in advance

-- 
GPI Argentina <http://www.gpi.com.ar> 	*Matias Urbieta*
murbiera@gpi.com.ar <ma...@gpi.com.ar>
www.gpi.com.ar <http://www.gpi.com.ar> 	53 n366, piso 9
La Plata / Buenos Aires / Argentina
(54)-221-427-5781