[JBoss-dev] problem starting JBoss AS 5.0.0 Beta in qa-lab

Brian Stansberry brian.stansberry at jboss.com
Sun Aug 13 17:40:20 EDT 2006


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.
 
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.
 
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:
 
1) JVM or OS bug on Linux:
http://wiki.jboss.org/wiki/Wiki.jsp?page=PromiscuousTraffic
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.

Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry 

 


________________________________

	From: jboss-development-bounces at lists.jboss.org
[mailto:jboss-development-bounces at lists.jboss.org] On Behalf Of Jaroslaw
Kijanowski
	Sent: Saturday, August 12, 2006 2:53 PM
	To: jboss-development at lists.jboss.org
	Subject: [JBoss-dev] problem starting JBoss AS 5.0.0 Beta in
qa-lab
	
	
	Hello,
	 I've got the following problem to start the AS 5.0 beta in
qa-lab (JBoss AS 4_0_3_SP1 works fine):
	 
	[jkijanowski at dev03 bin]$ env|grep IP
	MYTESTIP_4=10.64.9.18
	MYTESTIP_1=10.64.9.15
	MYTESTIP_2=10.64.9.16
	MYTESTIP_3=10.64.9.17
	MYTESTIPS=10.64.9.15 10.64.9.16 10.64.9.17 10.64.9.18
	
	[jkijanowski at dev03 bin]$ ./run.sh -c all -b $MYTESTIP_1
	
========================================================================
=
	  JBoss Bootstrap Environment
	  JBOSS_HOME:
/home/jkijanowski/jboss-head/build/output/jboss-5.0.0.Beta
	  JAVA: /opt/jdk1.5.0_06/bin/java
	  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
	  CLASSPATH:
/home/jkijanowski/jboss-head/build/output/jboss-5.0.0.Beta/bin/run.jar:/
opt/jdk1.5.0_06/lib/tools.jar
	
========================================================================
=
	15:01:59,351 INFO  [Server] Starting JBoss (MX MicroKernel)...
	.
	.
	.
	15:02:52,635 INFO  [Server] JBoss (MX MicroKernel) [5.0.0.Beta
(build: CVSTag=HEAD date=200608071140)] Started in 53s:276ms
	15:02:57,622 WARN  [UDP] packet from 10.64.48.180:49526 has
different version (12338) from ours (241). This may cause problems
	15:02:57,622 ERROR [UDP] failed unmarshalling message
	java.io.EOFException
	        at
java.io.DataInputStream.readFully(DataInputStream.java:178)
	        at
org.jgroups.stack.IpAddress.readFrom(IpAddress.java:268)
	        at org.jgroups.Message.readFrom(Message.java:607)
	        at org.jgroups.protocols.TP.bufferToMessage(TP.java:983)
	        at
org.jgroups.protocols.TP.handleIncomingPacket(TP.java:839)
	        at org.jgroups.protocols.TP.access$200(TP.java:45)
	        at
org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1294)
	        at java.lang.Thread.run(Thread.java:595)
	15:03:03,321 WARN  [UDP] packet from 10.64.48.180:49522 has
different version (12338) from ours (241). Packet is discarded
	15:03:18,891 WARN  [UDP] packet from 10.64.48.180:49526 has
different version (12338) from ours (241). This may cause problems
	15:03:18,892 ERROR [UDP] failed unmarshalling message
	java.io.EOFException
	        at
java.io.DataInputStream.readFully(DataInputStream.java:178)
	        at
org.jgroups.stack.IpAddress.readFrom(IpAddress.java:268)
	        at org.jgroups.Message.readFrom(Message.java:607)
	        at org.jgroups.protocols.TP.bufferToMessage(TP.java:983)
	        at
org.jgroups.protocols.TP.handleIncomingPacket(TP.java:839)
	        at org.jgroups.protocols.TP.access$200(TP.java:45)
	        at
org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1294)
	        at java.lang.Thread.run(Thread.java:595)
	15:03:20,731 WARN  [UDP] packet from 10.64.48.180:49522 has
different version (12338) from ours (241). Packet is discarded
	15:03:35,861 WARN  [UDP] packet from 10.64.48.180:49526 has
different version (12338) from ours (241). This may cause problems
	15:03:35,862 ERROR [UDP] failed unmarshalling message
	java.io.EOFException
	        at
java.io.DataInputStream.readFully(DataInputStream.java:178)
	        at
org.jgroups.stack.IpAddress.readFrom(IpAddress.java:268)
	        at org.jgroups.Message.readFrom(Message.java:607)
	        at org.jgroups.protocols.TP.bufferToMessage(TP.java:983)
	        at
org.jgroups.protocols.TP.handleIncomingPacket(TP.java:839)
	        at org.jgroups.protocols.TP.access$200(TP.java:45)
	        at
org.jgroups.protocols.TP$IncomingPacketHandler.run(TP.java:1294)
	        at java.lang.Thread.run(Thread.java:595)
	15:03:38,701 WARN  [UDP] packet from 10.64.48.180:49522 has
different version (12338) from ours (241). Packet is discarded
	15:03:52,361 WARN  [UDP] packet from 10.64.48.180:49526 has
different version (12338) from ours (241). This may cause problems
	15:03:52,362 ERROR [UDP] failed unmarshalling message
	java.io.EOFException
	.
	.
	.
	and it continues until I stop the server. No such problem on my
laptop. This issue doesn't prevent me from running tests.
	 
	P.S. 
	IP 10.664.48.180 is assigned in /opt/assigend-ips two times:
	[jkijanowski at dev03 testsuite]$ grep 10.64.48.180
/opt/assigned-ips
	dev13           dsicore         10.64.48.180
	dev13           rrajasekaran    10.64.48.180
	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-development/attachments/20060813/1688bd24/attachment.html 


More information about the jboss-development mailing list