Thread safe caching of JAX-WS clientproxies

According to http://cxf.apache.org/faq.html#FAQ-AreJAX-WSclientproxiesthreadsafe? , clientproxies are not thread safe so I decided to create a Component which can pool the connections. I do it it by using Singleton design pattern. What is handled by this Singleton: This class creates the connections on the start and then caches them If the connection to the server is not available … Read more

java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.internal.ws.fault.SOAPFaultBuilder

I was running gwt application on tomcat server and here is the error I encountered. After fighting with this error for some time I resolved this issue by deleting the jax-impl.jar from the tomcat lib folder. It was a possible conflict of the jaxb jar versions with one of my webapps installed in tomcat.