[jboss-user] [JBossCache] - HELP: Initial state transfer failed: Channel.getState() ret

pcarpenter do-not-reply at jboss.com
Sun Jun 10 09:26:13 EDT 2007


Hello all.

I have two machines both running java 5 on Redhat 4.
I have been trying to get the cache going, but I keep getting this exception
...
Caused by: org.jboss.cache.CacheException: Unable to fetch state on startup
        at org.jboss.cache.CacheImpl.internalStart(CacheImpl.java:785)
        at org.jboss.cache.CacheImpl.start(CacheImpl.java:718)
        at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:87)
        at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:58)
        at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:51)
        at com.protagonis.cache.CacheAccessJbossImpl.createCache(CacheAccessJbossImpl.java:127)
...

I need Memory state transfer to work, As I am not using a cache loader.
I'm trying to run one machine First, and then the other.
I have been trying to add this attribute, but it did not make any difference (as expected I guess)
false

I am using Habanero (2.0 release candidate)
when I set the FetchInMemoryState to false in one machine, things seem to work, but then the caching solution does not meat my needs.

Attached is my configuration :

Any help is appreciated,
Thanks

Paul. 



<?xml version="1.0" encoding="UTF-8"?>


   

      jboss:service=Naming
      jboss:service=TransactionManager
      org.jboss.cache.transaction.DummyTransactionManagerLookup
      

      REPEATABLE_READ

      REPL_SYNC

      false
      0
      0
      JBossCache-Cluster


      
         
         	<UDP mcast_addr="228.10.10.10"
		         mcast_port="45588"
		         tos="8"
		         ucast_recv_buf_size="20000000"
		         ucast_send_buf_size="640000"
		         mcast_recv_buf_size="25000000"
		         mcast_send_buf_size="640000"
		         loopback="false"
		         discard_incompatible_packets="true"
		         max_bundle_size="64000"
		         max_bundle_timeout="30"
		         use_incoming_packet_handler="true"
		         ip_ttl="2"
		         enable_bundling="false"
		         enable_diagnostics="true"
		
		         use_concurrent_stack="true"
		         
		         thread_naming_pattern="pl"
		
		         thread_pool.enabled="true"
		         thread_pool.min_threads="1"
		         thread_pool.max_threads="25"
		         thread_pool.keep_alive_time="30000"
		         thread_pool.queue_enabled="true"
		         thread_pool.queue_max_size="10"
		         thread_pool.rejection_policy="Run"
		
		         oob_thread_pool.enabled="true"
		         oob_thread_pool.min_threads="1"
		         oob_thread_pool.max_threads="4"
		         oob_thread_pool.keep_alive_time="10000"
		         oob_thread_pool.queue_enabled="true"
		         oob_thread_pool.queue_max_size="10"
		         oob_thread_pool.rejection_policy="Run"/>
		
		    <PING timeout="2000" num_initial_members="3"/>
		    <MERGE2 max_interval="30000" min_interval="10000"/>
		    <FD_SOCK/>
		    <FD timeout="10000" max_tries="5" shun="true"/>
		    <VERIFY_SUSPECT timeout="1500"/>
		    <pbcast.NAKACK max_xmit_size="60000"
		                   use_mcast_xmit="false" gc_lag="0"
		                   retransmit_timeout="300,600,1200,2400,4800"
		                   discard_delivered_msgs="true"/>
		    
		    <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
		                   max_bytes="400000"/>   
		    <pbcast.GMS print_local_addr="true" join_timeout="5000"
		                join_retry_timeout="2000" shun="false"
		                view_bundling="true" view_ack_collection_timeout="5000"/>		    
		    <FRAG2 frag_size="60000"/>
		    <pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true"/>
		    <!-- <pbcast.STATE_TRANSFER/> -->
   			<pbcast.FLUSH timeout="0"/>
         
      


      true
   false

      15000

      15000

      false
   








View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052895#4052895

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052895



More information about the jboss-user mailing list