Hi all,

I'm using JBoss Cache1.4GA within Jboss AS 4.0.2, when the cache mode is LOCAL, 
it works well, but if I set the cache mode to REPL_SYNC(within two JBoss 
instances), an NotClassDefFoundException is thrown out when the replication 
should take place, the error message is:

Caused by: java.lang.NoClassDefFoundError: 
org/jboss/cache/marshall/ObjectSerializationFactory$JBossObjectInputStreamOverride

But actually 
org.jboss.cache.marshall.ObjectSerializationFactory$JBossObjectInputStreamOverride
 exists in jboss-cache.jar.....

Following is the configuration:
         <mbean code="org.jboss.cache.TreeCache"        
name="jboss.cache:service=V360Cache">
  |             <depends>jboss:service=Naming</depends>
  |             <depends>jboss:service=TransactionManager</depends>
  |             <attribute name="TransactionManagerLookupClass">
  |                     org.jboss.cache.JBossTransactionManagerLookup
  |             </attribute>
  |             <attribute name="IsolationLevel">REPEATABLE_READ</attribute>
  |             <attribute name="CacheMode">REPL_SYNC</attribute>
  |             <attribute name="ClusterName">TreeCache-Cluster</attribute>
  |             <attribute name="ClusterProperties"></attribute>
  |             <attribute name="ClusterConfig">
  |                     <config>
  |                             <UDP mcast_port="45577" 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" />
  |                             <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" />
  |                             <VERIFY_SUSPECT timeout="1500" up_thread="false"
  |                                     down_thread="false" />
  |                             <pbcast.NAKACK gc_lag="50"
  |                                     retransmit_timeout="600,1200,2400,4800" 
up_thread="false"
  |                                     down_thread="false" />
  |                             <pbcast.STABLE desired_avg_gossip="20000"
  |                                     up_thread="false" down_thread="false" />
  |                             <UNICAST timeout="600,1200,2400" 
window_size="100"
  |                                     min_threshold="10" 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="false"
  |                                     down_thread="false" />
  |                     </config>
  |             </attribute>
  |             <attribute name="InitialStateRetrievalTimeout">20000</attribute>
  |             <attribute name="SyncReplTimeout">15000</attribute>
  |             <attribute name="LockAcquisitionTimeout">10000</attribute>
  |             <attribute name="EvictionPolicyClass"></attribute>
  |     </mbean>

What's wrong with it? Did I miss any configuration items?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962758
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to