Guillaume,

Can you explain please what you propose that I do ?

"Could you try adding a Require-Bundle to the cxf
bundle on your own bundle that fail ? "


gnodet wrote:
> 
> Got an idea.  It may happen that your bundle has been started before the
> CXF
> bundle was started.   Could you try adding a Require-Bundle to the cxf
> bundle on your own bundle that fail ?
> 
> On Wed, Mar 4, 2009 at 18:00, Guillaume Nodet <gno...@gmail.com> wrote:
> 
>> The JAX-WS spec should have picked up the CXF bundle as a provider.
>> Could you rerun your example after setting the following system property
>> (in etc/system.properties for example)
>>    org.apache.servicemix.specs.debug=true
>> This should give infos about the specs.  Can you paste those log
>> statements
>> please ?
>>
>>
>> On Wed, Mar 4, 2009 at 17:40, cmoulliard <cmoulli...@gmail.com> wrote:
>>
>>>
>>> Here is the list guillaume
>>>
>>> START LEVEL 100
>>>   ID   State         Spring     Level  Name
>>> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.SNAPSHOT)
>>> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service
>>> (1.0.2)
>>> [   2] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec
>>> (1.1.1)
>>> [   3] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
>>> [   4] [Active     ] [       ] [   10] Apache ServiceMix Bundles:
>>> jaxp-ri-1.4.2 (1.4.2.1)
>>> [   5] [Active     ] [       ] [   10] Apache Felix Configuration Admin
>>> Service (1.0.4)
>>> [   6] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
>>> [   7] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP
>>> API
>>> 1.4 (1.2.0)
>>> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel ::
>>> GShell
>>> Core (1.1.0.SNAPSHOT)
>>> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
>>> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service
>>> (1.3.0)
>>> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
>>> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
>>> [  13] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS
>>> Modules (1.1.0.SNAPSHOT)
>>> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> Features (1.1.0.SNAPSHOT)
>>> [  15] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> Admin (1.1.0.SNAPSHOT)
>>> [  16] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
>>> [  17] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> mina-1.1.7
>>> (1.1.7.1)
>>> [  18] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> PackageAdmin Commands (1.1.0.SNAPSHOT)
>>> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> ConfigAdmin Commands (1.1.0.SNAPSHOT)
>>> [  20] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> OSGi Commands (1.1.0.SNAPSHOT)
>>> [  21] [Active     ] [       ] [   30] Spring Context (2.5.6)
>>> [  22] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> commons-jexl-1.1 (1.1.0.1)
>>> [  23] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: JAAS
>>> Config (1.1.0.SNAPSHOT)
>>> [  24] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> commons-httpclient-3.1 (3.1.0.1)
>>> [  25] [Active     ] [       ] [   30] Spring Core (2.5.6)
>>> [  26] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
>>> [  27] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
>>> [  28] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> GShell
>>> Log Commands (1.1.0.SNAPSHOT)
>>> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> commons-vfs-1.0 (1.0.0.1)
>>> [  30] [Active     ] [       ] [   30] Spring Beans (2.5.6)
>>> [  31] [Active     ] [       ] [   30] Unnamed -
>>> com.google.code.sshd:sshd:bundle:0.1 (0.1)
>>> [  32] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> Management Core (1.1.0.SNAPSHOT)
>>> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> commons-codec-1.2 (1.2.0.1)
>>> [  34] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
>>> [  35] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> cglib-2.1_3 (2.1.0.3_1)
>>> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> jline-0.9.94 (0.9.94.1)
>>> [  37] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> aopalliance-1.0 (1.0.0.1)
>>> [  38] [Active     ] [       ] [   30] Spring AOP (2.5.6)
>>> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel ::
>>> Spring
>>> Deployer (1.1.0.SNAPSHOT)
>>> [  40] [Active     ] [       ] [   30] Apache ServiceMix Bundles:
>>> oro-2.0.8
>>> (2.0.8.1)
>>> [  41] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
>>> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File
>>> Monitor (1.1.0.SNAPSHOT)
>>> [  43] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXB
>>> API
>>> 2.1 (1.2.0)
>>> [  44] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> ACTIVATION
>>> API 1.4 (1.2.0)
>>> [  45] [Active     ] [       ] [   60] camel-core (2.0.0.SNAPSHOT)
>>> [  46] [Active     ] [       ] [   60] geronimo-jta_1.1_spec (1.1.1)
>>> [  47] [Active     ] [       ] [   60] Spring Transaction (2.5.6)
>>> [  48] [Active     ] [       ] [   60] camel-spring (2.0.0.SNAPSHOT)
>>> [  49] [Active     ] [       ] [   60] camel-osgi (2.0.0.SNAPSHOT)
>>> [  50] [Active     ] [       ] [   60] camel-bindy (2.0.0.SNAPSHOT)
>>> [  51] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> jaxb-impl-2.1.6 (2.1.6.1)
>>> [  57] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> jetty-6.1.14 (6.1.14.1)
>>> [  80] [Active     ] [       ] [   60] camel-cxf (2.0.0.SNAPSHOT)
>>> [  83] [Active     ] [Started] [   60] Report Incident Service Bundle
>>> (1.0.0.SNAPSHOT)
>>> [  84] [Active     ] [Started] [   60] Report Incident Domain Bundle
>>> (1.0.0.SNAPSHOT)
>>> [  85] [Active     ] [Failed ] [   60] Report Incident Interfaces Bundle
>>> (1.0.0.SNAPSHOT)
>>> [  86] [Active     ] [       ] [   60] OPS4J Pax Web - Web Container
>>> (0.4.1)
>>> [  87] [Active     ] [       ] [   60] OPS4J Pax Web - Jsp Support
>>> (0.4.1)
>>> [  88] [Active     ] [       ] [   60] OPS4J Pax Web Extender - WAR
>>> (0.3.0)
>>> [  89] [Active     ] [       ] [   60] OPS4J Pax Web Extender -
>>> Whiteboard
>>> (0.3.0)
>>> [  90] [Active     ] [       ] [   60] OPS4J Pax Url - war:, war-i:
>>> (0.3.2)
>>> [  91] [Active     ] [Started] [   60] Apache ServiceMix WAR Deployer
>>> (4.0.0.m2-SNAPSHOT)
>>> [ 143] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> commons-dbcp-1.2.2 (1.2.2.1)
>>> [ 144] [Active     ] [       ] [   60] Spring JMS (2.5.6)
>>> [ 145] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> FastInfoset-1.2.2 (1.2.2.1)
>>> [ 146] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> wss4j-1.5.4 (1.5.4.1)
>>> [ 147] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> xmlbeans-2.4.0 (2.4.0.1)
>>> [ 148] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> xmlresolver-1.2 (1.2.0.1)
>>> [ 149] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> xmlschema-1.4.2 (1.4.2.1)
>>> [ 150] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> ant-1.7.0
>>> (1.7.0.1)
>>> [ 151] [Active     ] [       ] [   60] Commons Collections (3.2.1)
>>> [ 152] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> jdom-1.1
>>> (1.1.0.1)
>>> [ 153] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> werken-xpath-0.9.4 (0.9.4.1)
>>> [ 154] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> velocity-1.5 (1.5.0.1)
>>> [ 155] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> neethi-2.0.4 (2.0.4.1)
>>> [ 156] [Active     ] [       ] [   60] Commons Lang (2.4)
>>> [ 157] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> abdera-0.4.0-incubating (0.4.0.incubating_1)
>>> [ 158] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> junit-4.4
>>> (4.4.0.1)
>>> [ 159] [Active     ] [       ] [   60] Apache ServiceMix Specs ::
>>> JAVAMAIL
>>> API 1.4 (1.2.0)
>>> [ 160] [Active     ] [       ] [   60] geronimo-jms_1.1_spec (1.1.1)
>>> [ 161] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> antlr-3.0.1 (3.0.1.1)
>>> [ 162] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> commons-io-1.3.2 (1.3.2.1)
>>> [ 163] [Active     ] [       ] [   60] Apache ServiceMix Specs :: JAXWS
>>> API
>>> 2.1 (1.2.0)
>>> [ 164] [Active     ] [       ] [   60] Apache ServiceMix Specs :: SAAJ
>>> API
>>> 1.3 (1.2.0)
>>> [ 165] [Active     ] [       ] [   60] Apache ServiceMix Bundles:
>>> wsdl4j-1.6.1 (1.6.1.1)
>>> [ 166] [Active     ] [       ] [   60] geronimo-ws-metadata_2.0_spec
>>> (1.1.2)
>>> [ 167] [Active     ] [       ] [   60] ObjectWeb ASM (2.2.3)
>>> [ 169] [Active     ] [       ] [   60] Apache CXF Bundle Jar
>>> (2.2.0.SNAPSHOT)
>>>
>>>
>>>
>>> cmoulliard wrote:
>>> >
>>> > Hi,
>>> >
>>> > Do we need reference to AXIS2 packages to run camel-cxf endpoint on
>>> SMX4
>>> ?
>>> >
>>> > Why such a question : because I have the following error in my stack
>>> trace
>>> > :
>>> >
>>> > Caused by: org.springframework.beans.BeanInstantiationException: Could
>>> not
>>> > instantiate bean class
>>> >
>>> [org.apache.camel.example.reportincident.service.ReportIncidentEndpointService]:
>>> > Constructor threw exception; nested exception is
>>> > javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider
>>> > org.apache.axis2.jaxws.spi.Provider not found
>>> >       at
>>> >
>>> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
>>> >       at
>>> >
>>> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
>>> >       at
>>> >
>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
>>> >       ... 18 more
>>> > Caused by: javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider
>>> > org.apache.axis2.jaxws.spi.Provider not found
>>> >       at javax.xml.ws.spi.FactoryFinder$2.run(FactoryFinder.java:135)
>>> >
>>> >
>>> > Regards,
>>> >
>>> >
>>> >
>>>
>>>
>>> -----
>>> Charles Moulliard
>>> SOA Architect
>>>
>>> My Blog :  http://cmoulliard.blogspot.com/
>>> http://cmoulliard.blogspot.com/
>>> --
>>> View this message in context:
>>> http://www.nabble.com/camel-cxf---AXIS2-on-SMX4-tp22333385p22333901.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> --
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> ------------------------
>> Open Source SOA
>> http://fusesource.com
>>
>>
>>
> 
> 
> -- 
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
> 
> 


-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: 
http://www.nabble.com/camel-cxf---AXIS2-on-SMX4-tp22333385p22348051.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to