2 Replies Latest reply on Mar 17, 2004 11:32 AM by tripuram

    Multiple instances

    tripuram

      Guys,

      I would like create a new server instance outside the JBoss installation directory. I know if I want to create a new instance, create a new directory under server and amend the configurations. Run this instance using run.sh -c .

      But if I want to create the same instance outside the JBoss setup. How do I go about it? What configuration files need to be modified?

      eg: instance is in /opt/application/ and JBoss is in </opt/Jboss-3.2.3>.

        • 1. Re: Multiple instances

          Change the system properties.
          You can see the Server MBean list them when you first boot the machine.

          Regards,
          Adrian

          • 2. Re: Multiple instances
            tripuram

            Thanks Adrian. It works.

            Pass the sytem properties as below for the command line executable.

            -Djboss.server.base.dir=/opt/application
            -Djboss.server.lib.url=file:/opt/application/instancename/lib \
            -Djboss.server.base.url=file:/opt/application
            -Djboss.home.dir=<jboss installation directory>
            -Djboss.server.home.dir=/opt/application/instancename
            -Djboss.server.config.url=file:/opt/application/instancename/conf \