-
15. Re: FUSE 4.1 - camel-cxf - Provider Problem
m_fawaz Jun 11, 2009 9:38 AM (in response to njiang)Hello,
Success.....
I installed the saaj-impl as recommended and i was able to receive the message.
Thank you all for your precious help.
I can consider that the thread is answered.
Best Regards,
Mohamad
-
16. Re: FUSE 4.1 - camel-cxf - Provider Problem
jkhan Jun 19, 2009 12:24 AM (in response to m_fawaz) -
17. Re: FUSE 4.1 - camel-cxf - Provider Problem
m_fawaz Jun 19, 2009 3:49 AM (in response to jkhan)Hello,
You need to execute the command stated in njiang mail. I guess that the patch is made in order to be included in the next version.
I will repost the command in this reply. It is worth mentionning that it is a workaround for the problem.
osgi/install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saaj-impl/1.3_1-fuse
Regards,
Mohamad
-
18. Re: FUSE 4.1 - camel-cxf - Provider Problem
jkhan Jun 19, 2009 11:02 AM (in response to m_fawaz)Thank you. I did install it but getting same error. See below:
Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault
at org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor$PostDispatchLogicalHandlerInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:353)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
at org.apache.servicemix.cxf.transport.http_osgi.OsgiDestination.doMessage(OsgiDestination.java:83)
at org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invokeDestination(OsgiServlet.java:291)
at org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.invoke(OsgiServlet.java:185)
at org.apache.servicemix.cxf.transport.http_osgi.SpringOsgiServlet.invoke(SpringOsgiServlet.java:48)
at org.apache.servicemix.cxf.transport.http_osgi.OsgiServlet.doPost(OsgiServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
at org.ops4j.pax.web.service.internal.HttpServiceServletHandler.handle(HttpServiceServletHandler.java:64)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.ops4j.pax.web.service.internal.HttpServiceContext.handle(HttpServiceContext.java:108)
at org.ops4j.pax.web.service.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:64)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:741)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:213)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
Caused by: java.lang.UnsupportedOperationException
at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:70)
at org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor$PostDispatchLogicalHandlerInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:334)
... 25 more
Do I need add dependency in my pom?
Thanks
Jawed
-
19. Re: FUSE 4.1 - camel-cxf - Provider Problem
m_fawaz Jun 19, 2009 11:27 AM (in response to jkhan)Thread summary (Once for all) :
You need to do the following
1) install the camel-cxf following the description given in . http://fusesource.com/issues/browse/ESB-702
2) you should make sure the sun classes are being used by usimng the following JVM switches:
-Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
-Djavax.xml.soap.MetaFactory=com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl
-Djavax.xml.soap.SOAPFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl
3) You may need to update you applications pom.xml to make sure the saaj dependencies exist:
4) osgi/install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.saaj-impl/1.3_1-fuse
-
20. Re: FUSE 4.1 - camel-cxf - Provider Problem
pchandler Jul 6, 2009 3:42 PM (in response to m_fawaz)After step #1:
smx@root:log> features/install camel-cxf
ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: org.osgi.framework.BundleException: Unable to resolve due to constraint violation.
It doesn't start for me?
Peter.
-
21. Re: FUSE 4.1 - camel-cxf - Provider Problem
njiang Jul 7, 2009 7:47 AM (in response to pchandler)Hi
Can you find camel-cxf by using the features/list ?
BTW,
Did you use servicemix 4.1 snapshot for testing ?
Willem
-
22. Re: FUSE 4.1 - camel-cxf - Provider Problem
jkhan Jul 7, 2009 1:53 PM (in response to njiang)I was waiting for 4.1.0.1 which has this fix.
Thanks
Jawed
-
23. Re: FUSE 4.1 - camel-cxf - Provider Problem
pchandler Jul 7, 2009 3:14 PM (in response to jkhan)Jawed,
My configuration is:
I am not using the Snapshot 4.1, I am using the released version ServiceMix 4.1.0.0-fuse
So,
"ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException:
org.osgi.framework.BundleException: Unable to resolve due to constraint violation."
This is a known issue scheduled to be fix in 4.1.0.1?
Do we have a bug # for this?
When is 4.1.0.1 schedule to be released?
Thanks,
Peter.
-
24. Re: FUSE 4.1 - camel-cxf - Provider Problem
njiang Jul 7, 2009 11:22 PM (in response to pchandler)Can you try the fresh released FUSE ESB 4.1.0.1 ?
According the Release notes , the camel-cxf feature issue is fixed in this version.
-
25. Re: FUSE 4.1 - camel-cxf - Provider Problem
jkhan Jul 8, 2009 4:11 PM (in response to njiang)Hi,
I just tried on FUSE ESB 4.1.0.1 and still getting
smx@root:features> install camel-cxf
ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandExce
ption: org.osgi.framework.BundleException: Unable to resolve due to constraint v
iolation.
Here is features list
smx@root:features> list
State Version Name
example-cxf-wsdl-first-osgi-packag
smx@root:features>
Thanks
Jawed
-
26. Re: FUSE 4.1 - camel-cxf - Provider Problem
muellerc Jul 12, 2009 7:49 AM (in response to njiang)Hi Willem,
I also have this problem with FUSE ESB 4.1.0.1.
Cheers,
Christian
-
27. Re: FUSE 4.1 - camel-cxf - Provider Problem
njiang Jul 13, 2009 4:34 AM (in response to pchandler)Yes, I can reproduce this issue.
I also filled a JIRA ESB-783 for it, if you can't wait for the next release of fuse ESB, you can store the attched feature file as $FUSE-ESB-4.1.0.1_HOME$/system/org/apache/servicemix/camel/org.apache.servicemix.camel.features/4.1.0.1-fuse/org.apache.servicemix.camel.features-4.1.0.1-fuse-features.xml
-
28. Re: FUSE 4.1 - camel-cxf - Provider Problem
muellerc Jul 13, 2009 5:02 AM (in response to njiang)Hi Willem,
this fixed my problem.
Thank you very much,
Christian
-
29. Re: FUSE 4.1 - camel-cxf - Provider Problem
jkhan Jul 13, 2009 1:41 PM (in response to muellerc)This fixes my problem too.
Thanks
Jawed