I am having some trouble getting some BMP Entity beans to cluster properly, with JBoss 3.2.3
I have set up two nodes with the 'all' configuration. One node is running on Windows, so I have set the loopback attribute to 'True' in cluster-service.xml. All the other configuration is pretty much standard though.
My stateless session beans are clustering ok, as evidenced by the following lines in server.log;
2004-05-20 17:11:31,113 DEBUG [DefaultPartition:ReplicantManager] _add(jboss.j2ee:jndiName=ejb/Customer,service=EJB, 10.40.5.243:1099 2004-05-20 17:11:31,113 DEBUG [DefaultPartition:ReplicantManager] notifyKeyListeners 2004-05-20 17:11:31,114 DEBUG [DefaultPartition:ReplicantManager] notifying 2 listeners for key change: jboss.j2ee:jndiName=ejb/Customer,service=EJB 2
server.log has this to say about the entity beans though;
2004-05-20 18:21:01,441 INFO [org.jboss.ejb.EjbModule] Deploying Company 2004-05-20 18:21:01,521 WARN [org.jboss.ejb.EntityContainer] *** EJB 'Company' deployed as CLUSTERED but not a single clustered-invoker is bound to container ***
The jboss.xml descriptors for the entity beans are as follows;
<entity> <ejb-name>Company</ejb-name> <jndi-name>Company</jndi-name> <cache-invalidation>True</cache-invalidation> <cache-invalidation-config> <invalidation-group-name>COMPANY</invalidation-group-name> </cache-invalidation-config> <configuration-name>Clustered BMP EntityBean</configuration-name> <clustered>True</clustered> </entity>
It's probably also worth noting that the entity beans only have local interfaces and not remote ones.
Any ideas what I am doing wrong?
P.S. I have purchased the clustering documentation which has been broadly helpful, but there is a huge gap in documentation of the JGroups / PartitionConfig section in cluster-service.xml. JGroups own documentation is generally to broad and aimed at the developer... It's hard to sift anything specifically useful too the JBoss configuration out of it. Are there any plans to update the clustering documentation soon?