[jboss-user] [JNDI/Naming/Network] - Jboss on multiple interface

datasunny do-not-reply at jboss.com
Thu Mar 12 14:10:41 EDT 2009


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.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217609#4217609

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217609



More information about the jboss-user mailing list