4 Replies Latest reply on Feb 18, 2003 3:06 AM by slaboure

    second partition

    stefus

      Hi,
      when I start a node in a own partition I get following error:
      ========== begin server.log =======================
      ...

      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss:service=ClusteredHttpSession
      state: CONFIGURED
      I Depend On: jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession

      Depends On Me: , ObjectName: jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession
      state: NOTYETINSTALLED
      I Depend On: jboss:service=DefaultPartition
      jboss:service=invoker,type=jrmp

      Depends On Me: jboss:service=ClusteredHttpSession

      ...

      ========== end server.log ===========================


      This is my cluster-service.xml:

      ========== begin cluster-service.xml ================
      <?xml version="1.0" encoding="UTF-8"?>

      <!-- ===================================================================== -->
      <!-- -->
      <!-- Sample Clustering Service Configuration -->
      <!-- -->
      <!-- ===================================================================== -->






      <!-- ==================================================================== -->
      <!-- Cluster Partition: defines cluster -->
      <!-- ==================================================================== -->


      MySpecialNewPartition
      True


      <!-- ==================================================================== -->
      <!-- HA Session State Service for SFSB -->
      <!-- ==================================================================== -->


      jboss:service=MySpecialNewPartition
      MySpecialNewPartition


      <!-- ==================================================================== -->
      <!-- HA JNDI -->
      <!-- ==================================================================== -->


      61100
      MySpecialNewPartition
      jboss:service=MySpecialNewPartition







      ========== end cluster-service.xml ==================
      Can someone help me?
      The error line 'I Depend On: jboss:service=DefaultPartition'
      say something about the DefaultPartition. Is there a other xml-file where I must define the Partition perhaps in the jbossha-httpsession.sar?

      Regards
      Stefan

        • 1. Re: second partition
          slaboure

          Which accurate JBoss version?

          • 2. Re: second partition
            stefus

            I use the jboss-3.0.4

            • 3. Re: second partition
              didi1976

              Hi!

              I am getting the same exception. After some searching I found the cause.

              If you have a look at

              org/jboss/ejb/plugins/ClusterSyncEntityInstanceCache.java

              you find the following lines wihtin the "create" method:

              String name = "jboss:service=DistributedState,partitionName=DefaultPartition";
              ds = (DistributedState)org.jboss.system.Registry.lookup (name);

              The "start" method relies on ds and throws a NullPointerException because no such service is started.

              If you keep an further entry in the cluster-service.xml which creates also the DefaultPartition, no exception is thrown. I don't know if that behaviour is by design, I don't think so.

              Didi

              • 4. Re: second partition
                slaboure

                That's somehow "by design" (or let's say it is a known issue). I still don't know how to cleanly fix this i.e. how to define which Partition should be used.

                Cheers,


                sacha