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

classic Classic list List threaded Threaded
4 messages Options
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

Daniel Kulp
Administrator

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
|

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

Daniel  Kulp
Administrator
On Monday, April 16, 2012 10:10:36 PM Daniel Kulp wrote:
> 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.

OK.   The catalog option DOES work, but not if you try with Import-Package.  
Not really sure why on that.  It looks like that will just resolve the
classes in the package, not any resources in it.  If you use a Require-
Bundle, then the resources are available just fine and the catalog works.  
I've gone ahead and implemented that on trunk and on the branch.

That said, this got me thinking about a more global etc/catalog.xml for
Karaf or something that I think would make a lot of sense for resolving
these things.  I can definitely see user applications and such that may need
particular schemas resolved off line and having some way for an admin to
handle that seems to make some sense.   Something I'll work a bit on for
2.6.1.


Dan



>
> 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(BeanR
> > > e
> > > cipe.java:638)[10:org.apache.aries.blueprint:0.3.1] at
> > >
org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRe
> > > c
> > > ipe.java:724)[10:org.apache.aries.blueprint:0.3.1] at
> > >
org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.ja
> > > v
> > > 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.ja
> > > v
> > > a:64)[10:org.apache.aries.blueprint:0.3.1] at
> > >
org.apache.aries.blueprint.container.BlueprintRepository.createInstan
> > > c
> > > es(BlueprintRepository.java:219)
[10:org.apache.aries.blueprint:0.3.1]
> > > at
> > >
org.apache.aries.blueprint.container.BlueprintRepository.createInstan
> > > c
> > > e(BlueprintRepository.java:198)
[10:org.apache.aries.blueprint:0.3.1]
> > > at
> > >
org.apache.aries.blueprint.container.BlueprintRepository.create(Bluep
> > > r
> > > intRepository.java:137)[10:org.apache.aries.blueprint:0.3.1] at
> > >
org.apache.aries.blueprint.container.ServiceRecipe.createRecipe(Servi
> > > c
> > > eRecipe.java:370)[10:org.apache.aries.blueprint:0.3.1] at
> > >
org.apache.aries.blueprint.container.ServiceRecipe.createService(Serv
> > > i
> > > 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(Ser
> > > v
> > > iceRecipe.java:140)[10:org.apache.aries.blueprint:0.3.1] at
> > >
org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.ja
> > > v
> > > a:64)[10:org.apache.aries.blueprint:0.3.1] at
> > >
org.apache.aries.blueprint.container.BlueprintRepository.createInstan
> > > c
> > > es(BlueprintRepository.java:219)
[10:org.apache.aries.blueprint:0.3.1]
> > > at
> > >
org.apache.aries.blueprint.container.BlueprintRepository.createAll(Bl
> > > u
> > > eprintRepository.java:147)[10:org.apache.aries.blueprint:0.3.1] at
> > >
org.apache.aries.blueprint.container.BlueprintContainerImpl.instantia
> > > t
> > > eEagerComponents(BlueprintContainerImpl.java:640)
[10:org.apache.aries
> > > .b
> > > lueprint:0.3.1] at
> > >
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(Blu
> > > e
> > > printContainerImpl.java:331)[10:org.apache.aries.blueprint:0.3.1]
at
> > >
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(Bluep
> > > r
> > > intContainerImpl.java:227)[10:org.apache.aries.blueprint:0.3.1] at
> > >
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> > > 1
> > > )[: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(ThreadPoolExec
> > > u
> > > 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(JaxwsEndpoi
> > > n
> > > tManager.java:54) at
> > >
org.apache.cxf.wsn.services.OSGiJaxwsEndpointManager.register(OSGiJax
> > > w
> > > sEndpointManager.java:54) at
> > >
org.apache.cxf.wsn.AbstractEndpoint.register(AbstractEndpoint.java:56
> > > )
> > > at
> > >
org.apache.cxf.wsn.AbstractCreatePullPoint.init(AbstractCreatePullPoi
> > > n
> > > t.java:67) at
> > >
org.apache.cxf.wsn.jms.JmsCreatePullPoint.init(JmsCreatePullPoint.jav
> > > a
> > >
> > > :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(DelegatingMethodAcces
> > > s
> > > 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(ReflectionUti
> > > l
> > > s.java:226)[10:org.apache.aries.blueprint:0.3.1] at
> > >
org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.jav
> > > a
> > >
> > > :824)[10:org.apache.aries.blueprint:0.3.1] at
> > >
> > >
org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanR

> > > e
> > > 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(Cata
> > > l
> > > ogXmlSchemaURIResolver.java:76) at
> > >
org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBui
> > > l
> > > der.java:684) at
> > >
org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder
> > > .
> > > java:538) at
> > >
org.apache.ws.commons.schema.SchemaBuilder.handleSchemaElementChild(S
> > > c
> > > hemaBuilder.java:1513) at
> > >
org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(Sch
> > > e
> > > maBuilder.java:659) at
> > >
org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:1
> > > 5
> > > 7) at
> > >
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollec
> > > t
> > > ion.java:497) at
> > >
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollec
> > > t
> > > ion.java:483) at
> > >
org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollectio
> > > n
> > > .java:133) at
> > >
org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(Abst
> > > r
> > > actDataBinding.java:192) at
> > >
org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(Abst
> > > r
> > > actDataBinding.java:95) at
> > >
org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:3
> > > 5
> > > 3) at
> > >
org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeD
> > > a
> > > taBindings(AbstractServiceFactoryBean.java:86) at
> > >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServ
> > > i
> > > ceFromClass(ReflectionServiceFactoryBean.java:474) at
> > >
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFrom
> > > C
> > > lass(JaxWsServiceFactoryBean.java:685) at
> > >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializ
> > > e
> > > ServiceModel(ReflectionServiceFactoryBean.java:536) at
> > >
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Re
> > > f
> > > lectionServiceFactoryBean.java:248) at
> > >
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServ
> > > i
> > > ceFactoryBean.java:205) at
> > >
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoi
> > > n
> > > t(AbstractWSDLBasedEndpointFactory.java:101) at
> > >
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.ja
> > > v
> > > a:159) at
> > >
org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactory
> > > B
> > > 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.js
> > > p
> > > a For more information on JIRA, see:
> > > http://www.atlassian.com/software/jira
--
Daniel Kulp
[hidden email] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply | Threaded
Open this post in threaded view
|

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

