[jira] [Created] (CXF-4240) CXF WSN cannot run offline in Karaf

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CXF-4240) CXF WSN cannot run offline in Karaf

JIRA jira@apache.org
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

       
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (CXF-4240) CXF WSN cannot run offline in Karaf

Christoph Emmersberger-2
Dear all,

I tried to resolve this issue by doing the following:

(1) Created a jax-ws-catalog file

<?xml version="1.0"?>
<!DOCTYPE catalog
        PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
        "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
  <rewriteSystem systemIdStartString="http://www.w3.org/2006/03/addressing" rewritePrefix="classpath:/org/apache/cxf/wsn/wsdl"/>
  <rewriteSystem systemIdStartString="http://www.w3.org/2005/08/addressing" rewritePrefix="classpath:/org/apache/cxf/wsn/wsdl"/>
</catalog>

(2) Adjusted the build pom of the wsn-core project

<Import-Package>
  org.apache.cxf.wsn.util.*;version=${project.version},
  !org.apache.cxf.wsn*,
  !org.apache.activemq*,
  javax.xml.bind*;version="[0.0,3)",
  javax.jws*;version="[0.0,3)",
  javax.xml.ws*;version="[0.0,3)",
  org.apache.cxf*;version=${project.version},
  org.apache.cxf.wsn.wsdl,
  *
</Import-Package>

(3) Run a rebuild of wsn-core

Unfortunately without success. Am I missing a point to resolve this issue?

Many thanks and kind regards,

Christoph


On 16.04.2012, at 15:48, Zsolt Beothy-Elo (Created) (JIRA) wrote:

> 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
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (CXF-4240) CXF WSN cannot run offline in Karaf

Christoph Emmersberger
In reply to this post by JIRA jira@apache.org
Dear all,

I tried to resolve this issue by doing the following:

(1) Created a jax-ws-catalog file

<?xml version="1.0"?>
<!DOCTYPE catalog
        PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
        "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
  <rewriteSystem systemIdStartString="http://www.w3.org/2006/03/addressing" rewritePrefix="classpath:/org/apache/cxf/wsn/wsdl"/>
  <rewriteSystem systemIdStartString="http://www.w3.org/2005/08/addressing" rewritePrefix="classpath:/org/apache/cxf/wsn/wsdl"/>
</catalog>

(2) Adjusted the build pom of the wsn-core project

<Import-Package>
  org.apache.cxf.wsn.util.*;version=${project.version},
  !org.apache.cxf.wsn*,
  !org.apache.activemq*,
  javax.xml.bind*;version="[0.0,3)",
  javax.jws*;version="[0.0,3)",
  javax.xml.ws*;version="[0.0,3)",
  org.apache.cxf*;version=${project.version},
  org.apache.cxf.wsn.wsdl,
  *
</Import-Package>

(3) Run a rebuild of wsn-core

Unfortunately without success. Am I missing a point to resolve this issue?

Many thanks and kind regards,

Christoph

On 16.04.2012, at 15:48, Zsolt Beothy-Elo (Created) (JIRA) wrote:

> 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
>
>

Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (CXF-4240) CXF WSN cannot run offline in Karaf

Daniel Kulp
Administrator
In reply to this post by Christoph Emmersberger-2

Hmm... I kind of expect the catalog to work, but not completely surprised
that it doesn't.   that involves classloader resource lookups which is
definitely an issue in OSGi.

I'll look more next week (on vacation this week) unless someone jumps on it
before then.   However, if you're going through the trouble to rebuild the
bundles, you COULD try adding a wsdlLocation attribute to the impls (based
on a classpath: url) and see if that helps.   Just something to try.

Dan




On Monday, April 16, 2012 10:27:55 PM Christoph Emmersberger wrote:

