I think I'm down to CMP.
Our application is deployed across several servers. The ear includes a web client that reads entity EJB data from each server.
Whether the server is local or remote, the JNDI Object returned to the client by the JNDI lookup is MyClassEJBHome and the classname is $ProxyNN. (objref.getClass().getName())
Deployed on 3.2.7, the web client can be observed going to the local database (org.jboss.ejb.plugins.cmp.jdbc...) to access the EJB data for each server. In this case the client returns identical data sets for each server, which is incorrect.
Deployed on hosts running JBoss 3.2.2/3, the client goes to the database only for the local host, returning the correct data.
Any help with this would be greatly appreciated.
It's a bug in 3.2.7.
There are workarounds are available.
Check the link in the initial post for more details.