this topic is similar but dont solve my problem:
http://www.jbossgroup.com/index.html?module=bb&op=viewtopic&t=50729

some more code:

roles in my ejb-jar.xml

  | <relationships >
  |       <ejb-relation >
  |          <ejb-relation-name>Report-Role</ejb-relation-name>
  | 
  |          <ejb-relationship-role >
  |             
<ejb-relationship-role-name>Report-has-Roles</ejb-relationship-role-name>
  |             <multiplicity>Many</multiplicity>
  |             <relationship-role-source >
  |                <ejb-name>Report</ejb-name>
  |             </relationship-role-source>
  |             <cmr-field >
  |                <cmr-field-name>roles</cmr-field-name>
  |                <cmr-field-type>java.util.Collection</cmr-field-type>
  |             </cmr-field>
  |          </ejb-relationship-role>
  | 
  |          <ejb-relationship-role >
  |             
<ejb-relationship-role-name>Role-has-Reports</ejb-relationship-role-name>
  |             <multiplicity>Many</multiplicity>
  |             <relationship-role-source >
  |                <ejb-name>Role</ejb-name>
  |             </relationship-role-source>
  |             <cmr-field >
  |                <cmr-field-name>report</cmr-field-name>
  |                <cmr-field-type>java.util.Collection</cmr-field-type>
  |             </cmr-field>
  |          </ejb-relationship-role>
  | 
  |       </ejb-relation>
  |         <!-- 
  |           To add relationships for beans not managed by XDoclet, add
  |           a file to your XDoclet merge directory called relationships.xml 
that contains
  |           the <ejb-relation></ejb-relation> markups for those beans.
  |         --> 
  |    </relationships>
  | 

jboss.xml


  |       <entity>
  |          <ejb-name>Report</ejb-name>
  |          <jndi-name>ejb/ReportHome</jndi-name>
  |          <local-jndi-name>ejb/ReportLocalHome</local-jndi-name>
  | 
  |         <method-attributes>
  |         </method-attributes>
  | 
  |       </entity>
  |       <entity>
  |          <ejb-name>Role</ejb-name>
  |          <jndi-name>ejb/RoleHome</jndi-name>
  |          <local-jndi-name>ejb/RoleLocalHome</local-jndi-name>
  | 
  |         <method-attributes>
  |         </method-attributes>
  | 
  |       </entity>
  | 

please give me a hint...

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to