jboss configuration on Sun Cluster 3.1

Hi.

I am using generic Data Services to manage JBoss instance under Sun Cluster. the command is as follows.

scrgadm -a -j jboss_resource -g cluster_failover_rg -t SUNW.gds \

-y Scalable=false -y Start_timeout=900 \

-y Stop_timeout=420 -x Probe_timeout=300 \

-y Port_list="8080/tcp" \

-y Resource_dependencies=oracle_server_resource \

-x Start_command='/bin/su mform -c "/usr/msm40/scripts/startup/jboss.sh start"' \

-x Stop_command='/bin/su mform -c "/usr/msm40/scripts/startup/jboss.sh stop"' \

-x Child_mon_level=0 -x Failover_enabled=true -x Stop_signal=9

My jboss script will take about 8 to 10 minutes to start completely as it is designed to start about 10 child processes. Hence I set the time out as 15 minutes.

But while starting the resource I found following messages on the console.

*****************************

Oct 6 12:45:29 MFIN-SOL01 SC[SUNW.gds:5,cluster_failover_rg,jboss_resource,gds_

svc_start]: Failed to connect to host msm and port 8080: Connection refused.

Oct 6 12:45:29 MFIN-SOL01 SC[SUNW.gds:5,cluster_failover_rg,jboss_resource,gds_

svc_start]: Failed to connect to the host <msm> and port <8080>.

Oct 6 12:45:31 MFIN-SOL01 SC[SUNW.gds:5,cluster_failover_rg,jboss_resource,gds_

svc_start]: Failed to connect to host msm and port 8080: Connection refused.

Oct 6 12:45:31 MFIN-SOL01 SC[SUNW.gds:5,cluster_failover_rg,jboss_resource,gds_

svc_start]: Failed to connect to the host <msm> and port <8080>.

Oct 6 12:45:33 MFIN-SOL01 SC[SUNW.gds:5,cluster_failover_rg,jboss_resource,gds_

svc_start]: Failed to connect to host msm and port 8080: Connection refused.

Oct 6 12:45:33 MFIN-SOL01 SC[SUNW.gds:5,cluster_failover_rg,jboss_resource,gds_

svc_start]: Failed to connect to the host <msm> and port <8080>.

Oct 6 12:45:35 MFIN-SOL01 SC[SUNW.gds:5,cluster_failover_rg,jboss_resource,gds_

svc_start]: Failed to connect to host msm and port 8080: Connection refused.

Oct 6 12:45:35 MFIN-SOL01 SC[SUNW.gds:5,cluster_failover_rg,jboss_resource,gds_

svc_start]: Failed to connect to the host <msm> and port <8080>.

*****************************

here msm is the logical hostname i have selected and port 8080 is used by jboss instance.

after throwing these error messages the cluster software failes over to the other node and changes the status to offline after several attempts.

I tried starting the instance manually and it worked fine.

Please let me know if I am missing something.

Thanks in advance for the help.

[2704 byte] By [ballu121] at [2007-11-26 10:37:15]
# 1
Found the solution. Added delay at the end of start script. This may be because jboss takes some time to bind the ports and the hostname.
ballu121 at 2007-7-7 2:48:13 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...