Dear all, I'm currently deploying different CXF services inside Tomcat. Each service is inside his own webapps so the class loaders are different. I want to communicate between the different services using the coloc feature but it seems that the classloader is a problem.
Indeed, let's take an example. Let's assume that I have a service A in webappsA and a service B in webAppsB. As far as I understood looking at the source code, the webappsA class loader will contain it's own list of CXF servers with one instance of ServerImpl for the services A and the webappsB will contain also it's own list of CXF servers and this list will contain only the server of the service B. The Coloc interceptor check the coloc feature by looking inside the Server list a corresponding server but it my case, for instance, if the coloc feature is requested for the service A to contact B, the webappsA class loader will never find the Server B as it's in the webapssB classloader only. Do you know how I can manage it? I will try to move some jars inside the common webapps but I wonder if I will no break something.... I want to use the coloc feature in order to give really quick access to sensitive methods (that I cannot provide as jar because of a lot of configuration/security issues) to the services. Do you see another way to do it? All the best, Jerome -- View this message in context: http://cxf.547215.n5.nabble.com/Coloc-Tomcat-webapps-tp3873140p3873140.html Sent from the cxf-user mailing list archive at Nabble.com.
