<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=765414720-13082006>AS HEAD is using JGroups 2.4.beta, which doesn't
interoperate with the 2.2.7 version used in 4.0.x. Presumably someone was
running a 4.0.x instance of the AS.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=765414720-13082006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=765414720-13082006>To make the error go away, I have changed the port used
by the JGroups multiplexer in HEAD to not match any of those used in
4.0.x. The clustered services now all use the
multiplexer.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=765414720-13082006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=765414720-13082006>It's a good practice to start your AS instance with the
-u switch, to give yourself your own multicast address so you don't
unintentionally form a cluster with someone else. But, there are a couple
problems that make this not a perfect solution:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=765414720-13082006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=765414720-13082006>1) JVM or OS bug on Linux: <A
href="http://wiki.jboss.org/wiki/Wiki.jsp?page=PromiscuousTraffic">http://wiki.jboss.org/wiki/Wiki.jsp?page=PromiscuousTraffic</A></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=765414720-13082006>2) Right now the value of the -u switch isn't picked up
by the multiplexer; that's something we need to take care
of.</SPAN></FONT></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Brian Stansberry<BR>Lead, AS Clustering<BR>JBoss, a division of
Red Hat<BR>Ph: 510-396-3864<BR>skype: bstansberry </FONT></P>
<DIV> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
jboss-development-bounces@lists.jboss.org
[mailto:jboss-development-bounces@lists.jboss.org] <B>On Behalf Of
</B>Jaroslaw Kijanowski<BR><B>Sent:</B> Saturday, August 12, 2006 2:53
PM<BR><B>To:</B> jboss-development@lists.jboss.org<BR><B>Subject:</B>
[JBoss-dev] problem starting JBoss AS 5.0.0 Beta in
qa-lab<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial color=#000000 size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2> I've got the following problem to start the
AS 5.0 beta in qa-lab (JBoss AS 4_0_3_SP1 works fine):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>[jkijanowski@dev03 bin]$ env|grep
IP<BR>MYTESTIP_4=10.64.9.18<BR>MYTESTIP_1=10.64.9.15<BR>MYTESTIP_2=10.64.9.16<BR>MYTESTIP_3=10.64.9.17<BR>MYTESTIPS=10.64.9.15
10.64.9.16 10.64.9.17 10.64.9.18<BR></DIV>
<DIV>[jkijanowski@dev03 bin]$ ./run.sh -c all -b
$MYTESTIP_1<BR>=========================================================================</DIV>
<DIV> JBoss Bootstrap Environment</DIV>
<DIV> JBOSS_HOME:
/home/jkijanowski/jboss-head/build/output/jboss-5.0.0.Beta</DIV>
<DIV> JAVA: /opt/jdk1.5.0_06/bin/java</DIV>
<DIV> JAVA_OPTS: -Xms128m -Xmx512m -Dorg.jboss.resolver.warning=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh</DIV>
<DIV> CLASSPATH:
/home/jkijanowski/jboss-head/build/output/jboss-5.0.0.Beta/bin/run.jar:/opt/jdk1.5.0_06/lib/tools.jar</DIV>
<DIV>=========================================================================</DIV>
<DIV>15:01:59,351 INFO [Server] Starting JBoss (MX
MicroKernel)...<BR>.</DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV>15:02:52,635 INFO [Server] JBoss (MX MicroKernel) [5.0.0.Beta
(build: CVSTag=HEAD date=200608071140)] Started in 53s:276ms<BR>15:02:57,622
WARN [UDP] packet from 10.64.48.180:49526 has different version (12338)
from ours (241). This may cause problems<BR>15:02:57,622 ERROR [UDP] failed
unmarshalling
message<BR>java.io.EOFException<BR>
at
java.io.DataInputStream.readFully(DataInputStream.java:178)<BR>
at
org.jgroups.stack.IpAddress.readFrom(IpAddress.java:268)<BR>
at
org.jgroups.Message.readFrom(Message.java:607)<BR>
at
org.jgroups.protocols.TP.bufferToMessage(TP.java:983)<BR>
at
org.jgroups.protocols.TP.handleIncomingPacket(TP.java:839)<BR>
at
org.jgroups.protocols.TP.access$200(TP.java:45)<BR>
at
org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1294)<BR>
at java.lang.Thread.run(Thread.java:595)<BR>15:03:03,321 WARN [UDP]
packet from 10.64.48.180:49522 has different version (12338) from ours (241).
Packet is discarded<BR>15:03:18,891 WARN [UDP] packet from
10.64.48.180:49526 has different version (12338) from ours (241). This may
cause problems<BR>15:03:18,892 ERROR [UDP] failed unmarshalling
message<BR>java.io.EOFException<BR>
at
java.io.DataInputStream.readFully(DataInputStream.java:178)<BR>
at
org.jgroups.stack.IpAddress.readFrom(IpAddress.java:268)<BR>
at
org.jgroups.Message.readFrom(Message.java:607)<BR>
at
org.jgroups.protocols.TP.bufferToMessage(TP.java:983)<BR>
at
org.jgroups.protocols.TP.handleIncomingPacket(TP.java:839)<BR>
at
org.jgroups.protocols.TP.access$200(TP.java:45)<BR>
at
org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1294)<BR>
at java.lang.Thread.run(Thread.java:595)<BR>15:03:20,731 WARN [UDP]
packet from 10.64.48.180:49522 has different version (12338) from ours (241).
Packet is discarded<BR>15:03:35,861 WARN [UDP] packet from
10.64.48.180:49526 has different version (12338) from ours (241). This may
cause problems<BR>15:03:35,862 ERROR [UDP] failed unmarshalling
message<BR>java.io.EOFException<BR>
at
java.io.DataInputStream.readFully(DataInputStream.java:178)<BR>
at
org.jgroups.stack.IpAddress.readFrom(IpAddress.java:268)<BR>
at
org.jgroups.Message.readFrom(Message.java:607)<BR>
at
org.jgroups.protocols.TP.bufferToMessage(TP.java:983)<BR>
at
org.jgroups.protocols.TP.handleIncomingPacket(TP.java:839)<BR>
at
org.jgroups.protocols.TP.access$200(TP.java:45)<BR>
at
org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1294)<BR>
at java.lang.Thread.run(Thread.java:595)<BR>15:03:38,701 WARN [UDP]
packet from 10.64.48.180:49522 has different version (12338) from ours (241).
Packet is discarded<BR>15:03:52,361 WARN [UDP] packet from
10.64.48.180:49526 has different version (12338) from ours (241). This may
cause problems<BR>15:03:52,362 ERROR [UDP] failed unmarshalling
message<BR>java.io.EOFException<BR>.</DIV>
<DIV>.</DIV>
<DIV>.</DIV>
<DIV>and it continues until I stop the server. No such problem on my laptop.
This issue doesn't prevent me from running tests.</DIV>
<DIV> </DIV>
<DIV>P.S. </DIV>
<DIV>IP 10.664.48.180 is assigned in /opt/assigend-ips two times:</DIV>
<DIV>[jkijanowski@dev03 testsuite]$ grep 10.64.48.180
/opt/assigned-ips<BR>dev13
dsicore
10.64.48.180<BR>dev13
rrajasekaran
10.64.48.180<BR><BR></DIV></BLOCKQUOTE></BODY></HTML>