I am trying to connect from a client on the same network - and have disabled 
all firewalls.

I have my jboss starting with the bind address of the local ip 192.168.1.104

I can telnet to 192.168.1.104 1099 and see http://linux:8083 which is 
resolvable - and it ends with 192.168.1.104.

I cannot (will not?) annotate my beans to hardcode the IP address...

But from another client with jndi.properties of 

java.naming.factory.initial=org.jboss.security.jndi.LoginInitialContextFactory
java.naming.provider.url=jnp://192.168.1.104:1099
java.naming.factory.url.pkgs=org.jboss.naming.client

I get the error:


javax.naming.CommunicationException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 192.168.1.104; nested 
exception is: 
        java.net.ConnectException: Connection timed out: connect]
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:707)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
        at javax.naming.InitialContext.lookup(Unknown Source)


Any clues... I am running 4.0.3

thanks

Aron

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

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


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to