4 Replies Latest reply on Apr 5, 2002 6:08 PM by jlr7

    2 instances of JBOSS

    integ

      How can I run 2 instances of JBoss on the same machine simultaneously. I have the port configured to 80 for one instance and 90 for the other in the respective jboss-service.xml under the tomcat4-service.sar archives. This definitely solves the tomcat portion of it, but both of them try to access the same port of JBoss. How can I change the tomcat-jboss communication port?

        • 1. Re: 2 instances of JBOSS
          integ

          Maybe there r lots of other ports too which require tweaking... Can somebody help with a list of ports and the corresponding files.

          • 2. Re: 2 instances of JBOSS
            user57

            Off the top of my head I can think of:

            JNDI Port
            Web ClassLoader Port
            JMX HTML Adapter Port
            RMI Port (can be set to anonymous)
            Jetty or Tomcat Port

            Most of these are settable via jboss-service.xml.

            --jason

            • 3. Re: 2 instances of JBOSS
              mikefinn

              FWIW, I do this w/ 3.0/Tomcat. These are the ones I changed:

              $JBOSS/conf/(default)
              -jboss-service.xml (webservice, namingservice, rmi)

              $JBOSS/deploy/
              -Hypersonic: hsqldb-default-service.xml
              -JBoss MQ: jbossmq-service.xml
              -HTML Adaptor: jmx-html-adaptor.sar/jboss-service.xml
              -Tomcat: tomcat4-service.sar/jboss-service.xml

              Mike

              • 4. Re: 2 instances of JBOSS
                jlr7

                I've been successful renumbering ports, but can the filesystem conflicts be resolved?

                I'm running 3.0.0, and the conflicts appear to be:
                deploy
                db
                tmp/deploy
                tmp/jbossmq

                Are these all adjustable for each user? Or does each user need their own complete installation of the server?