Hello!
I have deployed two applications with the similar ejb-jar.xml files. Of course, jboss.xml and jbosscmp-jdbc.xml are different: I checked that several times.
ejb-jar.xml contains a fragment like the following:
<ejb-name>MyEntityBean</ejb-name>
...
<ejb-name>MySessionBean</ejb-name>
...
<ejb-local-ref>
<ejb-ref-name>ejb/MyEntityBean</ejb-ref-name>
<ejb-link>MyEntityBean</ejb-link>
<ejb-ref-type>Entity</ejb-ref-type>
</ejb-local-ref>
As I said, I deployed that twice with the different JNDI-names and table names bounded.
Let's call the early deployment A and the later - B.
When I am trying to call MySessionBean from A it modifies the table which is assigned to MyEntityBean from B.
Please, what can it be?