3 Replies Latest reply on Apr 12, 2003 2:54 AM by manishgupta

    Problem with Name of Cluster

    manishgupta Newbie

      Hi all,
      I am using JBoss3.0 and I have successfully clustered my two server instances running on two different machines. I have mentioned the following entries in cluster-service.xml.



      DefaultPartition
      true
      UDP(mcast_addr=228.1.2.3;mcast_port=45566;bind_addr=192.168.0.30;ip_ttl=64;mcast_send_buf_size=150000;mcast_recv_buf_size=80000):PING(timeout=2000;num_initial_members=3):MERGE2(min_interval=5000;max_interval=10000):FD:VERIFY_SUSPECT(timeout=1500):pbcast.STABLE(desired_avg_gossip=20000):pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800):UNICAST(timeout=5000):FRAG(down_thread=false;up_thread=false):pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true):pbcast.STATE_TRANSFER



      Now my problem is that I want to set the change the name of cluster. But when I change DefaultCluster toi enything else. The JBoss gives me the following error on restarting.

      16:34:18,406 INFO [MYDefaultPartition] Initializing
      16:34:18,531 INFO [ClusterPartition] Created
      16:34:18,546 INFO [HASessionStateService] Creating
      16:34:18,656 ERROR [HASessionStateService] Initialization failed
      javax.naming.NameNotFoundException: DefaultPartition not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:256)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:464)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at org.jboss.ha.hasessionstate.server.HASessionStateImpl.init(HASessionS
      tateImpl.java:123)
      at org.jboss.ha.hasessionstate.server.HASessionStateService.createServic
      e(HASessionStateService.java:92)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:
      136)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)

      Please help me.

      Thanks
      Manish Gupta