[jgroups-dev] jgroups on android, failed handling incoming message

jacobs1 <[email protected]> Fri, 2 Nov 2012 01:16:43 -0700 (PDT)
Newsgroups gmane.comp.java.javagroups.devel
Message-ID <[email protected]>
Hello all, I am trying to use jgroups on android with no success so far.
I am using version 2.12.0.Alpha3 ( thats the only android port I found ).
this is my configuration file: http://pastebin.com/ku8zZAM8

I keep on getting these exceptions when messages arrive:

E/UDP(19497): failed handling incoming message
E/UDP(19497): java.io.IOException: failed reading header
E/UDP(19497): 	at org.jgroups.Message.readHeader(Message.java:771)
E/UDP(19497): 	at org.jgroups.Message.readFrom(Message.java:651)
E/UDP(19497): 	at org.jgroups.protocols.TP.readMessage(TP.java:1238)
E/UDP(19497): 	at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1618)
E/UDP(19497): 	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/UDP(19497): 	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/UDP(19497): 	at java.lang.Thread.run(Thread.java:856)
E/UDP(19497): Caused by: java.io.EOFException
E/UDP(19497): 	at libcore.io.Streams.readFully(Streams.java:83)
E/UDP(19497): 	at java.io.DataInputStream.readLong(DataInputStream.java:164)
E/UDP(19497): 	at
org.jgroups.protocols.pbcast.NakAckHeader.readFrom(NakAckHeader.java:99)
E/UDP(19497): 	at org.jgroups.Message.readHeader(Message.java:767)
E/UDP(19497): 	... 6 more
E/UDP(19497): failed handling incoming message
E/UDP(19497): java.io.IOException: failed reading header
E/UDP(19497): 	at org.jgroups.Message.readHeader(Message.java:771)
E/UDP(19497): 	at org.jgroups.Message.readFrom(Message.java:651)
E/UDP(19497): 	at org.jgroups.protocols.TP.readMessage(TP.java:1238)
E/UDP(19497): 	at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1618)
E/UDP(19497): 	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/UDP(19497): 	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/UDP(19497): 	at java.lang.Thread.run(Thread.java:856)
E/UDP(19497): Caused by: java.io.EOFException
E/UDP(19497): 	at libcore.io.Streams.readFully(Streams.java:83)
E/UDP(19497): 	at java.io.DataInputStream.readLong(DataInputStream.java:164)
E/UDP(19497): 	at
org.jgroups.protocols.pbcast.NakAckHeader.readFrom(NakAckHeader.java:99)
E/UDP(19497): 	at org.jgroups.Message.readHeader(Message.java:767)
E/UDP(19497): 	... 6 more

-- 
View this message in context: http://old.nabble.com/jgroups-on-android%2C-failed-handling-incoming-message-tp34632082p34632082.html
Sent from the JGroups - Dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Javagroups-development mailing list