cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsolt Beothy-Elo (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4240) CXF WSN cannot run offline in Karaf
Date Mon, 16 Apr 2012 13:48:18 GMT
CXF WSN cannot run offline in Karaf
-----------------------------------

                 Key: CXF-4240
                 URL: https://issues.apache.org/jira/browse/CXF-4240
             Project: CXF
          Issue Type: Bug
          Components: Services
    Affects Versions: 2.5.2, 2.6
         Environment: jdk 1.6, Karaf 2.2.5
            Reporter: Zsolt Beothy-Elo


I am running cxf within Karaf. If am without connection to Maven Central and try to install
and start the feature cxf-wsn I get the following exception:

{noformat}
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to intialize bean
createPullPoint
	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:638)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:724)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.di.RefRecipe.internalCreate(RefRecipe.java:60)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:198)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:137)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.ServiceRecipe.createRecipe(ServiceRecipe.java:370)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:278)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:248)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.ServiceRecipe.internalCreate(ServiceRecipe.java:140)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:640)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:331)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227)[10:org.apache.aries.blueprint:0.3.1]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_31]
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_31]
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_31]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_31]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)[:1.6.0_31]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_31]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_31]
	at java.lang.Thread.run(Thread.java:680)[:1.6.0_31]
Caused by: javax.xml.ws.WebServiceException: org.apache.ws.commons.schema.XmlSchemaException:
Unable to locate imported document at 'http://www.w3.org/2006/03/addressing/ws-addr.xsd',
relative to 'schema4.xsd'.
	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:357)
	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:246)
	at org.apache.cxf.wsn.services.JaxwsEndpointManager.register(JaxwsEndpointManager.java:54)
	at org.apache.cxf.wsn.services.OSGiJaxwsEndpointManager.register(OSGiJaxwsEndpointManager.java:54)
	at org.apache.cxf.wsn.AbstractEndpoint.register(AbstractEndpoint.java:56)
	at org.apache.cxf.wsn.AbstractCreatePullPoint.init(AbstractCreatePullPoint.java:67)
	at org.apache.cxf.wsn.jms.JmsCreatePullPoint.init(JmsCreatePullPoint.java:48)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_31]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_31]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_31]
	at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_31]
	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)[10:org.apache.aries.blueprint:0.3.1]
	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:636)[10:org.apache.aries.blueprint:0.3.1]
	... 25 more
Caused by: org.apache.ws.commons.schema.XmlSchemaException: Unable to locate imported document
at 'http://www.w3.org/2006/03/addressing/ws-addr.xsd', relative to 'schema4.xsd'.
	at org.apache.cxf.catalog.CatalogXmlSchemaURIResolver.resolveEntity(CatalogXmlSchemaURIResolver.java:76)
	at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:684)
	at org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:538)
	at org.apache.ws.commons.schema.SchemaBuilder.handleSchemaElementChild(SchemaBuilder.java:1513)
	at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:659)
	at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:157)
	at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:497)
	at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:483)
	at org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollection.java:133)
	at org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:192)
	at org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:95)
	at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:353)
	at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:474)
	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:685)
	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)
	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:207)
	at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:442)
	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:329)
	... 38 more
{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message