Hi Freeman
No, you need configure cxf bus which have jetty configuration for
that cxf bc endpoint, take a look at this link[1] as an example.
[1]https://svn.apache.org/repos/asf/servicemix/components/trunk/bindings/servicemix-cxf-bc/src/test/resources/org/apache/servicemix/cxfbc/jettyThreadPool.xml
Trying this causes the following error.. I suspect some JAR file is
missing to support the namespace - but what is it?
thanks
asankha
11:33:07,679 | INFO | mix-4.3.0/deploy |
alidationXmlBeanDefinitionReader | ? ?
| 59 - org.springframework.beans - 3.0.5.RELEASE | Loading XML bean
definitions from class path resource [cxf-config.xml]
11:34:19,342 | WARN | mix-4.3.0/deploy |
SpringBusFactory | ? ?
| - - | Initial attempt to create application context was unsuccessful.
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration
problem: Unable to locate Spring NamespaceHandler for XML schema
namespace [http://cxf.apache.org/transports/http/configuration]
Offending resource: class path resource [cxf-config.xml]
at
org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:284)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1332)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1325)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:93)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.doLoadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:109)[116:org.apache.cxf.bundle:2.3.2]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:131)[116:org.apache.cxf.bundle:2.3.2]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)[59:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:122)[61:org.springframework.context:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:262)[116:org.apache.cxf.bundle:2.3.2]
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[61:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)[61:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)[61:org.springframework.context:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:88)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.getBus(CxfBcConsumer.java:678)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.retrieveWSDL(CxfBcConsumer.java:659)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:431)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:98)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:334)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:264)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3761)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.startBundle(Felix.java:1787)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1136)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1122)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1115)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:433)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:241)[6:org.apache.felix.fileinstall:3.0.2]
11:34:19,344 | INFO | mix-4.3.0/deploy |
BusApplicationContext | ? ?
| 61 - org.springframework.context - 3.0.5.RELEASE | Refreshing
org.apache.cxf.bus.spring.BusApplicationContext@3c36be1e: startup date
[Mon Sep 05 11:34:19 IST 2011]; root of context hierarchy
11:34:19,348 | WARN | mix-4.3.0/deploy |
BusApplicationContext | ? ?
| - - | Failed to load configuration cxf-config.xml
11:34:19,348 | WARN | mix-4.3.0/deploy |
SpringBusFactory | ? ?
| - - | Failed to create application context.
org.springframework.context.ApplicationContextException: Failed to load
configuration cxf-config.xml
at
org.apache.cxf.bus.spring.BusApplicationContext.getConfigResources(BusApplicationContext.java:152)[116:org.apache.cxf.bundle:2.3.2]
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:120)[61:org.springframework.context:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:262)[116:org.apache.cxf.bundle:2.3.2]
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[61:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)[61:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)[61:org.springframework.context:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:110)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:88)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.getBus(CxfBcConsumer.java:678)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.retrieveWSDL(CxfBcConsumer.java:659)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:431)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:98)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:334)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:264)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3761)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.startBundle(Felix.java:1787)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1136)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1122)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1115)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:433)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:241)[6:org.apache.felix.fileinstall:3.0.2]
11:34:19,349 | ERROR | mix-4.3.0/deploy |
CxfBcComponent | ? ?
| 121 - servicemix-common - 2011.01.0 |
javax.jbi.management.DeploymentException: java.lang.RuntimeException:
org.springframework.context.ApplicationContextException: Failed to load
configuration cxf-config.xml
11:34:19,349 | INFO | mix-4.3.0/deploy |
FileSystemXmlApplicationContext | ? ?
| 61 - org.springframework.context - 3.0.5.RELEASE | Closing
org.apache.xbean.spring.context.FileSystemXmlApplicationContext@5576a406: startup
date [Mon Sep 05 11:33:07 IST 2011]; root of context hierarchy
11:34:19,349 | INFO | mix-4.3.0/deploy |
DefaultListableBeanFactory | ? ?
| 59 - org.springframework.beans - 3.0.5.RELEASE | Destroying singletons
in
org.springframework.beans.factory.support.DefaultListableBeanFactory@6c9e5b31:
defining beans
[org.apache.servicemix.cxfbc.CxfBcConsumer#0,org.apache.servicemix.cxfbc.CxfBcProvider#0];
parent: org.apache.servicemix.common.xbean.SimpleBeanFactory@7afc894b
11:34:19,350 | ERROR | mix-4.3.0/deploy |
ServiceAssemblyInstaller | ? ?
| 124 - org.apache.servicemix.jbi.deployer - 1.4.0 | Error deploying SU
proxy-cxf-su
javax.jbi.management.DeploymentException: java.lang.RuntimeException:
org.springframework.context.ApplicationContextException: Failed to load
configuration cxf-config.xml
at
org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:562)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:98)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:334)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:264)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3761)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.startBundle(Felix.java:1787)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1136)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1122)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1115)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:433)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:241)[6:org.apache.felix.fileinstall:3.0.2]
Caused by: java.lang.RuntimeException:
org.springframework.context.ApplicationContextException: Failed to load
configuration cxf-config.xml
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:96)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:88)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.getBus(CxfBcConsumer.java:678)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.retrieveWSDL(CxfBcConsumer.java:659)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:431)[156:servicemix-cxf-bc:2011.01.0]
... 21 more
Caused by: org.springframework.context.ApplicationContextException:
Failed to load configuration cxf-config.xml
at
org.apache.cxf.bus.spring.BusApplicationContext.getConfigResources(BusApplicationContext.java:152)[116:org.apache.cxf.bundle:2.3.2]
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:120)[61:org.springframework.context:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:262)[116:org.apache.cxf.bundle:2.3.2]
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[61:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)[61:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)[61:org.springframework.context:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:110)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)[116:org.apache.cxf.bundle:2.3.2]
... 26 more
11:34:19,351 | ERROR | mix-4.3.0/deploy |
ServiceAssemblyInstaller | ? ?
| 124 - org.apache.servicemix.jbi.deployer - 1.4.0 | Error deploying SU
proxy-cxf-su
11:34:19,351 | ERROR | mix-4.3.0/deploy |
Deployer | ? ?
| 124 - org.apache.servicemix.jbi.deployer - 1.4.0 | Error handling
bundle start event
javax.jbi.JBIException: java.lang.Exception: Error deploying SU proxy-cxf-su
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:101)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:334)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:264)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3761)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.startBundle(Felix.java:1787)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1136)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1122)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1115)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:433)[6:org.apache.felix.fileinstall:3.0.2]
at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:241)[6:org.apache.felix.fileinstall:3.0.2]
Caused by: java.lang.Exception: Error deploying SU proxy-cxf-su
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:213)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[124:org.apache.servicemix.jbi.deployer:1.4.0]
... 13 more
Caused by: javax.jbi.management.DeploymentException:
java.lang.RuntimeException:
org.springframework.context.ApplicationContextException: Failed to load
configuration cxf-config.xml
at
org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:562)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:98)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[121:servicemix-common:2011.01.0]
at
org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[124:org.apache.servicemix.jbi.deployer:1.4.0]
at
org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[124:org.apache.servicemix.jbi.deployer:1.4.0]
... 14 more
Caused by: java.lang.RuntimeException:
org.springframework.context.ApplicationContextException: Failed to load
configuration cxf-config.xml
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:96)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:88)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.getBus(CxfBcConsumer.java:678)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.retrieveWSDL(CxfBcConsumer.java:659)[156:servicemix-cxf-bc:2011.01.0]
at
org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:431)[156:servicemix-cxf-bc:2011.01.0]
... 21 more
Caused by: org.springframework.context.ApplicationContextException:
Failed to load configuration cxf-config.xml
at
org.apache.cxf.bus.spring.BusApplicationContext.getConfigResources(BusApplicationContext.java:152)[116:org.apache.cxf.bundle:2.3.2]
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:120)[61:org.springframework.context:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:262)[116:org.apache.cxf.bundle:2.3.2]
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[61:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)[61:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)[61:org.springframework.context:3.0.5.RELEASE]
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:91)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:110)[116:org.apache.cxf.bundle:2.3.2]
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93)[116:org.apache.cxf.bundle:2.3.2]
... 26 more
--
Asankha C. Perera
AdroitLogic, http://adroitlogic.org
http://esbmagic.blogspot.com