Christoph Emmersberger
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:06, Daniel Kulp wrote:

> On Monday, April 16, 2012 10:10:36 PM Daniel Kulp wrote:
>> 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.
>
> OK.   The catalog option DOES work, but not if you try with Import-Package.  
> Not really sure why on that.  It looks like that will just resolve the
> classes in the package, not any resources in it.  If you use a Require-
> Bundle, then the resources are available just fine and the catalog works.  
> I've gone ahead and implemented that on trunk and on the branch.
>
> That said, this got me thinking about a more global etc/catalog.xml for
> Karaf or something that I think would make a lot of sense for resolving
> these things.  I can definitely see user applications and such that may need
> particular schemas resolved off line and having some way for an admin to
> handle that seems to make some sense.   Something I'll work a bit on for
> 2.6.1.
>
>
> Dan
>
>
>
>>
>> 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(BeanR
>>>> e
>>>> cipe.java:638)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRe
>>>> c
>>>> ipe.java:724)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.ja
>>>> v
>>>> 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.ja
>>>> v
>>>> a:64)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.container.BlueprintRepository.createInstan
>>>> c
>>>> es(BlueprintRepository.java:219)
> [10:org.apache.aries.blueprint:0.3.1]
>>>> at
>>>>
> org.apache.aries.blueprint.container.BlueprintRepository.createInstan
>>>> c
>>>> e(BlueprintRepository.java:198)
> [10:org.apache.aries.blueprint:0.3.1]
>>>> at
>>>>
> org.apache.aries.blueprint.container.BlueprintRepository.create(Bluep
>>>> r
>>>> intRepository.java:137)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.container.ServiceRecipe.createRecipe(Servi
>>>> c
>>>> eRecipe.java:370)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.container.ServiceRecipe.createService(Serv
>>>> i
>>>> 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(Ser
>>>> v
>>>> iceRecipe.java:140)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.ja
>>>> v
>>>> a:64)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.container.BlueprintRepository.createInstan
>>>> c
>>>> es(BlueprintRepository.java:219)
> [10:org.apache.aries.blueprint:0.3.1]
>>>> at
>>>>
> org.apache.aries.blueprint.container.BlueprintRepository.createAll(Bl
>>>> u
>>>> eprintRepository.java:147)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.container.BlueprintContainerImpl.instantia
>>>> t
>>>> eEagerComponents(BlueprintContainerImpl.java:640)
> [10:org.apache.aries
>>>> .b
>>>> lueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(Blu
>>>> e
>>>> printContainerImpl.java:331)[10:org.apache.aries.blueprint:0.3.1]
> at
>>>>
> org.apache.aries.blueprint.container.BlueprintContainerImpl.run(Bluep
>>>> r
>>>> intContainerImpl.java:227)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
>>>> 1
>>>> )[: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(ThreadPoolExec
>>>> u
>>>> 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(JaxwsEndpoi
>>>> n
>>>> tManager.java:54) at
>>>>
> org.apache.cxf.wsn.services.OSGiJaxwsEndpointManager.register(OSGiJax
>>>> w
>>>> sEndpointManager.java:54) at
>>>>
> org.apache.cxf.wsn.AbstractEndpoint.register(AbstractEndpoint.java:56
>>>> )
>>>> at
>>>>
> org.apache.cxf.wsn.AbstractCreatePullPoint.init(AbstractCreatePullPoi
>>>> n
>>>> t.java:67) at
>>>>
> org.apache.cxf.wsn.jms.JmsCreatePullPoint.init(JmsCreatePullPoint.jav
>>>> a
>>>>
>>>> :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(DelegatingMethodAcces
>>>> s
>>>> 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(ReflectionUti
>>>> l
>>>> s.java:226)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
> org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.jav
>>>> a
>>>>
>>>> :824)[10:org.apache.aries.blueprint:0.3.1] at
>>>>
>>>>
> org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanR
>>>> e
>>>> 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(Cata
>>>> l
>>>> ogXmlSchemaURIResolver.java:76) at
>>>>
> org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBui
>>>> l
>>>> der.java:684) at
>>>>
> org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder
>>>> .
>>>> java:538) at
>>>>
> org.apache.ws.commons.schema.SchemaBuilder.handleSchemaElementChild(S
>>>> c
>>>> hemaBuilder.java:1513) at
>>>>
> org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(Sch
>>>> e
>>>> maBuilder.java:659) at
>>>>
> org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:1
>>>> 5
>>>> 7) at
>>>>
> org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollec
>>>> t
>>>> ion.java:497) at
>>>>
> org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollec
>>>> t
>>>> ion.java:483) at
>>>>
> org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollectio
>>>> n
>>>> .java:133) at
>>>>
> org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(Abst
>>>> r
>>>> actDataBinding.java:192) at
>>>>
> org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(Abst
>>>> r
>>>> actDataBinding.java:95) at
>>>>
> org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:3
>>>> 5
>>>> 3) at
>>>>
> org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeD
>>>> a
>>>> taBindings(AbstractServiceFactoryBean.java:86) at
>>>>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServ
>>>> i
>>>> ceFromClass(ReflectionServiceFactoryBean.java:474) at
>>>>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFrom
>>>> C
>>>> lass(JaxWsServiceFactoryBean.java:685) at
>>>>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializ
>>>> e
>>>> ServiceModel(ReflectionServiceFactoryBean.java:536) at
>>>>
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Re
>>>> f
>>>> lectionServiceFactoryBean.java:248) at
>>>>
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServ
>>>> i
>>>> ceFactoryBean.java:205) at
>>>>
> org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoi
>>>> n
>>>> t(AbstractWSDLBasedEndpointFactory.java:101) at
>>>>
> org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.ja
>>>> v
>>>> a:159) at
>>>>
> org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactory
>>>> B
>>>> 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.js
>>>> p
>>>> a For more information on JIRA, see:
>>>> http://www.atlassian.com/software/jira
> --
> Daniel Kulp
> [hidden email] - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>