Hi, I just did it with cxf 2.2.10. However I think that it is due to a misuse I did with spring framework. - jdk: jdk1.6.0_21 - webserver: JONAS_4_10_3 - I put all the non applicative jars files (such as spring, cxf) under lib/apps. Therefore they will be in a shared classpath between all applications - My ear contains: some jars files (loading some simple bean via spring), an ejb, and two webapps (one is the webservice provider, the other one is a simple webapp). - The configuration files are put in a directory added to system classpath.
Since all the bean loaded by spring have to be shared between webapplications, the ejb is called at start-up to load all the beans. Maybe I should share a spring application context like described here: http://blog.springsource.com/2007/06/11/using-a-shared-parent-application-context-in-a-multi-war-spring-application/ However my clients address have to be setted at runtime; I tried to set it with getEndpoint().getEndpointInfo().setAddress("http://somewhere:9000"); but this did not work and it kept using the one provided in the spring file.... I hope I was clear enough :s Thanks Ben -- View this message in context: http://cxf.547215.n5.nabble.com/IllegalStateException-in-client-when-CXF-application-is-redeployed-tp2801856p2804757.html Sent from the cxf-user mailing list archive at Nabble.com.
