Re: [jgroups-dev] Members format and Error Message while testing.
Bela Ban <[email protected]>
| Newsgroups | gmane.comp.java.javagroups.devel |
|---|---|
| Message-ID | <[email protected]> |
Kuwon Kang wrote: > Thanks. > > Vladimir. > > > *I found some result through test using your answer for my questions.* > > > > Pass java.net.preferIPv4Stack=true system parameter to your JVM. > > *After pass the jvm option, member information does not show UUID > pattern*([FLPREA01-64634, > FLPREA01-30427, FLPREA01-45965, FLPREA01-39563, > 09c02c5b-1606-bf6e-2f80-6dc2925f6931]). > > *But still address information does not changes. * > > Below text was my question: > >> And, is there a way to see the member information like previous >> version(2.7.0.0) which is shown the ip and port. >> For exmaple: [100.254.163.51:7800, 100.254.163.51:7801, >> 100.254.161.13:7800, 100.254.161.12:78 >> 01, 100.254.161.12:7800, 100.254.161.11:7800, 100.254.161.13:7801, >> 100.254.161.11:7801] >> > > *Let me know if there is no way to show the member information like > previous version format like shown above.* By default we're not showing the IP address any longer, because it might change on a reconnect. However, what you could do is to use the IP address as logical name, e.g. InetAddress addr=InetAddress.getLocalHost(); JChannel ch=new JChannel(props); ch.setName(addr.toString()); -- Bela Ban Lead JGroups / Clustering Team JBoss ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Javagroups-development mailing list