[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
I created a JIRA issue to verify this in JGroups (https://jira.jboss.org/jira/browse/JGRP-856). Although the specific issue you're seeing might be caused by marshalling code relying on explict assumptions about size of certain types or big/little endian issues. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187899#4187899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
I'm still hoping to get a confirmation. We feel certain that anyone else attempting to blend 64bit windows in with other architectures in a cluster will experience the same result, though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187843#4187843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
I doubt that's the case. All the Java IO classes write the same number of bytes regardless of the underlying architecture. I've never heard otherwise since I started using JDK 1.0. If you're patient, feel free to run Wireshark and see if the Windows 64 bit machine is sending anything weird. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187830#4187830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
"genman" wrote : You're getting an EOF, meaning somebody in your cluster is cutting the connection to your system. It might just be a network connectivity issue. Look at the logs on the other machines (TRACE) and see what's triggering the disconnect, if it indeed is within the cache. Thanks for the feedback, but I don't think this is the case.The underlying problem seems related to the way 64bit architecture writes Int and Short to the object stream, causing other cluster members to throw this sort of exception when reading anything written by a windows 64bit member writes. I've read that Nio handles this better than ordinary DataInputStream, but I'm not well versed enough to say for sure. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187816#4187816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
You're getting an EOF, meaning somebody in your cluster is cutting the connection to your system. It might just be a network connectivity issue. Look at the logs on the other machines (TRACE) and see what's triggering the disconnect, if it indeed is within the cache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187814#4187814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
Ah, yes. Very fair question. :-) When it was apparant to me that the error lies in readInt() and readShort(), I didn't think about the rest. Clearly thats where the problem is, but this is the form we see without a loader enabled: 30 [ERROR] RequestCorrelator.receiveMessage(): - failed unmarshalling buffer into return value java.io.EOFException at java.io.DataInputStream.readShort(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source) at java.io.ObjectInputStream.readShort(Unknown Source) at org.jboss.cache.marshall.CacheMarshaller200.unmarshallObject(CacheMarshaller200.java:536) at org.jboss.cache.marshall.CacheMarshaller200.objectFromObjectStream(CacheMarshaller200.java:147) at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:154) at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:544) at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:365) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:746) at org.jgroups.JChannel.up(JChannel.java:1151) at org.jgroups.mux.Multiplexer$Task.run(Multiplexer.java:1036) at org.jgroups.mux.Multiplexer$ExecuteTask.run(Multiplexer.java:1060) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source I'll attach this to the bug as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187813#4187813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187813 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
So what does this stack trace look like when you don't use a cache loader? :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187808#4187808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
I've now logged this as a formal JIRA case: https://jira.jboss.org/jira/browse/JBCACHE-1432 Thanks again! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187786#4187786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
"[EMAIL PROTECTED]" wrote : Do you see any issues with the replication? E.g., if you turn off the cache loader - or even use a different cache loader - does this work? | Hello again, and thanks for the followup. We tried the cache without a loader today, and got the same result. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187766#4187766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
Do you see any issues with the replication? E.g., if you turn off the cache loader - or even use a different cache loader - does this work? Finally, given that you are using a JDBC cache loader, which database backend are you using, and is it configured to be shared? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186178#4186178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
Just a followup here, as mentioned. When using 64bit java for windows (1.6 latest), we do see the same result. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184256#4184256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
"[EMAIL PROTECTED]" wrote : I doubt this is an OS problem, but just to prove it, do you see this issue if you had 1 windows and 1 linux machine in the cluster, and the other linux machine were to join? Thanks for the reply. We see this problem immediately after the 64bit machine put()s or replace()s any node in the cache. That same node(s) becomes unreadable for all other members, whether current or newly joined. Note, we have not tried clustering two 64bit windows machines, because we only have one, but presumably they would play well together. We're going to try using the 64bit java installation on the windows machine to see if that might "help". So far we've only used the 32bit java everywhere. Otherwise, I hope you're right, but it's certainly evident only when 64bit windows is a member. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183424#4183424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
I doubt this is an OS problem, but just to prove it, do you see this issue if you had 1 windows and 1 linux machine in the cluster, and the other linux machine were to join? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183415#4183415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Cache corrupted by 64bit windows member
Small addendum, we're running the latest 2.2.0GA release. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181964#4181964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user