Hi Sergey,

I read the thread that you recommended to me and now my application lunch
the next exception:

Do you have any idea about this?

Thanks in advance, Jesus

g! 23-ene-2012 18:23:36
org.apache.cxf.dosgi.topologymanager.TopologyManager$2 run
INFO: TopologyManager: exporting service ...
23-ene-2012 18:23:36 org.apache.cxf.dosgi.topologymanager.TopologyManager$2
run
INFO: TopologyManager: handling remoteServiceAdmin
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance@600ee8
23-ene-2012 18:23:36 org.apache.cxf.dosgi.topologymanager.TopologyManager$2
run
INFO: TopologyManager: exporting ...
23-ene-2012 18:23:36 org.apache.cxf.dosgi.dsw.OsgiUtils readIntentMap
ADVERTENCIA: Intent map load failed:
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from OSGi
resource[classpath:/OSGI-INF/cxf/intents/intent-map.xml|bnd.id=131|bnd.sym=cxf-dosgi-ri-singlebundle-distribution];
nested exception is javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found   at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
        at
org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:164)
        at
org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:136)
        at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
        at
org.springframework.context.support.AbstractApplicationContext.obtain
FreshBeanFactory(AbstractApplicationContext.java:467)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69
)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)
        at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java
:182)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExec
utionApplicationContext.java:89)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)
        at
org.apache.cxf.dosgi.dsw.OsgiUtils.readIntentMap(OsgiUtils.java:406)
     at org.apache.cxf.dosgi.dsw.OsgiUtils.getIntentMap(OsgiUtils.java:376)
        at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:137)
        at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:72)
        at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:66)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:66)
        at
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:38)
        at
org.apache.cxf.dosgi.topologymanager.TopologyManager$2.run(TopologyManager.java:267)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
        at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown
Source)
        at
org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:89)
        at
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
        ... 28 more


On Mon, Jan 23, 2012 at 2:28 PM, elMateo <[email protected]> wrote:

