[jboss-user] [JBoss Messaging] - -b 0.0.0.0 is behaving one way on Test machine and another w

rdaly do-not-reply at jboss.com
Thu May 29 12:40:09 EDT 2008


I have installed jboss-4.2.2.GA with jboss-messaging-1.4.0.SP3 on a test server and a qa server.  Both servers run the same version of Linux (Red Hat Enterprise Linux WS release 3 (Taroon Update 9)).  Both are also running the same version of Java (IBM J9SE VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20050915a (JIT enabled)).

On the Test server I call the run script like so: "run.sh -b test.server.com -c messaging -Djboss.bind.address=0.0.0.0". This test server is then able to accept requests from remote clients (from the 0.0.0.0 bind address option). And because of the -b option, any ConnectionFactory requests to 1099 will return a JbossConnectionFactory - ClientConnectionFactoryDelegate - serverLocatorURI like "http://test.server.com:4458//?callbackPollPeriod=102...".

On the other hand, when I try to call the run script on my Qa server using "run.sh -b qa.server.com -c messaging -Djboss.bind.address=0.0.0.0", I get different behavior. The ports DO open up for remote clients but the serverLocatorURI comes back as "http://127.0.0.1:4458/?callbackPollPeriod=102...". Notice we have 127.0.0.1 instead of the name of the server. This does not help remote clients find the remote objects.

I have spent days trying to manipulate -b, -D, and remoting*.xml files, but to no avail. I can usually only succeed in doing one or the other: opening the ports for remote connections but getting 127.0.0.1 in serverLocatorURI OR getting qa.server.com in serverLocatorURI but blocking remote connections.

I hope that someone will have some ideas.

Thanks!

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

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



More information about the jboss-user mailing list