Hi,

I tried your suggestion (set classpath .) and the SMIX started without
exception.
Maybe my classpath references a jar that prevents Service Mix to initialize
the CXF component smoothly.

Thanks for your help
Hamid

On Tue, Apr 7, 2009 at 4:33 PM, Nasim Anza <[email protected]> wrote:

> Hi Hamid,
>
> I got the same error when I've downloaded the apache-cxf-2.2 module and I
> changed the classpath property to refer the Apache-CXF jars.
> Can you check your classpath or just set it to "." (export CLASSPATH=.)
> before running the servicemix script.
> I hope this helps you.
>
> Mustapha
>
> >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.AbstractRefreshableApplicationCont
> > ext.refreshBeanFactory(AbstractRefresha
> >
> > Can you help to resolve this error.
> > Thanks
> > Hamid
> >
> >
>

Reply via email to