2 Replies Latest reply on Sep 15, 2010 1:35 PM by nick.x.newman

    Multiple JBoss instances

    nick.x.newman

      Hi,

       

      JBoss comes with several server configurations (default, standard, etc).  Assuming that I take steps to avoid port conflicts, is there any problem in running an instance of each of these configurations simultaneously from the same JBoss root directory?  So I'd like to do something like:

       

      cd    /jboss/bin

       

      ./run.sh   -c default    &

      ./run.sh   -c  standard &

       

       

      It seems to work fine, but I'd just like to make sure that there are not any subtle problems that could occur through sharing the bulk of the JBoss installation between the two instances.

       

      Many thanks,

      Nick

        • 1. Re: Multiple JBoss instances
          peterj

          Sure, you can do that. When most people run multiple instances it is usually of the same kind. For example, I copy 'default' as 'server1' and 'server2' and then run those two instances. I actually rarely, if ever, directly run any of the configs that come with the app server, I always make copies and run those.

          • 2. Re: Multiple JBoss instances
            nick.x.newman

            Thanks Peter,

             

            It seemed like a reasonable thing to do, but confirmation is always nice.

             

            And like you, I'll actually be running multiple copies of "default".  I left that bit out for brevity.

             

            I appreciate the response.

            Nick