Ran into a bit of a strange issue and I'm unsure how to proceed. I'm
running a Tomcat7 instance with two war files, both are using Apache
CXF 2.7.11 with spring 3.2.8 release

In both web.xmls, i have the
org.springframework.web.context.ContextLoaderListener and the CXF
servlet.
Both war files have a beans.xml which defines my cxf web services

When deploying the second war file, i'm getting a bunch of exceptions,
everything from
BeanCurrentlyInCreationException, to cannot create inner bean due to
circular dependency.

I'm not entirely sure what's happening, but removing the
ContextLoaderListener on the second war's web.xml resolves the start
up issue, however none of the services fire up.

My best guess is that tomcat is somehow sharing the spring
ContextLoaderListener or something related to CXF across WAR
boundaries and it's causing some kind of conflict.

I have no idea how to resolve this. Any help is appreciated.

Reply via email to