[jboss-user] [JBossCache] - Re: Error starting cache with TCP and TCPPING

urisherman do-not-reply at jboss.com
Sun Nov 26 04:34:45 EST 2006


Hi,
I got tcp.xml from JGroups distros, this is my configuration now - 
<TCP start_port="7050"
	         loopback="true"
	         recv_buf_size="20000000"
	         send_buf_size="640000"
	         discard_incompatible_packets="true"
	         max_bundle_size="64000"
	         max_bundle_timeout="30"
	         use_incoming_packet_handler="true"
	         use_outgoing_packet_handler="false"
	         down_thread="false" up_thread="false"
	         enable_bundling="true"
	         use_send_queues="false"
	         sock_conn_timeout="300"
	         skip_suspected_members="true"/>
	    <TCPPING timeout="3000"
	             down_thread="false" up_thread="false"
	             initial_hosts="10.106.124.239[7050],10.106.124.240[7050]"
	             port_range="1"
	             num_initial_members="3"/>
	    <MERGE2 max_interval="100000"
	            down_thread="false" up_thread="false" min_interval="20000"/>
	    <FD_SOCK down_thread="false" up_thread="false"/>
	    <FD timeout="10000" max_tries="5" down_thread="false" up_thread="false" shun="true"/>
	    <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false"/>
	    <pbcast.NAKACK max_xmit_size="60000"
	                   use_mcast_xmit="false" gc_lag="0"
	                   retransmit_timeout="300,600,1200,2400,4800"
	                   down_thread="false" up_thread="false"
	                   discard_delivered_msgs="true"/>
	    <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000"
	                   down_thread="false" up_thread="false"
	                   max_bytes="400000"/>
	    <pbcast.GMS print_local_addr="true" join_timeout="3000"
	                down_thread="false" up_thread="false"
	                join_retry_timeout="2000" shun="true"
	                view_bundling="true"/>
	    <FC max_credits="2000000" down_thread="false" up_thread="false"
	        min_threshold="0.10"/>
	    <FRAG2 frag_size="60000" down_thread="false" up_thread="false"/>
	    <pbcast.STREAMING_STATE_TRANSFER down_thread="false" up_thread="false"
	                                     use_flush="true" use_reading_thread="true"/>
	    <!-- pbcast.STATE_TRANSFER down_thread="false" up_thread="false" use_flush="false"/ -->
	    <pbcast.FLUSH down_thread="false" up_thread="false"/>


But it still doesn't work. I'm kind of lost here......
I got this error......
org.jgroups.ChannelException: unable to setup the protocol stack
        at org.jgroups.JChannel.(Lorg.jgroups.conf.ProtocolStackConfigurator;)V(JChannel.java:261)
        at org.jgroups.JChannel.(Ljava.lang.String;)V(JChannel.java:234)
        at org.jboss.cache.TreeCache._createService()V(TreeCache.java:1373)
        at org.jboss.cache.TreeCache.createService()V(TreeCache.java:1300)
        at org.jboss.cache.example.j2eeservices.JBossCacheManager.main([Ljava.lang.String;)V(JBossCacheManager.java:74)
        at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava.lang.Object;ILjava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
        at jrockit.reflect.NativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
        at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
        at weblogic.t3.srvr.StartupClassService.invokeMain(Ljava.lang.String;Ljava.lang.Class;Ljava.lang.String;)V(StartupClassService.java:229)
        at weblogic.t3.srvr.StartupClassService.invokeClass(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(StartupClassService.java:160)
        at weblogic.t3.srvr.StartupClassService.access$000(Lweblogic.t3.srvr.StartupClassService;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(StartupClassService.java:36)
        at weblogic.t3.srvr.StartupClassService$1.run()Ljava.lang.Object;(StartupClassService.java:121)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
        at weblogic.t3.srvr.StartupClassService.invokeStartupClass(Lweblogic.management.configuration.StartupClassMBean;)V(StartupClassService.java:116)
        at weblogic.t3.srvr.StartupClassService.initialize()V(StartupClassService.java:60)
        at weblogic.t3.srvr.SubsystemManager.initialize()V(SubsystemManager.java:118)
        at weblogic.t3.srvr.T3Srvr.initializeHere()V(T3Srvr.java:895)
        at weblogic.t3.srvr.T3Srvr.initialize()V(T3Srvr.java:670)
        at weblogic.t3.srvr.T3Srvr.run([Ljava.lang.String;)I(T3Srvr.java:344)
        at weblogic.Server.main([Ljava.lang.String;)V(Server.java:32)
Caused by: java.lang.Exception: ProtocolStack.setup(): couldn't create protocol stack
        at org.jgroups.stack.ProtocolStack.setup()V(ProtocolStack.java:179)
        at org.jgroups.JChannel.(Lorg.jgroups.conf.ProtocolStackConfigurator;)V(JChannel.java:258)
        ... 20 more


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

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



More information about the jboss-user mailing list