You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2007/02/01 20:14:05 UTC

[jira] Commented: (CXF-274) Inconsistent (and erroneous) behaviour of SpringBusFactory.createBus(...)

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

Gary Tully commented on CXF-274:
--------------------------------

this issue has been fixed through revision 500649. The systest.common.ClientServerBase.setUp now behaves as it should when a system property is set to cxf.config.file.
thanks

> 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.