Operating System - HP-UX
1827279 Members
2645 Online
109717 Solutions
New Discussion

Bad Multicast Address - weblogic exception

 

Bad Multicast Address - weblogic exception

Hi,

We are using clustering on Weblogic v6.1 for which multicast need to be enabled. While starting the serve it throws an exception as below :
Jul 16, 2002 10:22:47 PM GMT+08:00> tening on port 9949, ip address 206.236.141.46>
the server: 'Fatal initialization exception
Throwable: weblogic.server.ServiceFailureException: Cluster service (bad multicast IP addr?) - with nested exception:

do I need to specify any ip address before I start the WLs server or do I need to add any route ?
Pls help
Srini
It Has Been...
12 REPLIES 12

Re: Bad Multicast Address - weblogic exception

Pls find the output of the test.
It Has Been...
U.SivaKumar_2
Honored Contributor

Re: Bad Multicast Address - weblogic exception

Hi,
Use 224.0.0.1 and get back with results.

regards,
U.SivaKumar
Innovations are made when conventions are broken
rick jones
Honored Contributor

Re: Bad Multicast Address - weblogic exception

IIRC, by default HP-UX does not setup multicast routes on its own - you or your software need to do that. so, once you've verified that a valid multicast IP is being used, you may want to make sure there is a proper route for it.
there is no rest for the wicked yet the virtuous have no pillows

Re: Bad Multicast Address - weblogic exception

Hi Rick,
What so you exqactly mean by "proper route" ? if the ip is , as suggested in the earlier reply is 224.0.0.1 then should I give a route
add net 224.0.0.1 1
Pls clarify.

We have tried the above ip , but the error is the same.

Thanks ,
Srini
It Has Been...
U.SivaKumar_2
Honored Contributor

Re: Bad Multicast Address - weblogic exception

Hi,
You should have a route entry for the multicast network which you are using. To add the route in your case.
#route add 206.0.0.0
where x.x.x.x is your server's LAN card ip address. ( you have to add this route for all
LAN interfaces in the server with respective IP address ).
NOw give this
#netstat -rn
output should contain
206.0.0.0 x.x.x.x U 0 0 lan1 1500
Start your application again.
Try this get back with results.

regards,
U.SivaKumar
Innovations are made when conventions are broken

Re: Bad Multicast Address - weblogic exception

thanks for your reply.

I have added a route as below:
224.0.0.1 206.236.14.46 UH 0 0 lan0 1500

where the first ip is the multicast ip and the second ip is the ip addres of the server. Is this route fine.

thanks,Srini
It Has Been...
U.SivaKumar_2
Honored Contributor

Re: Bad Multicast Address - weblogic exception

Hi,
Sorry I think i was not clear in my previous post.
YOu are going to use this command right ?.
java utils.MulticastTest -N server100 -A 239.195.55.1
So the Multicast address you are going to use is 239.195.55.1. Now you have to add a route for 239.0.0.0 as destination and your LAN ip address as gateway.
#route add 239.0.0.0
Now give the above java command again and get back with results.

regards,
U.SivaKumar
Innovations are made when conventions are broken

Re: Bad Multicast Address - weblogic exception

Hi siva,

Even if I do
#route add 239.0.0.0
the below route is getting added to my routing table
224.0.0.0 U 0 0 lan0 1500
Is this normal ?

I cud'nt see a route for 239.0.0.0 in the routing table.

Thanks,
Srini
It Has Been...
U.SivaKumar_2
Honored Contributor

Re: Bad Multicast Address - weblogic exception

Hi,
#route add 239.0.0.0
after you give the above command do you get any error ?.

regards,
U.SivaKumar
Innovations are made when conventions are broken

Re: Bad Multicast Address - weblogic exception

hi Siva,

No I am not getting any error but the below line is getting added to my routing table.

224.0.0.0 U 0 0 lan0 1500

Thanks,
Srini
It Has Been...
T G Manikandan
Honored Contributor

Re: Bad Multicast Address - weblogic exception

I think you are using two clusters with same multicast address and the same default port 7001.

If you want to use the same multicast address for the clusters then you can use different port numbers.

Else you can use different multicast address with the same port.

you can set the multicast address on the weblogic server console

Please get back
U.SivaKumar_2
Honored Contributor

Re: Bad Multicast Address - weblogic exception

Hi,
Please do this.
#route delete 224.0.0.0
then
#route add 239.0.0.0
#netstat -rn
239.0.0.0 entry should come now.
if it comes , run that java command again.
please paste output of netstat -rn.
pl get back with results.

regards,
U.SivaKumar
Innovations are made when conventions are broken