0 Replies Latest reply on Mar 12, 2009 2:10 PM by datasunny

    Jboss on multiple interface

    datasunny

      We're running jboss 4.0.4 on a multihome linux device. The user can change
      the IP addresses anytime. We want to use https to access the JNDI. Here is
      my situation:

      there are 2 interfaces in my device:
      IP1 : 10.11.12.13/255.255.0.0.
      IP2 : 172.16.80.100/255.255.255.0

      We setup Jboss to accept calls from both interfaces. Is it possible for
      jboss to return the correct jndi invoker url based on the connection? If the
      client is connected from IP1, the invoker url should be
      10.11.12.13:8080/invoker/JMXInvokerServlet. If the client is connected from
      IP2, the invoker url should be 172.16.80.100:8080/invoker/JMXInvokerServlet.
      We've tried changing the config file in http-invoker.sar but cannot find a
      solution.

      Second, is the invoker url constructed during the jboss startup process? One
      of our requirement is to allow user to change the IP anytime and we don't
      want to restart jboss everytime user make a change. Is is possible to config
      jboss to consturct the url on demand (i.e only when it's needed by the
      client)?

      Thanks for your help.