cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: Threads warnings while undeploying web application.
Date Mon, 13 Dec 2010 21:36:45 GMT

When using the Servlet transport, you cannot use the full URL when publishing 
the service.   Since the port and context and other things are defined by the 
servlet container, you just would use the part that you can control .    In 
your case, change the address line in ServicesFactoryBean to just:

		factoryBean.setAddress("/" + getServiceName());

and then in UiJobServiceImpl, adjust the address in there to match whereever 
it's really running.   In my case, using a dfeault tomcat setup, it would be:


That worked for me.


On Friday 10 December 2010 4:48:34 am vkrejcirik wrote:
> I try to make an example. It contains server and client project. It works,
> when you comment imports lines in services-prd.xml in server project and
> some lines in web.xml. Otherwise you get connection refused exception.
>  I make this example according to my project. So, it contains the same
> libraries and codes.
> Examples: here
> Thanks a lot.

Daniel Kulp

View raw message