> Thanks a lot!!
>
> I'm going to do this.
>
>
> On Mon, Jan 23, 2012 at 2:27 PM, Sergey Beryozkin-5 [via CXF] <
> [email protected]> wrote:
>
>> Have a look at this thread which may be of help:
>>
>> http://cxf.547215.n5.nabble.com/WSDL-configuration-driven-from-WSDL-with-Apache-CXF-Distributed-OSGi-td5125029.html
>>
>> Consider debugging the source code if it does not work, it appears
>> though that the wsdl location is not set correctly.
>>
>> Sergey
>>
>> On 23/01/12 13:01, Jesus wrote:
>>
>> > I'm testing now with that version, but I haven't very clear what
>> > information I have to write for develop a service with a wsdl file.
>> > My code is this, and I don't access to the wsdl file:
>> >              Dictionary props = new Hashtable();
>> >      props.put("osgi.remote.interfaces", "*");
>> >      props.put("osgi.remote.configuration.type", "wsdl");
>> >      props.put("service.exported.configs", "wsdl");
>> >      props.put("osgi.remote.configuration.wsdl.location",
>> > "wsdl/myservice.wsdl");
>> >      registration = bc.registerService(MyInterface.class.getName(),
>> >        new MyImplentation(), props);
>> >
>> > I'm crazy with this :(
>> >
>> >
>> > On Mon, Jan 23, 2012 at 1:41 PM, Sergey Beryozkin-5 [via CXF]<
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=5166077&i=0>>
>>  wrote:
>> >
>> >> Does it work with 1.3-SNAPSHOT ?
>> >>
>> >> Cheers, Sergey
>> >>
>> >> On 20/01/12 12:52, Jesus wrote:
>> >>
>> >>> (Sorry for duplicate this message, but I don't know if this is the
>> >> correct
>> >>> forum)
>> >>> Hello,
>> >>>
>> >>> I'm develop a bundle to export a service, and I'm using DOSGi
>> >> (multi-bundle
>> >>> distribution) and Apache-Felix.
>> >>>
>> >>> I install my bundle and, when DOSGi detects, ApacheFelix throws these
>> >>> exceptions:
>> >>>
>> >>> g! ERROR: Bundle cxf-dosgi-ri-discovery-local [46] EventDispatcher:
>> >> Error
>> >>> during
>> >>>    dispatch. (java.lang.IncompatibleClassChangeError: Class
>> >>> org.jdom.input.SAXHand
>> >>> ler does not implement the requested interface
>> >> org.xml.sax.ContentHandler)
>> >>> java.lang.IncompatibleClassChangeError: Class
>> org.jdom.input.SAXHandler
>> >> does
>> >>> not
>> >>>    implement the requested interface org.xml.sax.ContentHandler
>> >>>           at
>> >>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startDoc
>> >>> ument(Unknown Source)
>> >>>           at
>> >>> com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startDocu
>> >>> ment(Unknown Source)
>> >>>           at
>> >>> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.startE
>> >>> ntity(Unknown Source)
>> >>>           at
>> >>> com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.startDocum
>> >>> entParsing(Unknown Source)
>> >>>           at
>> >>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
>> >>> nknown Source)
>> >>>           at
>> >>> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
>> >>> nknown Source)
>> >>>           at
>> >>> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
>> >>> urce)
>> >>>           at
>> >>> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
>> >>> known Source)
>> >>>           at
>> >>> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
>> >>> arse(Unknown Source)
>> >>>           at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
>> >>>           at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
>> >>>           at
>> >>> org.apache.cxf.dosgi.discovery.local.LocalDiscoveryUtils.getElements(
>> >>> LocalDiscoveryUtils.java:567)
>> >>>           at
>> >>> org.apache.cxf.dosgi.discovery.local.LocalDiscoveryUtils.getAllDescri
>> >>> ptionElements(LocalDiscoveryUtils.java:376)
>> >>>           at
>> >>> org.apache.cxf.dosgi.discovery.local.LocalDiscoveryUtils.getAllEndpoi
>> >>> ntDescriptions(LocalDiscoveryUtils.java:86)
>> >>>           at
>> >>> org.apache.cxf.dosgi.discovery.local.internal.LocalDiscovery.findDecl
>> >>> aredRemoteServices(LocalDiscovery.java:181)
>> >>>           at
>> >>> org.apache.cxf.dosgi.discovery.local.internal.LocalDiscovery.bundleCh
>> >>> anged(LocalDiscovery.java:172)
>> >>>           at
>> >>> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerC
>> >>> allback(EventDispatcher.java:868)
>> >>>           at
>> >>> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(
>> >>> EventDispatcher.java:789)
>> >>>           at
>> >>> org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.j
>> >>> ava:1088)
>> >>>           at
>> >>> org.apache.felix.framework.util.EventDispatcher.access$000(EventDispa
>> >>> tcher.java:54)
>> >>>           at
>> >>> org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher
>> >>> .java:101)
>> >>>           at java.lang.Thread.run(Unknown Source)
>> >>>
>> >>> Can anybody help me?
>> >>>
>> >>> Thanks in advance
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>
>> http://cxf.547215.n5.nabble.com/Problem-with-export-a-service-with-D-OSGi-tp5160304p5160304.html
>> >>> Sent from the cxf-user mailing list archive at Nabble.com.
>> >>
>> >>
>> >> --
>> >> Sergey Beryozkin
>> >>
>> >> Talend Community Coders
>> >> http://coders.talend.com/
>> >>
>> >> Blog: http://sberyozkin.blogspot.com
>> >>
>> >>
>> >> ------------------------------
>> >>   If you reply to this email, your message will be added to the
>> discussion
>> >> below:
>> >>
>> >>
>>
>> >> .
>> >> NAML<
>> http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>> >>
>> >
>> >
>> > --
>> > View this message in context:
>> http://cxf.547215.n5.nabble.com/Problem-with-export-a-service-with-D-OSGi-tp5160304p5166007.html
>>
>> > Sent from the cxf-user mailing list archive at Nabble.com.
>>
>>
>> --
>> Sergey Beryozkin
>>
>> Talend Community Coders
>> http://coders.talend.com/
>>
>> Blog: http://sberyozkin.blogspot.com
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://cxf.547215.n5.nabble.com/Problem-with-export-a-service-with-D-OSGi-tp5160304p5166077.html
>>  To unsubscribe from Problem with export a service with D-OSGi, click
>> here<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5160304&code=c295ZWxtYXRlb0BnbWFpbC5jb218NTE2MDMwNHwtODU2MzA5NTk1>
>> .
>> NAML<http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>


--
View this message in context: 
http://cxf.547215.n5.nabble.com/Problem-with-export-a-service-with-D-OSGi-tp5160304p5166801.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to