[ 
https://issues.apache.org/activemq/browse/SMX4-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46784#action_46784
 ] 

Guillaume Nodet commented on SMX4-134:
--------------------------------------

Could you try the following patch on servicemix-cxf-bc ?

{code}
Index: pom.xml
===================================================================
--- pom.xml     (revision 704825)
+++ pom.xml     (working copy)
@@ -68,6 +68,7 @@
         
META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.cxfbc
     </servicemix.osgi.export>
     <servicemix.osgi.bundles>
+        org.apache.cxf.cxf-bundle,
         org.springframework.bundle.spring.core,
         org.springframework.bundle.spring.beans,
         org.springframework.bundle.spring.context,
{code}

The reason may be because not all classes from cxf are available to 
servicemix-cxf-bc which may cause the cast from 
BusApplicationContextResourceResolver to ResourceResolver to fail.


> Bundle Resource loader fails to find extra config files specified
> -----------------------------------------------------------------
>
>                 Key: SMX4-134
>                 URL: https://issues.apache.org/activemq/browse/SMX4-134
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0-m2
>            Reporter: Edell Nolan
>
> If I attempt to deploy an SU that has config like the following - it will 
> fail to find the spring-jms.xml file. 
>       <cxfbc:provider service="ware:WarehouseServiceSoapJMS"
>             endpoint="WarehouseEndpointSoapJMS" 
>             useJBIWrapper="false"
>             wsdl="classpath:warehouse-soapjms.wsdl"            
>             interfaceName="ware:Warehouse"
>             busCfg="classpath:spring-jms.xml">
> this file is located in the same location as the xbean.xml file.
> Output of deployment :
> 07-Oct-2008 10:39:18 org.apache.cxf.bus.spring.BusApplicationContext 
> getConfigRe
> sources
> WARNING: Could not find the configuration file classpath:spring-jms.xml on 
> the classpath.

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

Reply via email to