[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-06-11 Thread timfox
"rdaly" wrote : | In searching through the Jboss-Messaging code, I found the code that parses the remoting-*-service.xml files. The class is org.jboss.remoting.transport.Connector. There is a method inside that class that parses the xml: | That's jboss remoting code (not jboss messaging

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-06-11 Thread rdaly
Well, I finally had some time to delve into the source code. I searched the source code for JbossAS, Jboss-Messaging, and Jboss-Remoting. I did not find the root cause (EXACTLY), but I did find a solution. POSSIBLE ROOT CAUSE: >From searching inside the source code, I see that almost all of

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-30 Thread rdaly
PeterJ: Yes, I think you are correct. I guess I will dive into the source code next week. Fun. Fun. Thanks again for all your effort. Rich View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154790#4154790 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-30 Thread PeterJ
Never mind, I was looking at the wrong log file, I found the entry and the code. But unless someone else has this already figured out and jumps in with the solution, it looks like the only thing left to do is debug the code to find out what method is returning 127.0.0.1 instead of the host name.

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-30 Thread PeterJ
I cannot find the log entry you posted in any of my logs. Could you post the corresponding entry from the server.log file - that will have the full class name (actually, log category name, but they are usually the same). This might help pinpoint the code that has the problem (or at least let us

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-30 Thread rdaly
PeterJ: Navigated to the jmx-console on test and qa. All of the properties were the same in both. The properties that contained server names all had the correct server names. No localhost or 127.0.0.1 were found. Perhaps re-stating my issue will help... I run the same script on test and qa

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-30 Thread PeterJ
Actually, -b and -Djboss.bind.address are not exatcly the same. While they both set jboss.bund.address, the -b option also sets java.rmi.server.hostname (under certain conditions, which is why I had you set it sepcifically), and also sets some jgroup-related system properties. Try this. Go into

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-30 Thread rdaly
PeterJ: 1. If I ping the servers, I get their correct IP addresses. 2. Tried adding -Djava.rmi.server.hostname. Unfortunately, same results. Clients receive a serverLocatorURI of 127.0.0.1. 3. Yes, I do know that -b and jboss.bind.address are supposed to be the same. Unfortunately I coul

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-30 Thread [EMAIL PROTECTED]
Hello, just for sure, give it a try without using -Djboss.bind.adress... Just use -b 0.0.0.0 Also show me output of hostname command please. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154599#4154599 Reply to the post : http://www.jboss.com/index.html?m

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-29 Thread PeterJ
The hosts files look ok to me. What response do you get if you ping qa.server.com and test.server.com remotely? Try adding -Djava.rmi.server.hostname=qa.server.com to the run script and see if that helps. By the way, the -b and -Djboss.bind.address options do the same thing - they both set the

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-29 Thread rdaly
The 8080 message is the same in both places: [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 Host File for Test (balin.flpi.com OR 10.77.0.60): 127.0.0.1 localhost.localdomain localhost balin balin.flpi.com #10.78.0.60 balin balin.flpi.com 10.78.0.65

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-29 Thread PeterJ
Oh, and one question. When you start the server, a few lines before the "Started in xxx seconds" log message, there will be another log message that looks like this: 10:40:09,859 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 Could you post that for both of your servers?

[jboss-user] [JBoss Messaging] - Re: -b 0.0.0.0 is behaving one way on Test machine and anoth

2008-05-29 Thread PeterJ
What are the contents or the /etc/hosts files? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154403#4154403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154403 ___ jboss-us