Hi,
Let's say you install smx 3.3 in folder $SMX_HOME, then how you launch
the smx?
$SMX_HOME/bin/servicemix or something else?
I just want to reproduce the problem, so I need exactly what your way is
Thanks
Freeman
Hamid wrote:
I'm using Linux Redhat
I have just one instance of servicemix 3.3 running on my machine.
Thanks
On Tue, Apr 7, 2009 at 3:15 PM, Freeman Fang <[email protected]> wrote:
It shouldn't try to access META-INF/cxf/cxf-extension-corba.xml at all.
You are on windows or *nix?
How do you start servicemix?
Do you ever install multiple servicemix on your machine?
Are you sure the servicemix you launched is the 3.3 version? Maybe check
your shell path?
I can't reproduce it on my linux box anyway.
Thanks
Freeman
Hamid wrote:
I just downloaded SMIX 3.3 from the Apche official and tried to run it
without adding my components.
It seems that SMIX cannot access META-INF/cxf/cxf-extension-corba.xml
file.
Below is the full exception. Thanks for help
13:13:43,477 | INFO | Timer-3 | ComponentMBeanImpl |
i.framework.ComponentMBeanImpl 214 | Starting component:
servicemix-cxf-bc
13:13:43,493 | INFO | Timer-3 | ComponentMBeanImpl |
i.framework.ComponentMBeanImpl 191 | Initializing component:
servicemix-cxf-bc
13:13:44,118 | ERROR | Timer-3 | ComponentMBeanImpl |
i.framework.ComponentMBeanImpl 220 | Could not start component
javax.jbi.JBIException: Error calling init
at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:205)
at
org.apache.servicemix.common.SyncLifeCycleWrapper.init(SyncLifeCycleWrapper.java:44)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:334)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingComponents(AutoDeploymentService.java:518)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateSharedLibrary(AutoDeploymentService.java:317)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:254)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.RuntimeException:
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException
parsing XML document from class path resource
[META-INF/cxf/cxf-extension-corba.xml]; nested exception is
java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it does
not
exist
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:97)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:87)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:65)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:54)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:70)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:59)
at
org.apache.servicemix.cxfbc.CxfBcComponent.doInit(CxfBcComponent.java:74)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:197)
... 13 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from class path resource
[META-INF/cxf/cxf-extension-corba.xml]; nested exception is
java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it does
not
exist
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)
at
org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:128)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
at
org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:261)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:88)
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:103)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:94)
... 20 more
Caused by: java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it does
not
exist
at
org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:142)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
... 31 more
13:13:44,118 | ERROR | Timer-3 | InstallationService |
.framework.InstallationService 340 | Failed to start Component:
servicemix-cxf-bc
javax.jbi.JBIException: Error calling init
at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:205)
at
org.apache.servicemix.common.SyncLifeCycleWrapper.init(SyncLifeCycleWrapper.java:44)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:334)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingComponents(AutoDeploymentService.java:518)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateSharedLibrary(AutoDeploymentService.java:317)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:254)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.RuntimeException:
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException
parsing XML document from class path resource
[META-INF/cxf/cxf-extension-corba.xml]; nested exception is
java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it does
not
exist
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:97)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:87)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:65)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:54)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:70)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:59)
at
org.apache.servicemix.cxfbc.CxfBcComponent.doInit(CxfBcComponent.java:74)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:197)
... 13 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from class path resource
[META-INF/cxf/cxf-extension-corba.xml]; nested exception is
java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it does
not
exist
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)
at
org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:128)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
at
org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:261)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:88)
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:103)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:94)
... 20 more
Caused by: java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it does
not
exist
at
org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:142)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
... 31 more
13:13:44,134 | ERROR | Timer-3 | AutoDeploymentService |
ramework.AutoDeploymentService 521 | Failed to update Component:
servicemix-cxf-bc-2008.01-installer.0.tmp
javax.jbi.management.DeploymentException: javax.jbi.JBIException: Error
calling init
at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:341)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingComponents(AutoDeploymentService.java:518)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateSharedLibrary(AutoDeploymentService.java:317)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:254)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.JBIException: Error calling init
at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:205)
at
org.apache.servicemix.common.SyncLifeCycleWrapper.init(SyncLifeCycleWrapper.java:44)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:334)
... 8 more
Caused by: java.lang.RuntimeException:
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException
parsing XML document from class path resource
[META-INF/cxf/cxf-extension-corba.xml]; nested exception is
java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it does
not
exist
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:97)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:87)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:65)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:54)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:70)
at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:59)
at
org.apache.servicemix.cxfbc.CxfBcComponent.doInit(CxfBcComponent.java:74)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:197)
... 13 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from class path resource
[META-INF/cxf/cxf-extension-corba.xml]; nested exception is
java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it does
not
exist
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)
at
org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:128)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
at
org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:261)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
at
org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplicationContext.java:88)
at
org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:103)
at
org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:94)
... 20 more
Caused by: java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it does
not
exist
at
org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:142)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
... 31 more
Hamid
On Tue, Apr 7, 2009 at 12:57 PM, Freeman Fang <[email protected]
wrote:
I can't reproduce with smx 3.3
Can you provide more details how you see the problem? With a clean
installed smx or you deploy some SAs already?
Freeman
Hamid wrote:
Hi,
I'm using the servicemix 3.3.
hamid
On Tue, Apr 7, 2009 at 12:19 PM, Freeman Fang <[email protected]
wrote:
Hi Hamid,
Which smx version you are using?
Freeman
Hamid wrote:
Hi,
During the initialization of servicemix-cxf-se component I got the
following exception :
INFO - ComponentMBeanImpl - Initializing component:
servicemix-cxf-se
7 avr. 2009 10:33:05 org.apache.cxf.bus.spring.SpringBusFactory
createBus
ATTENTION: Failed to create application context.
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from class path resource
[META-INF/cxf/cxf-extension-corba.xml]; nested exception is
java.io.FileNotFoundException: class path resource
[META-INF/cxf/cxf-extension-corba.xml] cannot be opened because it
does not exist
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)
at
org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:128)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
at
org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(BusApplicationContext.java:261)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefresha
Can you help to resolve this error.
Thanks
Hamid
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com