cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Smyth (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-274) Inconsistent (and erroneous) behaviour of SpringBusFactory.createBus(...)
Date Tue, 28 Nov 2006 17:21:21 GMT
Inconsistent (and erroneous) behaviour of SpringBusFactory.createBus(...)
-------------------------------------------------------------------------

                 Key: CXF-274
                 URL: http://issues.apache.org/jira/browse/CXF-274
             Project: CXF
          Issue Type: Bug
          Components: Bus
            Reporter: Andrea Smyth


SpringBusFactory.createBus()  with system property cxf.config.file set to foo.xml leads to
different results than SpringBusFactory.createBus("foo.xml") (and property  is NOT set).
The first variant actually fails if foo.xml contains definitions of beans that require some
of the default property editors to be installed first .
In either case, an initial context is created before the actual application context.
Using the first variant, this initial application context is created with [foo.xml] (and that's
where it falls over if property editors are required), using the second variant the initial
application context is created with no cfg file [].
If the creation of the initial application context succeeds (comment out offensive beans),
the final application context is then created with
[cxf-core.xml, cxf-transports-http.xml, ...., cxf-property-editorrs.xml ..., foo.xml]. 
If the system property cxf.cfg.file is set and points to an existing resource, createBus()
should have the same effect as if the resource is passed as an argument to createBus.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message