[jboss-user] [EJB 3.0 Users] - Re: MDBs and -b option.

PeterJ do-not-reply at jboss.com
Tue Aug 25 21:27:08 EDT 2009


The problem is that the lookup for the queue is done using localhost, but the app server is not binding to locahost - instead it is binding to the host mentioned with the -b option.

One possible solution is to bind to 0.0.0.0 (-b 0.0.0.0), then the app server will bind to your IP address and localhost (and any other IP address defined on your system).

A second possible solution, which I have not verified but should work, is to add the following line to the server/xxx/conf/jndi.properties file (replace 99.99.99.99 with your IP address):

java.naming.provider.url=jnp://99.99.99.99:1099

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

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



More information about the jboss-user mailing list