1 2 Previous Next 29 Replies Latest reply on Jul 13, 2009 1:41 PM by jkhan Go to original post
      • 15. Re: FUSE 4.1 - camel-cxf - Provider Problem
        m_fawaz

        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

          How do I install this patch https://issues.apache.org/activemq/browse/SMX4-302?

          Thanks

          Jawed

          • 17. Re: FUSE 4.1 - camel-cxf - Provider Problem
            m_fawaz

            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

              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

                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

                  After step #1:

                   

                  http://fusesource.com/issues/browse/ESB-702?focusedCommentId=35850&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_35850

                   

                   

                  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

                    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

                      I was waiting for 4.1.0.1 which has this fix.

                      Thanks

                      Jawed

                      • 23. Re: FUSE 4.1 - camel-cxf - Provider Problem
                        pchandler

                        Jawed,

                         

                        My configuration is:

                        Freature:   camel-cxf

                        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

                          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

                            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

                              camel-sql

                              transaction

                              camel-saxon

                              camel-jxpath

                              camel-irc

                              servicemix-drools

                              examples-cxf-osgi

                              camel-mail

                              servicemix-quartz

                              camel-spring-integration

                              servicemix-jms

                              camel

                              wrapper

                              camel-josql

                              camel-jdbc

                              camel-stringtemplate

                              camel-osgi

                              jbi-cluster

                              camel-velocity

                              camel-bam

                              web-core

                              servicemix-eip

                              cxf

                              camel-jing

                              servicemix-cxf-se

                              camel-nmr

                              examples-cxf-nmr

                              camel-scala

                              camel-ibatis

                              servicemix-camel

                              connector

                              camel-ognl

                              examples-cxf-camel-nmr

                              examples-nmr

                              jbi

                              servicemix-shared

                              example-cxf-wsdl-first-osgi-packag

                              servicemix-saxon

                              servicemix-ftp

                              examples-camel-nmr

                              camel-jaxb

                              camel-http

                              camel-juel

                              camel-spring

                              servicemix-cxf-bc

                              camel-core

                              examples-camel-osgi

                              servicemix-wsn2005

                              activemq

                              camel-stream

                              camel-mina

                              servicemix-validation

                              camel-quartz

                              servicemix-bean

                              camel-amqp

                              camel-jms

                              camel-jpa

                              naming

                              servicemix-osworkflow

                              camel-xmpp

                              camel-script

                              camel-jhc

                              camel-flatpack

                              camel-csv

                              camel-msv

                              examples-cxf-jaxrs

                              nmr-audit

                              servicemix-file

                              servicemix-scripting

                              cxf-jaxrs

                              camel-ftp

                              web

                              camel-groovy

                              servicemix-http

                              cxf-osgi

                              camel-xmlbeans

                              camel-rmi

                              examples-cxf-ws-addressing

                              camel-xstream

                              obr

                              camel-hamcrest

                              camel-jcr

                              nmr

                              cxf-nmr

                              camel-atom

                              servicemix-mail

                              camel-cxf

                              camel-jetty

                            smx@root:features>

                            Thanks

                            Jawed

                            • 26. Re: FUSE 4.1 - camel-cxf - Provider Problem
                              muellerc

                              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

                                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

                                  Hi Willem,

                                   

                                  this fixed my problem.

                                   

                                  Thank you very much,

                                  Christian

                                  • 29. Re: FUSE 4.1 - camel-cxf - Provider Problem
                                    jkhan

                                    This fixes my problem too.

                                    Thanks

                                    Jawed

                                    1 2 Previous Next