0 Replies Latest reply on Sep 5, 2008 1:03 PM by Marcus Adair

    Use DefaultPartition or DefaultPartition-SFSBCache as name o

    Marcus Adair Newbie

      I can't seem to set the partition name for my SFSBs to be "DefaultPartition-SFSBCache" even though this appears to be configured in my ejb3-clustered-sfsbcache-service.xml file. I can however set them to "DefaultPartition".

      The error on SFSB initialization is

      WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:ear=clustertest1-ear.ear,jar=clustertest1-ejb.jar,name=RemoteCounterBean,service=EJB3
      javax.naming.NameNotFoundException: DefaultPartition-SFSBCache not bound

      I'm a little unclear on the relationship between the DefaultPartition setup in cluster-service.xml and the partitions created in ejb3-clustered-sfsbcache-service.xml, and I'm wondering if I'm supposed to use just "DefaultPartition" as my partition name and it sorts out the details, or should I be expecting to reference the SFSB partition name directly?

      Also, should my SFSB, Tomcat, and Entity Bean partitions have a depends line for the cluster setup in cluster-service.xml, as in:


      I'm new to configuring JBoss Cache and jGroups so any hints will be much appreciated, thanks!

      -- Marcus