Hi All,
I have written a simple test web app that has two EntityEJB's (Groups and
Person, the relationship is 1-m) to learn more about using CMR with EJB 2.0
on Orion. All code compiles and archives fine using my usual Ant build
scripts...but when I deploy my .ear file to Orion, it responds with the
following error:
"Unknown ejb-relationship-role subtag: relationship-role-source"
Anyone have any ideas on how to solve this? Seen this error before? Any
comments apprecitated.
Thamks,
-Billy
Relevant section of ejb-jar.xml:
------------------------------------------
<relationships>
<ejb-relation>
<ejb-relation-name>Groups-Person</ejb-relation-name>
<!-- unidirectional -->
<ejb-relationship-role>
<ejb-relationship-role-name>group-has-person</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>Groups</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>members</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>person-in-group</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>Person</ejb-name>
</relationship-role-source>
</ejb-relationship-role>
</ejb-relation>
</relationships>