Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3007

Switchyard does not expose SOAP endpoints when feature "switchyard-camel-cxf" is installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • SwitchYard
    • None
    • % %
    • Hide

      When we restart the server, SOAP endpoints will be exposed and work. But we have to really stop and start JBoss Fuse. If you use only dev:restart you will get the following error:

      Caused by: java.lang.ClassNotFoundException: Unable to load class 'com.sun.xml.messaging.saaj.soap.SOAPVersionMismatchException' because the bundle wiring for org.apache.servicemix.bundles.saaj-impl is no longer valid.
      
      Show
      When we restart the server, SOAP endpoints will be exposed and work. But we have to really stop and start JBoss Fuse. If you use only dev:restart you will get the following error: Caused by: java.lang.ClassNotFoundException: Unable to load class 'com.sun.xml.messaging.saaj.soap.SOAPVersionMismatchException' because the bundle wiring for org.apache.servicemix.bundles.saaj-impl is no longer valid.
    • Hide

      1. Prepare empty JBoss Fuse
      2. features:addurl mvn:org.switchyard.karaf/switchyard/2.0.1.ER1-redhat-1/xml/core-features
      3. features:install -v switchyard-camel-cxf
      4. features:install -v switchyard-quickstart-soap-addressing
      5. Check log and http://localhost:8181/cxf/

      Show
      1. Prepare empty JBoss Fuse 2. features:addurl mvn:org.switchyard.karaf/switchyard/2.0.1.ER1-redhat-1/xml/core-features 3. features:install -v switchyard-camel-cxf 4. features:install -v switchyard-quickstart-soap-addressing 5. Check log and http://localhost:8181/cxf/

    Description

      Switchyard does not expose SOAP endpoints when feature "switchyard-camel-cxf" is installed. We can find error in log.

      Either:

      java.lang.NullPointerException
              at org.apache.cxf.ws.addressing.WSAddressingFeature.initializeProvider(WSAddressingFeature.java:46)[120:org.apache.cxf.cxf-core:3.0.2.redhat-620062]
              at org.apache.cxf.feature.AbstractFeature.initialize(AbstractFeature.java:49)[120:org.apache.cxf.cxf-core:3.0.2.redhat-620062]
      

      or

      09:32:57,285 | ERROR | yard Extender: 1 | SwitchYardExtender               | 323 - org.switchyard.karaf.switchyard-karaf-deploy - 2.0.1.ER1-redhat-1 | Unable to start switchyard for bundle org.switchyard.quickstarts.switchyard.soap.attachment
      org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 8,181: Address already in use
              at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:428)[212:org.apache.cxf.cxf-rt-transports-http-jetty:3.0.2.redhat-620062]
      Caused by: java.net.BindException: Address already in use
              at sun.nio.ch.Net.bind0(Native Method)[:1.7.0_76]
              at sun.nio.ch.Net.bind(Net.java:444)[:1.7.0_76]
              at sun.nio.ch.Net.bind(Net.java:436)[:1.7.0_76]
              at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)[:1.7.0_76]
              at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)[:1.7.0_76]
              at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChannelConnector.java:187)[94:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
              at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:316)[94:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      

      Attachments

        Issue Links

          Activity

            People

              tcunning@redhat.com Thomas Cunningham
              mbasovni Martin Basovnik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: