5 Replies Latest reply on Jan 18, 2006 6:04 AM by a08157

    Problem changing tomcat port via ServiceBindingManager

    dunks80

      I am trying to run three instances of JBoss 4.0.3 on the same machine. I followed the directions here for running multiple instances. However, all the instances are trying to run tomcat on port 8080. All other ports are being reconfigured according to my sample-bindings.xml file except tomcat. Is there something more i need to configure?

        • 1. Re: Problem changing tomcat port via ServiceBindingManager
          darranl

          I have just installed JBoss 4.0.3.

          I made two copies of the all configuration and called them node1 and node2.

          In the file {jboss.home}/server/node?/conf/jboss-service.xml for both nodes I have uncommented the service binding MBean.

          Node 1 is set to use the ports-01 configuration.

          Node 2 is set to use the ports-02 configuration.

          I then started both nodes 'run -c node1' and 'run -c node2'

          Both nodes started without error, node 1 listening on 8180 and node 2 listening on 8280.

          • 2. Re: Problem changing tomcat port via ServiceBindingManager
            dunks80

            Must be a configuration problem on my end. I'll give it another try

            • 3. Re: Problem changing tomcat port via ServiceBindingManager
              dunks80

               


              I have just installed JBoss 4.0.3.

              I made two copies of the all configuration and called them node1 and node2.

              In the file {jboss.home}/server/node?/conf/jboss-service.xml for both nodes I have uncommented the service binding MBean.


              I don't see a service MBean in my jboss-service.xml....I do have one in my {jboss.home}/server/node?/deploy/binding-service.xml (which is where the Wiki says it should be in 4.0.3) When i comment out the mbean in the binding-service.xml and put it in my jboss-service.xml everything works including tomcat...so i guess the binding-service.xml is not working quite right?

              • 4. Re: Problem changing tomcat port via ServiceBindingManager
                101weasels

                Dredging up an old topic - I'm experiencing the same problem as dunks.

                I'm apparently on Jboss 4.0.3 (Jboss management console says so, even though the my binding-service.xml is in the conf, not deploy directory). Every thing apart from tomcat starts on the port specified in the sample-bindings.xml.

                Does anyone know what might be wrong?

                Thanks in advance.

                • 5. Re: Problem changing tomcat port via ServiceBindingManager
                  a08157

                  Put the mbean-definition for the ServiceBindingManager from binding-service.xml into jboss-service.xml.