Troubleshooting - Cluster startup Failure

Recently i had this problem.. I setup a cluster with an instance. But was not able to start it up. 

I got a series of  java.net.ConnectException: Connection refused exceptions and the instance did not startup.

What did the wonder?

 The /etc/hosts file had the following entries:

127.0.0.1 mymachine mymachine localhost

 When i commented out this line in the hosts file and add a physical IP entry like

129.xxx.xxx.xx mymachine

 and startup the instance, it goes through fine :)

 Reason

MQ needs the hostname to map to the absolute IP and not 127.0.0.1.


Comments:

Have you filed a bug or an RFE? :)

Posted by Alexis MP on October 30, 2007 at 07:16 AM IST #

So if other applications on the machine are set up such that the hostname MUST be mapped to 127.0.0.1 - what is the magic required to make Glassfish start using the address of one of the other network addresses on the machine?

Posted by Ed on December 17, 2008 at 08:15 AM IST #

This blog: http://blogs.sun.com/yirawan/entry/troubleshooting_jms_broker_on_glassfish explains it all, and has a fix.

Posted by Ed on December 18, 2008 at 06:59 AM IST #

Awesome, thanks for posting this saved me a lot time.

Posted by Chris on October 03, 2009 at 11:19 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

shalini_m

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today