cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: IllegalStateException: in client when CXF application is redeployed
Date Tue, 07 Sep 2010 18:29:34 GMT
On Monday 06 September 2010 5:25:47 am antechrestos wrote:
> 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:
> ontext-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....

Strange.  Not sure why that wouldn't override it.    For clients, you SHOULD 
also be able to use the standard JAX-WS way of doing:


to have it hit a different location.


> I hope I was clear enough :s
> Thanks
> Ben

Daniel Kulp

View raw message