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

Switchyard-Netty feature forces web services to use port 8080

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • SwitchYard
    • None
    • % %
    • Hide
      features:install -v switchyard-netty
      features:install switchyard-quickstart-bean-service
      
      cd $FUSE_HOME/switchyard/bean-service
      mvn clean install exec:java -Pkaraf
      

      Output:

      <html><body>No service was found.</body></html>
      

      Try to restart server and run test again:

      dev:restart
      

      Output:

      <title>Error 500 Server Error</title>
      </head>
      <body><h2>HTTP ERROR 500</h2>
      <p>Problem accessing /cxf/quickstart-bean/OrderService. Reason:
      <pre>    Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/SOAPVersionMismatchException
      ...
      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.
      ...
      

      Take clean JBoss Fuse and install quickstart. You will get proper output now:

      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><env:Header xmlns:env="http://www.w3.org/2003/05/soap-envelope"/><soap:Body><orders:submitOrderResponse xmlns:orders="urn:switchyard-quickstart:bean-service:1.0"><orderAck><orderId>PO-19838-XYZ</orderId><accepted>true</accepted><status>Order Accepted [intercepted]</status></orderAck></orders:submitOrderResponse></soap:Body></soap:Envelope>
      
      Show
      features:install -v switchyard-netty features:install switchyard-quickstart-bean-service cd $FUSE_HOME/switchyard/bean-service mvn clean install exec:java -Pkaraf Output: <html> <body> No service was found. </body> </html> Try to restart server and run test again: dev:restart Output: <title> Error 500 Server Error </title> </head> <body> <h2> HTTP ERROR 500 </h2> <p> Problem accessing /cxf/quickstart-bean/OrderService. Reason: <pre> Server Error </pre> </p> <h3> Caused by: </h3> <pre> java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/SOAPVersionMismatchException ... 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. ... Take clean JBoss Fuse and install quickstart. You will get proper output now: <soap:Envelope xmlns:soap = "http://www.w3.org/2003/05/soap-envelope" > <env:Header xmlns:env = "http://www.w3.org/2003/05/soap-envelope" /> <soap:Body> <orders:submitOrderResponse xmlns:orders = "urn:switchyard-quickstart:bean-service:1.0" > <orderAck> <orderId> PO-19838-XYZ </orderId> <accepted> true </accepted> <status> Order Accepted [intercepted] </status> </orderAck> </orders:submitOrderResponse> </soap:Body> </soap:Envelope>

    Description

      Switchyard Netty feature forces web services to use port 8080 instead of 8181. When you restart container, web services will use port 8181.

      Attachments

        Issue Links

          Activity

            People

              virchete_jira David virgil naranjo (Inactive)
              mbasovni Martin Basovnik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: