[jboss-user] [JNDI/Naming/Network] - JNDI Connection Problem! jboss.bind.address always 127.0.0.1

cjc do-not-reply at jboss.com
Wed Jul 4 06:35:10 EDT 2007


Hi,
I'm using JBoss 4.0.5.GA and now i wont to migrate to 4.2.0.GA. I'm using
some java bigger 1.5.

My architectuer looks like

PC A) eth0: 192.168.200.210 (dbserver)
Jboss4.0.5.GA
MySQL

PC B) eth1: 192.168.200.211 and eth0: INET (XXX.XXX.XXX.XXX)
Tomcat 5.5

My jndi.propterties on PC B looks like:

  | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=jnp://dbserver:1099
  | 

All that works greate with 4.0.5.GA. But under 4.2.0.GA dosn't!!!
I edit the file conf/jboss-service.xml and make all Bindings where
$(jboss.bind.address) is using to Empty == ALL but the result was
that telnet can connect to dbserver:1099 but get a address 127.0.0.1 to go forward. So my Tomcat cannont establich jndi Connections?

If i add the parameter -Djboss.bind.address=0.0.0.0 it changed nothing!
Even jboss.bind.address=dbserver or the IP.

If im just to stupid read right the manual say me where to look!

Do I have to use the bind-service.xml to do that?

regards
cjc

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

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



More information about the jboss-user mailing list