Probably a better answer around, but some possibilities:

1.) Use an embedded Tomcat instance:
http://www.jroller.com/gmazza/entry/writing_junit_test_cases_for (Step #3)
2.) Have the embedded Jetty instance run in a separate JVM, separate
application with Jetty-specific configuration (basically, make it
standalone).

HTH,
Glen


Christian.Priebe wrote:
> 
> Hi,
> 
> I have a web application that provides a web service running on a
> Tomcat.
> While executing a service request the application calls other web
> services asynchronously, providing a callback service on an embedded
> Jetty.
> 
> As far as I understand, I can't include both the cxf-servlet.xml (for
> the CXFServlet in Tomcat) and cxf-extension-http-jetty.xml (for the
> callback service in Jetty) in my Spring configuration.
> 
> How is it possible to make it work anyway?
> 
> Thanks in advance,
> 
> Christian
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-use-CXFServlet-and-embedded-Jetty-in-one-application-tp26709470p26710089.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to