cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "willem Jiang (JIRA)" <>
Subject [jira] Commented: (CXF-1072) CXFServlet can't be configured without using Spring.
Date Wed, 31 Oct 2007 05:44:51 GMT


willem Jiang commented on CXF-1072:

Now you could use CXFNonSpringServlet to use Servlet transport without Spring support.
Here a systest which show how to use it.

> CXFServlet can't be configured without using Spring.
> ----------------------------------------------------
>                 Key: CXF-1072
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.0.1
>         Environment: Tomcat v5.5.17
>            Reporter: Corey Puffalt
>            Assignee: willem Jiang
> CXFServlet appears to be designed to allow configuration without using Spring via the
loadBusNoConfig() method called from init() but although reflection is used to test for the
existence of the Spring ApplicationContext class, elsewhere in the code there is an instance
variable of type ApplicationContext (and other spring types.)  This means it's impossible
to instantiate CXFServlet without Spring on the classpath and if you add Spring to the classpath
so you can instantiate CXFServlet then it will only attempt to configure itself via Spring.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message