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?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to