cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2121) Exception when exposing remote service using DOSGi
Date Thu, 19 Mar 2009 12:27:50 GMT
Exception when exposing remote service using DOSGi
--------------------------------------------------

                 Key: CXF-2121
                 URL: https://issues.apache.org/jira/browse/CXF-2121
             Project: CXF
          Issue Type: Bug
          Components: Distributed-OSGi
            Reporter: David Bosschaert


When exposing a service using CXF-DOSGi, sometimes the following exception appears.

WARNING: Initial attempt to crate application context was unsuccessful.
org.springframework.beans.factory.BeanDefinitionStoreException: IOException pars
ing XML document from class path resource [META-INF/cxf/cxf.xml]; nested excepti
on is java.io.FileNotFoundException: class path resource [META-INF/cxf/cxf.xml]
cannot be opened because it does not exist
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:349)
        at org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader
.loadBeanDefinitions(ControlledValidationXmlBeanDefinitionReader.java:122)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:310)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
        at org.springframework.context.support.AbstractXmlApplicationContext.loa
dBeanDefinitions(AbstractXmlApplicationContext.java:109)
        at org.apache.cxf.bus.spring.BusApplicationContext.loadBeanDefinitions(B
usApplicationContext.java:263)
        at org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
        at org.springframework.context.support.AbstractApplicationContext.obtain
FreshBeanFactory(AbstractApplicationContext.java:423)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:353)
        at org.apache.cxf.bus.spring.BusApplicationContext.<init>(BusApplication
Context.java:91)
        at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(S
pringBusFactory.java:102)
        at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory
.java:93)
        at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory
.java:86)
        at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory
.java:64)
        at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory
.java:53)
        at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)
        at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)
        at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)
        at org.apache.cxf.endpoint.AbstractEndpointFactory.getBus(AbstractEndpoi
ntFactory.java:73)
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.initializeSe
rviceFactory(AbstractWSDLBasedEndpointFactory.java:228)
        at org.apache.cxf.frontend.ServerFactoryBean.initializeServiceFactory(Se
rverFactoryBean.java:157)
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoi
nt(AbstractWSDLBasedEndpointFactory.java:99)
        at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.ja
va:117)
        at org.apache.cxf.dosgi.dsw.handlers.PojoConfigurationTypeHandler.create
Server(PojoConfigurationTypeHandler.java:107)
        at org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceH
ookUtils.java:89)
        at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublish
Hook.java:106)
        at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPubl
ishHook.java:80)
        at org.apache.cxf.dosgi.dsw.Activator$1.run(Activator.java:143)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: class path resource [META-INF/cxf/cxf.
xml] cannot be opened because it does not exist
        at org.springframework.core.io.ClassPathResource.getInputStream(ClassPat
hResource.java:142)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:336)
        ... 30 more

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


Mime
View raw message