[jboss-user] [JBoss Cache: Core Edition] - Use DefaultPartition or DefaultPartition-SFSBCache as name o

jbmadair do-not-reply at jboss.com
Fri Sep 5 13:03:58 EDT 2008


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:

    <depends>jboss:service=${jboss.partition.name:DefaultPartition}</depends>
  | 

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

-- Marcus


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

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



More information about the jboss-user mailing list