1 Reply Latest reply on Mar 11, 2010 11:17 PM by ffang

    http service problem

    mtroscia

      Hi,

       

      I'm using FuseESB 4.1 and 4.2 and I have a problem with http service. I have two instances of servicemix running on one machine. The first one is servicemix 4.1 and his default OSGi http service port is 8181 (org.osgi.service.http.port=8181) and the second one is the newest karaf 4.2, witch default OSGi service port is 8193 (org.osgi.service.http.port=8193). The first one instance is running ok. Using netstat I can see:

       

      $ netstat -an | grep 8181

      10.205.61.22.58181   172.20.21.13.1521    262200      0 49680      0 TIME_WAIT

            *.8181               .                0      0 49152      0 LISTEN

       

      But the second one is failed. Reading logs I can see:

       

      14:04:22,934 | INFO  | FelixStartLevel  | Activator                        | x.web.service.internal.Activator   80 | Pax Web started

      14:04:27,436 | INFO  | Thread-7         | JettyServerImpl                  | e.jetty.internal.JettyServerImpl  100 | Pax Web available at :[8193]

      14:04:27,523 | INFO  | guration Updater | JettyServerImpl                  | e.jetty.internal.JettyServerImpl  100 | Pax Web available at :[8181]

       

      Finally http service doesn't work.

       

      $ netstat -an | grep 8193

      $

       

      So why it's trying to bind to 8181 port? How can I change it?

       

      Cheers,

      Marcin

        • 1. Re: http service problem
          ffang

          Hi,

           

          You also need edit

          $SMX_HOME/./system/org/apache/felix/karaf/apache-felix-karaf/1.4.0-fuse-01-00/apache-felix-karaf-1.4.0-fuse-01-00-features.xml

           

          change

           

          for http feature

           

          Freeman