Hi Michael,
It looks like both are using same default bus and bus.shutdown() might
be getting called somehow but this is just a guess.
Regards,
Ulhas Bhole
Michael Kleinhenz wrote:
Hi,
I have two CXF application (CXF 2.1.3) running on a vanilla Tomcat 6.
Both applications are just using JAX-WS to provide services to the
outside world. The applications do not interact in the normal operation
use cases.
Now I got a really strange problem. I perform a WS query on one of the
applications. The query gets through but then both CXF applications (the
one that got the query _and_ the other) just undeploy(!) and redeploy:
May 18 19:35:32 localhost.localdomain INFO: Sending natural welcome
paper to user.
May 18 19:35:32 localhost.localdomain INFO: Storing userpassword and
encrypted ep for user
May 18 19:35:45 localhost.localdomain INFO: Undeploying context
[/identservice]
May 18 19:35:45 localhost.localdomain INFO: Undeploying context
[/identservice]
May 18 19:35:45 localhost.localdomain INFO: Closing
org.apache.cxf.bus.spring.busapplicationcont...@64160e: display name
[org.apache.cxf.bus.spring.busapplicationcont...@64160e]; startup date
[Mon May 18 19:33:37 CEST 2009]; parent:
org.springframework.web.context.support.xmlwebapplicationcont...@b8bef7
May 18 19:35:45 localhost.localdomain INFO: Destroying singletons in
org.springframework.beans.factory.support.defaultlistablebeanfact...@8990e4:
defining beans []; parent:
org.springframework.beans.factory.support.defaultlistablebeanfact...@7736bd
May 18 19:35:45 localhost.localdomain INFO: Closing Spring root
WebApplicationContext
May 18 19:35:45 localhost.localdomain INFO: Closing Spring root
WebApplicationContext
[...]
May 18 15:49:53 localhost.localdomain INFO: Undeploying context
[/trustcenterservice]
May 18 15:49:53 localhost.localdomain INFO: Undeploying context
[/trustcenterservice]
May 18 15:49:53 localhost.localdomain INFO: Closing
org.apache.cxf.bus.spring.busapplicationcont...@1e3cc77: display name
Then the apps redeploy.
I tried to track down the problem. It seems that this doesn't happen if
any one of the apps run in his own Tomcat.
Any ideas?
Thanks,
Michael