2 Replies Latest reply on Mar 17, 2005 5:05 PM by Daniel

    multiple servers?

    Dan Slowda Newbie

      Is there a way to run Multiple instances for the jboss server on one Linux machine?

      Basically the insane company I'm working for expects this and believes company's like jboss are pretty stupid for not implementing it cause they are way smarter than anyone at jboss or anyone in the worls could hope to ever be.

      Yup got that smell of death thing going on as you walk through the building. Classic.

      Anyway. Thanks in advance.

        • 1. Re: multiple servers?
          Santosh Korde Newbie

          We are using multiple instances of the Jboss server for each developer.
          I will list down the steps, those may not be exact Linux scripts bt I will try to give the detailed steps.

          These steps are same for all jboss3.2.x server vesions. I have done for the jboss-3.2.3/5/6 vesrsions.
          1) Copy default folder and rename it as dev1.

          2. In C:\jboss-3.2.3\server\default\conf\jboss-service.xml, change all the port numbers, prefix 1 to Devloper1(A) and 2 to developer2(B) ,i.e. if port number is 1099, A's will be 11099 and B's will be 21099. Here I only list the changes for A's.
          change 8083 to 18083
          change 1099 to 11099
          change 1098 to 11098/attribute>
          change 4444 to 14444
          change 4445 to 14445

          2. In C:\jboss-3.2.3\server\default\deploy\hsqldb-ds.xml,
          change 1701 to 11701

          3. In C:\jboss-3.2.3\server\default\deploy\jbossweb-tomcat41.sar\META-INF\jboss-service.xml,
          change port 8080 to 18080, 8009 to 18009, and 8443 to 18443

          4. In C:\jboss-3.2.3\server\default\deploy\snmp-adaptor.sar\META-INF\jboss-service.xml,
          change 1162 to 11162

          5. start jboss in C:\jboss-3.2.3\bin

          6. start IE and use URL http://localhost:18080/test/Login.jsp for A and http://localhost:28080/test/Login.jsp for B to test the application

          Let me know if you still have the problems

          Santosh Korde

          my email is informsantosh@linuxmail.org