[jboss-user] [JBossCache] - failed setting transient state - in a Tree Cache Cluster
nan2k_sweety
do-not-reply at jboss.com
Mon Jan 28 06:08:59 EST 2008
Hi,
I have a Tree Cache working in cluster. I wrote a Stand alone client which will create a new Tree Cache Instance which joins the cluster and gets the data through replication. When I start it, its able to find out other instances. But during state transfer it fails and there is no data in the new instance.
|2008 1ÃÂæ28|01:44:21.230|ERROR|UpHandler (STATE_TRANSFER)|org.jboss.cache.TreeCache|ClassLoader) (?:?)|failed setting transient state
java.io.EOFException: Attempt to read primitive data, but no data block is active.
at java.io.ObjectInputStream.readNextBlock(byte) (/usr/lib/libgcj.so.5.0.0)
at java.io.ObjectInputStream.readNextBlock() (/usr/lib/libgcj.so.5.0.0)
at java.io.ObjectInputStream.read() (/usr/lib/libgcj.so.5.0.0)
at java.io.DataInputStream.readBoolean() (/usr/lib/libgcj.so.5.0.0)
at java.io.ObjectInputStream.readBoolean() (/usr/lib/libgcj.so.5.0.0)
at org.jboss.cache.loader.NodeData.readExternal(java.io.ObjectInput) (Unknown Source)
at java.io.ObjectInputStream.readObject() (/usr/lib/libgcj.so.5.0.0)
at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateTransientState(org.jboss.cache.DataNode) (Unknown Source)
at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateTransientState(org.jboss.cache.DataNode, java.lang.ClassLoader) (Unknown Source)
at org.jboss.cache.TreeCache._setState(byte[], org.jboss.cache.DataNode, java.lang.ClassLoader) (Unknown Source)
at org.jboss.cache.TreeCache.access$000(org.jboss.cache.TreeCache, byte[], org.jboss.cache.DataNode, java.lang.ClassLoader) (Unknown Source)
at org.jboss.cache.TreeCache$MessageListenerAdaptor.setState(byte[]) (Unknown Source)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(org.jgroups.Event) (Unknown Source)
at org.jgroups.blocks.RequestCorrelator.receive(org.jgroups.Event) (Unknown Source)
at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(org.jgroups.Event) (Unknown Source)
at org.jgroups.JChannel.up(org.jgroups.Event) (Unknown Source)
at org.jgroups.stack.ProtocolStack.up(org.jgroups.Event) (Unknown Source)
at org.jgroups.stack.ProtocolStack.receiveUpEvent(org.jgroups.Event) (Unknown Source)
at org.jgroups.stack.Protocol.passUp(org.jgroups.Event) (Unknown Source)
at org.jgroups.protocols.pbcast.STATE_TRANSFER.handleStateRsp(org.jgroups.protocols.pbcast.STATE_TRANSFER$StateHeader, byte[]) (Unknown Source)
at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(org.jgroups.Event) (Unknown Source)
at org.jgroups.stack.UpHandler.run() (Unknown Source)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at GC_start_routine (/usr/lib/libgcj.so.5.0.0)
at __clone (/lib/tls/libc-2.3.4.so)
Configuration:
TransactionManagerLookupClass = com.hp.tpf.common.TPFCoSTxManagerLookup
NodeLockingScheme = PESSIMISTIC
IsolationLevel = READ_COMMITTED
CacheMode = REPL_ASYNC
UseInterceptorMbeans = true
UseReplQueue = false
ReplQueueInterval = 0
ReplQueueMaxElements = 0
ClusterName = Prov-Set6
<UDP mcast_addr="224.1.2.3" mcast_port="46600" ip_ttl="64" ip_mcast="true"
mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
loopback="false" bind_addr="192.168.100.97"/>
<PING timeout="2000" num_initial_members="3" up_thread="false" down_thread="false"/>
<MERGE2 min_interval="10000" max_interval="20000"/>
<FD shun="true" up_thread="true" down_thread="true" />
<FD_SOCK/>
<VERIFY_SUSPECT timeout="1500" up_thread="false" down_thread="false"/>
<pbcast.NAKACK gc_lag="50" retransmit_timeout="600,1200,2400,4800"
max_xmit_size="8192" up_thread="false" down_thread="false" discard_delivered_msgs="true"/>
<UNICAST timeout="600,1200,2400" window_size="100" min_threshold="10" down_thread="false"/>
<pbcast.STABLE desired_avg_gossip="20000" up_thread="false" down_thread="false"/>
<FRAG frag_size="8192" down_thread="false" up_thread="false"/>
<pbcast.GMS join_timeout="5000" join_retry_timeout="2000" shun="true" print_local_addr="true"/>
<pbcast.STATE_TRANSFER up_thread="true" down_thread="true"/>
FetchInMemoryState = true
InitialStateRetrievalTimeout= 50000
SyncReplTimeout = 100000
LockAcquisitionTimeout= 15000
EvictionPolicyClass =
Please help me in fixing this issue.
Thanks and Regards
Nandhini
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124001#4124001
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124001
More information about the jboss-user
mailing list