Hello, I have a major problem/question regarding Clustering in JBoss (v. 3.2.6). There are 2 JBoss servers running in cluster mode. There as Entity Bean called Account. When it's being updated by the client, sometimes the database is not updated nor the other JBoss server (or its cache). Bellow are fragments of the code:
===================================== Jboss.xml <jboss> | ??. | <enterprise-beans> | ?? | <entity> | <resource-ref> | <res-ref-name>jdbc/MySqlDS</res-ref-name> | <jndi-name>MySqlDS</jndi-name> | </resource-ref> | <ejb-name>AccountBean</ejb-name> | <jndi-name>account/MySQL</jndi-name> | <cache-invalidation>true</cache-invalidation> | <configuration-name>Clustered BMP EntityBean</configuration-name> | <clustered>True</clustered> | <cluster-config> | <partition-name>DefaultPartition</partition-name> | <home-load-balance-policy> | org.jboss.ha.framework.interfaces.RoundRobin | </home-load-balance-policy> | <bean-load-balance-policy> | org.jboss.ha.framework.interfaces.FirstAvailable | </bean-load-balance-policy> | </cluster-config> | </entity> | ?.. | </jboss> ============================== ejb-jar.xml <ejb-jar> | ??. | <entity> | <resource-ref> | <description>MySQL</description> | <res-ref-name>jdbc/MySqlDS</res-ref-name> | <res-type>javax.sql.DataSource</res-type> | <res-auth>Container</res-auth> | </resource-ref> | <description>N/A</description> | <ejb-name>AccountBean</ejb-name> | <home>AccountHome</home> | <remote>Account</remote> | <ejb-class>AccountBean</ejb-class> | <transaction-type>Container</transaction-type> | <persistence-type>Bean</persistence-type> | <prim-key-class>java.lang.Integer</prim-key-class> | <reentrant>False</reentrant> | <primkey-field>id</primkey-field> | </entity> | ?? | </ejb-jar> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863742#3863742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863742 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
