<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>Hi
All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>We are having
trouble using JBC Habanero version 2.0.0.0 GA for enabling Distributed Caching.
The error encountered as appearing in the
log is :</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>Nov 2, 2007 6:00:07
AM org.jgroups.protocols.TP$IncomingPacket run<BR>WARNING: packet from
a.b.c.d:45564 has different version (0.0.0) from ours (2.5.0). Packet is
discarded</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>Environment
:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>Tomcat 5.5.20,
Multicast</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>Starting Catalina
with the following option to avoid the "Problem creating sockets"
:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>
-Djava.net.preferIPv4Stack=true</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007></SPAN></FONT><FONT
face=Arial size=2><SPAN class=854514812-05112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>What I am trying to
do is, use JBC for distributing cache over the Tomcats cluster established with
multicasting. The steps followed were :</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>
1. modified ip address & port for the UDP/mcastaddr and port in
replSync-service.xml</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007></SPAN></FONT><FONT
face=Arial size=2><SPAN class=854514812-05112007> 2. commented
off transaction manager tag in the xml, as we dont have the requirement for
Transactional Caching</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>
3. created a client that would enable/initialize the JBC caching
:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007></SPAN></FONT> </DIV>
<DIV><FONT size=+0><SPAN class=854514812-05112007><FONT face=Arial
size=2> CacheFactory factory =
DefaultCacheFactory.<I>getInstance</I>();</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=854514812-05112007><FONT face=Arial><FONT
size=2><FONT color=#0000c0><SPAN
class=854514812-05112007>
</SPAN>cache</FONT> = factory.createCache(<url of the
replSync-service.xml>);</FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=854514812-05112007><FONT face=Arial><FONT
size=2></FONT></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>Whats happening is
:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>
1. JGroups seems to be doing whats required as I see the following in the log
:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007> INFO:
JGroups version: 2.5.0</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007>
-------------------------------------------------------<BR>
GMS: address is a.b.c.d:32838</SPAN></FONT></DIV><FONT size=+0><SPAN
class=854514812-05112007>
<DIV><FONT face=Arial size=2></FONT><BR><FONT face=Arial
size=2> 2. And further the following is logged :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=854514812-05112007> </SPAN>INFO: viewAccepted(): [<SPAN
class=854514812-05112007>a.b.c.d</SPAN>:32838|0] [<SPAN
class=854514812-05112007>a.b.c.d</SPAN>:32838]<BR><SPAN
class=854514812-05112007> </SPAN>Nov 2, 2007 6:00:06 AM
org.jboss.cache.CacheImpl internalStart<BR><SPAN
class=854514812-05112007> </SPAN>INFO: CacheImpl local address
is <SPAN class=854514812-05112007>a.b.c.d</SPAN>:32838<BR><SPAN
class=854514812-05112007> </SPAN>Nov 2, 2007 6:00:06 AM
org.jboss.cache.CacheImpl internalStart<BR><SPAN
class=854514812-05112007> </SPAN>INFO: JBoss Cache version:
JBossCache 'Habanero' 2.0.0.GA[ $Id: Version.java,v 1.35 2007/08/01 16:52:13
msurtani Exp $]<BR><SPAN class=854514812-05112007> </SPAN>Nov
2, 2007 6:00:07 AM
org.apache.catalina.cluster.mcast.McastServiceImpl$ReceiverThread run<BR><SPAN
class=854514812-05112007> </SPAN>WARNING: Error receiving
mcast package. Sleeping 500ms<BR><SPAN
class=854514812-05112007>
</SPAN>java.lang.ArrayIndexOutOfBoundsException<BR><SPAN
class=854514812-05112007> </SPAN> at
java.lang.System.arraycopy(Native Method)<BR><SPAN
class=854514812-05112007> </SPAN> at
org.apache.catalina.cluster.mcast.McastMember.getMember(McastMember.java:174)<BR><SPAN
class=854514812-05112007> </SPAN> at
org.apache.catalina.cluster.mcast.McastServiceImpl.receive(McastServiceImpl.java:210)<BR><SPAN
class=854514812-05112007> </SPAN> at
org.apache.catalina.cluster.mcast.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:254)<BR><SPAN
class=854514812-05112007> </SPAN>Nov 2, 2007 6:00:07 AM
org.jgroups.protocols.TP$IncomingPacket run<BR><SPAN
class=854514812-05112007> </SPAN>WARNING: packet from <SPAN
class=854514812-05112007>a.b.c.d</SPAN>:45564 has different version (0.0.0) from
ours (2.5.0). Packet is discarded<BR></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>
3. Is the observed error ignorable ?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>
4. I have not started the other node in the cluster as there are hundreds of
lines appearing in the log with Packet discarded message.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=854514812-05112007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=854514812-05112007>Have I done enough,
or missing something obvious as the documents do direct us to do just the
above.</DIV>
<DIV><BR></DIV></SPAN></FONT>
<DIV><FONT face=Arial color=#008000 size=2>Best Regards,</FONT></DIV>
<DIV align=left><FONT face=Arial color=#008000 size=2><SPAN
class=854514812-05112007>Jigyaasa_Jbosscache</SPAN></FONT></DIV></FONT></DIV><PRE>
This email is confidential. If you are not the addressee tell the sender immediately and destroy this email
without using, sending or storing it. Emails are not secure and may suffer errors, viruses, delay,
interception and amendment. Standard Chartered PLC and subsidiaries ("SCGroup") do not accept liability for
damage caused by this email and may monitor email traffic.
</PRE>
</BODY></HTML>