cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1072) CXFServlet can't be configured without using Spring.
Date Wed, 07 Nov 2007 02:18:50 GMT

    [ https://issues.apache.org/jira/browse/CXF-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540652
] 

willem Jiang commented on CXF-1072:
-----------------------------------

Hi Damien,
I can't apply your change into the trunk, since we still need to support Spring context in
CXFServlet.

BTW, you can try out the CXFNonSpringServlet for using CXF in Web container without Spring.

Willem.

> CXFServlet can't be configured without using Spring.
> ----------------------------------------------------
>
>                 Key: CXF-1072
>                 URL: https://issues.apache.org/jira/browse/CXF-1072
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.0.1
>         Environment: Tomcat v5.5.17
>            Reporter: Corey Puffalt
>            Assignee: willem Jiang
>             Fix For: 2.0.3
>
>         Attachments: CXFServlet.java
>
>
> 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.


Mime
View raw message