You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cmoulliard <cm...@gmail.com> on 2009/03/04 17:22:44 UTC
camel-cxf & AXIS2 on SMX4
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-tp22333385p22333385.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: camel-cxf & AXIS2 on SMX4
Posted by cmoulliard <cm...@gmail.com>.
Guillaume,
Don't ask why but I have done today a clean reinstallation of my bundles and
now everything works fine without adding require-bundle.
Here is my list :
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)
[ 52] [Active ] [Started] [ 60] Report Incident Domain Bundle
(1.0.0.SNAPSHOT)
[ 53] [Active ] [Started] [ 60] Report Incident Service Bundle
(1.0.0.SNAPSHOT)
[ 54] [Active ] [Started] [ 60] Report Incident Interfaces Bundle
(1.0.0.SNAPSHOT)
[ 55] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
jetty-6.1.14 (6.1.14.1)
[ 56] [Active ] [ ] [ 60] OPS4J Pax Web - Web Container (0.4.1)
[ 57] [Active ] [ ] [ 60] OPS4J Pax Web - Jsp Support (0.4.1)
[ 58] [Active ] [ ] [ 60] OPS4J Pax Web Extender - WAR (0.3.0)
[ 59] [Active ] [ ] [ 60] OPS4J Pax Web Extender - Whiteboard
(0.3.0)
[ 60] [Active ] [ ] [ 60] OPS4J Pax Url - war:, war-i: (0.3.2)
[ 61] [Active ] [Started] [ 60] Apache ServiceMix WAR Deployer
(4.0.0.m2-SNAPSHOT)
[ 62] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
commons-dbcp-1.2.2 (1.2.2.1)
[ 63] [Active ] [ ] [ 60] Spring JMS (2.5.6)
[ 64] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
FastInfoset-1.2.2 (1.2.2.1)
[ 65] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
wss4j-1.5.4 (1.5.4.1)
[ 66] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
xmlbeans-2.4.0 (2.4.0.1)
[ 67] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
xmlresolver-1.2 (1.2.0.1)
[ 68] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
xmlschema-1.4.2 (1.4.2.1)
[ 69] [Active ] [ ] [ 60] Apache ServiceMix Bundles: ant-1.7.0
(1.7.0.1)
[ 70] [Active ] [ ] [ 60] Commons Collections (3.2.1)
[ 71] [Active ] [ ] [ 60] Apache ServiceMix Bundles: jdom-1.1
(1.1.0.1)
[ 72] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
werken-xpath-0.9.4 (0.9.4.1)
[ 73] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
velocity-1.5 (1.5.0.1)
[ 74] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
neethi-2.0.4 (2.0.4.1)
[ 75] [Active ] [ ] [ 60] Commons Lang (2.4)
[ 76] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
abdera-0.4.0-incubating (0.4.0.incubating_1)
[ 77] [Active ] [ ] [ 60] Apache ServiceMix Bundles: junit-4.4
(4.4.0.1)
[ 78] [Active ] [ ] [ 60] Apache ServiceMix Specs :: JAVAMAIL
API 1.4 (1.2.0)
[ 79] [Active ] [ ] [ 60] geronimo-jms_1.1_spec (1.1.1)
[ 80] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
antlr-3.0.1 (3.0.1.1)
[ 81] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
commons-io-1.3.2 (1.3.2.1)
[ 82] [Active ] [ ] [ 60] Apache ServiceMix Specs :: JAXWS API
2.1 (1.2.0)
[ 83] [Active ] [ ] [ 60] Apache ServiceMix Specs :: SAAJ API
1.3 (1.2.0)
[ 84] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
wsdl4j-1.6.1 (1.6.1.1)
[ 85] [Active ] [ ] [ 60] geronimo-ws-metadata_2.0_spec (1.1.2)
[ 86] [Active ] [ ] [ 60] ObjectWeb ASM (2.2.3)
[ 87] [Active ] [ ] [ 60] Apache CXF Bundle Jar
(2.2.0.SNAPSHOT)
[ 88] [Active ] [ ] [ 60] Apache ServiceMix Bundles:
xmlsec-1.3.0 (1.3.0.1)
[ 89] [Active ] [ ] [ 60] camel-cxf (2.0.0.SNAPSHOT)
Thanks for your help.
Charles
gnodet wrote:
>
> If you create your bundle using maven and the maven bundle plugin, add the
> following to the plugin configuraiton:
>
> <plugin>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <configuration>
> <instructions>
> ...
>
> <Require-Bundle>org.apache.cxf.cxf-bundle</Require-Bundle>
> </instructions>
>
> It will ensure that your bundle is not started before the cxf one is
> installed.
> Hopefully it will solve the problem.
>
> On Thu, Mar 5, 2009 at 10:30, cmoulliard <cm...@gmail.com> wrote:
>
>>
>> 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 <gn...@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 <cm...@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.
>>
>>
>
>
> --
> 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-tp22333385p22349641.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: camel-cxf & AXIS2 on SMX4
Posted by Guillaume Nodet <gn...@gmail.com>.
If you create your bundle using maven and the maven bundle plugin, add the
following to the plugin configuraiton:
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
...
<Require-Bundle>org.apache.cxf.cxf-bundle</Require-Bundle>
</instructions>
It will ensure that your bundle is not started before the cxf one is
installed.
Hopefully it will solve the problem.
On Thu, Mar 5, 2009 at 10:30, cmoulliard <cm...@gmail.com> wrote:
>
> 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 <gn...@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 <cm...@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.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com
Re: camel-cxf & AXIS2 on SMX4
Posted by cmoulliard <cm...@gmail.com>.
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 <gn...@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 <cm...@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.
Re: camel-cxf & AXIS2 on SMX4
Posted by Guillaume Nodet <gn...@gmail.com>.
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 <gn...@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 <cm...@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
Re: camel-cxf & AXIS2 on SMX4
Posted by Guillaume Nodet <gn...@gmail.com>.
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 <cm...@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
Re: camel-cxf & AXIS2 on SMX4
Posted by cmoulliard <cm...@gmail.com>.
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.
Re: camel-cxf & AXIS2 on SMX4
Posted by Guillaume Nodet <gn...@gmail.com>.
It's not really axis2, but the version of the jaxws-spec that we use uses
axis2 as the default jax-ws provider, though if cxf bundle has been
deployed, it should just use CXF instead.
Can you run an osgi/list -l command and paste the output ?
On Wed, Mar 4, 2009 at 17:22, cmoulliard <cm...@gmail.com> 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-tp22333385p22333385.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