2 Replies Latest reply on Dec 11, 2007 1:24 AM by bbharadwaj

    Multiple NIC deployment

    bbharadwaj

      Hi !!
      My server has 2 ethernet interfaces with different Ip addresses(say.. IP1 & IP2).

      I have deployed 2 web applications as WAR's in my JBoss server. (say.. WAR1 & WAR2)

      My problem is that, I want to access application WAR1 only through IP1 & WAR2 only through IP2. (Note: I do not want to run a different instance of JBoss)

      If anyone knows how to configure JBoss 4.2.0 to work as required above

      Thanks in advance..

        • 1. Re: Multiple NIC deployment
          peterj

          Do this. Make a copy of server/default (for example, copy it as server/other). Deploy one of the WARs to server/default/deploy, and the other WAR to server/other/deploy. Then run the servers giving the -b option, as follows:

          run -c default -b IP1
          run -c other -b IP2


          • 2. Re: Multiple NIC deployment
            bbharadwaj

            Thanks.
            But, I have a restriction to run only one JBoss instance. i.e 2 processes will be started if I execute run script twice.