> Dear all,
>
> I tried to resolve this issue by doing the following:
>
> (1) Created a jax-ws-catalog file
>
> <?xml version="1.0"?>
> <!DOCTYPE catalog
>         PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
>        
> "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
> prefer="system"> <rewriteSystem
> systemIdStartString="http://www.w3.org/2006/03/addressing"
> rewritePrefix="classpath:/org/apache/cxf/wsn/wsdl"/> <rewriteSystem
> systemIdStartString="http://www.w3.org/2005/08/addressing"
> rewritePrefix="classpath:/org/apache/cxf/wsn/wsdl"/> </catalog>
>
> (2) Adjusted the build pom of the wsn-core project
>
> <Import-Package>
>   org.apache.cxf.wsn.util.*;version=${project.version},
>   !org.apache.cxf.wsn*,
>   !org.apache.activemq*,
>   javax.xml.bind*;version="[0.0,3)",
>   javax.jws*;version="[0.0,3)",
>   javax.xml.ws*;version="[0.0,3)",
>   org.apache.cxf*;version=${project.version},
>   org.apache.cxf.wsn.wsdl,
>   *
> </Import-Package>
>
> (3) Run a rebuild of wsn-core
>
> Unfortunately without success. Am I missing a point to resolve this issue?
>
> Many thanks and kind regards,
>
> Christoph
>
> On 16.04.2012, at 15:48, Zsolt Beothy-Elo (Created) (JIRA) wrote:
> > 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(BeanRe
> > cipe.java:638)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRec
> > ipe.java:724)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.jav
> > a: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.jav
> > a:64)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.container.BlueprintRepository.createInstanc
> > es(BlueprintRepository.java:219)[10:org.apache.aries.blueprint:0.3.1]
> > at
> > org.apache.aries.blueprint.container.BlueprintRepository.createInstanc
> > e(BlueprintRepository.java:198)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.container.BlueprintRepository.create(Bluepr
> > intRepository.java:137)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.container.ServiceRecipe.createRecipe(Servic
> > eRecipe.java:370)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.container.ServiceRecipe.createService(Servi
> > ceRecipe.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(Serv
> > iceRecipe.java:140)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.jav
> > a:64)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.container.BlueprintRepository.createInstanc
> > es(BlueprintRepository.java:219)[10:org.apache.aries.blueprint:0.3.1]
> > at
> > org.apache.aries.blueprint.container.BlueprintRepository.createAll(Blu
> > eprintRepository.java:147)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiat
> > eEagerComponents(BlueprintContainerImpl.java:640)[10:org.apache.aries.b
> > lueprint:0.3.1] at
> > org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(Blue
> > printContainerImpl.java:331)[10:org.apache.aries.blueprint:0.3.1] at
> > org.apache.aries.blueprint.container.BlueprintContainerImpl.run(Bluepr
> > intContainerImpl.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.a
> > ccess$301(ScheduledThreadPoolExecutor.java:98)[:1.6.0_31] at
> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.r
> > un(ScheduledThreadPoolExecutor.java:206)[:1.6.0_31] at
> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecu
> > tor.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(JaxwsEndpoin
> > tManager.java:54) at
> > org.apache.cxf.wsn.services.OSGiJaxwsEndpointManager.register(OSGiJaxw
> > sEndpointManager.java:54) at
> > org.apache.cxf.wsn.AbstractEndpoint.register(AbstractEndpoint.java:56)
> > at
> > org.apache.cxf.wsn.AbstractCreatePullPoint.init(AbstractCreatePullPoin
> > t.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.j
> > ava:39)[:1.6.0_31] at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> > orImpl.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(ReflectionUtil
> > s.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(BeanRe
> > cipe.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(Catal
> > ogXmlSchemaURIResolver.java:76) at
> > org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuil
> > der.java:684) at
> > org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.
> > java:538) at
> > org.apache.ws.commons.schema.SchemaBuilder.handleSchemaElementChild(Sc
> > hemaBuilder.java:1513) at
> > org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(Sche
> > maBuilder.java:659) at
> > org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:15
> > 7) at
> > org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollect
> > ion.java:497) at
> > org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollect
> > ion.java:483) at
> > org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollection
> > .java:133) at
> > org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(Abstr
> > actDataBinding.java:192) at
> > org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(Abstr
> > actDataBinding.java:95) at
> > org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:35
> > 3) at
> > org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDa
> > taBindings(AbstractServiceFactoryBean.java:86) at
> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServi
> > ceFromClass(ReflectionServiceFactoryBean.java:474) at
> > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromC
> > lass(JaxWsServiceFactoryBean.java:685) at
> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initialize
> > ServiceModel(ReflectionServiceFactoryBean.java:536) at
> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Ref
> > lectionServiceFactoryBean.java:248) at
> > org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServi
> > ceFactoryBean.java:205) at
> > org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoin
> > t(AbstractWSDLBasedEndpointFactory.java:101) at
> > org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.jav
> > a:159) at
> > org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryB
> > ean.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.jsp
> > a For more information on JIRA, see:
> > http://www.atlassian.com/software/jira
--
Daniel Kulp
[hidden email]
http://dankulp.com/blog

Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (CXF-4240) CXF WSN cannot run offline in Karaf

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/CXF-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-4240.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.4
                   2.6.1
         Assignee: Daniel Kulp
   

> 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
>            Assignee: Daniel Kulp
>             Fix For: 2.6.1, 2.5.4
>
>
> 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

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CXF-4240) CXF WSN cannot run offline in Karaf

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/CXF-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261011#comment-13261011 ]

Christoph commented on CXF-4240:
--------------------------------

Dear sender,

Thank you for your e-mail.

I am on leave until Monday, 5th of May 2012 and won't be able to check regularly my inbox.

If you have any question related to CIG, please contact mailto:[hidden email] or mailto:[hidden email]

I will review all your requests after my return.

Best regards

Christoph Emmersberger



Christoph Emmersberger


               

> 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
>            Assignee: Daniel Kulp
>             Fix For: 2.6.1, 2.5.4
>
>
> 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

       
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Resolved] (CXF-4240) CXF WSN cannot run offline in Karaf

Christoph Emmersberger
In reply to this post by JIRA jira@apache.org
Hi Dan,

thank's for your support.

I guess there might be a second option for enabling offline capabilities.

We tried to solve the issue by patching the component which is using WSN (e.g. Talend SAM Server).

(1) We placed the catalog into the consuming project
(2) Ran a rebuild
(3) The OSGi bundle class loading seemed to work fine.

I am not quite sure which way is the better (fixing the WSN using component or embedding a Require-Bundle statement) way of resolving this issue, I can only say, both work.

Many greets and kind regards,

Christoph

On 24.04.2012, at 23:00, Daniel Kulp (JIRA) wrote:

>
>     [ https://issues.apache.org/jira/browse/CXF-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Daniel Kulp resolved CXF-4240.
> ------------------------------
>
>       Resolution: Fixed
>    Fix Version/s: 2.5.4
>                   2.6.1
>         Assignee: Daniel Kulp
>
>> 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
>>           Assignee: Daniel Kulp
>>            Fix For: 2.6.1, 2.5.4
>>
>>
>> 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
>
>