You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2007/06/22 04:44:26 UTC
[jira] Closed: (CXF-274) Inconsistent (and erroneous) behaviour of
SpringBusFactory.createBus(...)
[ https://issues.apache.org/jira/browse/CXF-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bozhong Lin closed CXF-274.
---------------------------
Resolution: Fixed
> Inconsistent (and erroneous) behaviour of SpringBusFactory.createBus(...)
> -------------------------------------------------------------------------
>
> Key: CXF-274
> URL: https://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.
-
You can reply to this email to add a comment to the issue online.