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

servicemix-http uses jetty 6 while referencing jetty 7 classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.3, M1
    • fuse-esb-7.0.2
    • None
    • None
    • % %

      The new version of servicemix-http in 7.0.2 has the following in the pom file:

      <properties>
              <servicemix.osgi.import>
                  !org.apache.servicemix.http*,
                  !META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http,
                  com.thoughtworks.xstream*;resolution:=optional,
                  org.apache.servicemix.common,
                  org.apache.servicemix.common.osgi,
                  org.apache.servicemix.executors.impl,
                  org.apache.servicemix.jbi.container*;resolution:=optional,
                  org.apache.servicemix.jbi.framework*;resolution:=optional,
                  org.apache.karaf.jaas.config,
                  org.apache.karaf.jaas.boot;resolution:=optional,
                  org.apache.karaf.jaas.modules;resolution:=optional,
                  com.sun.jndi.ldap;resolution:=optional,
                  org.apache.servicemix.nmr.api.security,
                  org.apache.woden*;resolution:=optional,
                  org.apache.xbean.spring.context.v2,
                  org.mortbay.jetty.client*;resolution:=optional;version="[6.1.0,6.2.0)",
                  org.mortbay*;version="[6.1.0,6.2.0)",
                  org.mortbay.jetty.bio;resolution:=optional;version="[6.1.0,6.2.0)",
                  org.springframework*;resolution:=optional;version="[2.5,4)",
                  sun.misc;resolution:=optional,
      

      However, the actual config file (./OSGI-INF/blueprint/servicemix-http.xml ) references:

      {code] <cm:property name="jettyConnectorClassName" value="org.eclipse.jetty.server.nio.SelectChannelConnector"/> {code}

      Which is for 7.x jetty. It should still be:

      <cm:property name="jettyConnectorClassName" value="org.mortbay.jetty.nio.SelectChannelConnector"/>
      

      I think some of ENTESB-233 may have crept in here.

            yfang@redhat.com Freeman(Yue) Fang
            rhn-support-sjavurek Susan Javurek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: