In a standard "all" config there are two JGroups channels created -- one in cluster-service.xml and one in tc5-cluster.sar/META-INF/jboss-service.xml. (The latter was formerly tc5-cluster-service.xml in 4.0.3.SP1 and earlier.)
You need to use distinct names, mcast_addr and mcast_port configs between these two files. But, for each file, the name, mcast_addr and mcast_port should be the same on all servers. Thus the cluster-service channels see each other and form a group and the tc5 channels see each other and form a group, and the two sets of channels don't see each other.
Try the following to avoid UDP Warnings.
1. Don't modify cluster-service.xml file in the JBoss AS.
2. Run the server using the following command.
/run.sh -c all -g server1 -u 188.8.131.52
-g option is for specifying the partition name.
-u option is for specifying the UDP multicast address.
For more information refer http://wiki.jboss.org/wiki/Wiki.jsp?page=TwoClustersSameNetwork
Hope, It should solve your problem.