1 Reply Latest reply on Dec 6, 2010 2:19 AM by wdfink

    Jboss listen multiple ports

    vikram_t

      I'm a newbie to JBOSS........

      I'm working on an application SB, handles request from two application ServiceProvider and ServiceRequest.SB is much like a broker which finds the provider for the requestor. The serviceProvider needs to register service on SB ,SB itself acts as a server and serves on port 9090 (it takes this port number from some properties file) After deplyoing SB on Jboss and starting JBoss I found that I can find JBoss up on localhost:8080,however I get a 404 on localhost:9090. What am I missing here ? I can see through logs that SB starts serving on the 9090.Do i need to do some connector settings in jbossbindings.xml, do I need to register the port with app_name, as is done in case of 8080,where,how?

        • 1. Re: Jboss listen multiple ports
          wdfink

          You might change the port with the binding manager.

          It depends to you JBoss version.

          In case of 5.1you have to edit bindings-jboss-beans.xml

                <bean class="org.jboss.services.binding.ServiceBindingMetadata">
                  <property name="serviceName">jboss.web:service=WebServer</property>
                  <property name="port">8080</property>
                  <property name="description">JBoss Web HTTP connector socket; also drives the values for the HTTPS and AJP sockets</property>

          Change from 8080 to 9090.