Jon,

make sure the corresponding ejb-relationship-role exists in
ejb-jar.xml. If it is in jbosscmp-jdbc.xml it must be in ejb-jar.xml
either.

alex

Wednesday, December 18, 2002, 12:44:42 PM, you wrote:

JF> Thanks 
JF> Well, 
JF> I've added this line: target-role-name="tripstatus-cmp20-has-trip-cmp20" but get 
the same error message.
JF> The jbosscmp-jdbc.xml contains this: 
JF>     <ejb-relation>
JF>       <ejb-relation-name>tripstatus-cmp20-trip-cmp20</ejb-relation-name>
JF>       <foreign-key-mapping/>
JF>       <ejb-relationship-role>
JF>           
<ejb-relationship-role-name>trip-cmp20-has-tripstatus-cmp20</ejb-relationship-role-name>
JF>       </ejb-relationship-role>
JF>       <ejb-relationship-role>
JF>           
<ejb-relationship-role-name>tripstatus-cmp20-has-trip-cmp20</ejb-relationship-role-name>
JF>           <fk-constraint>true</fk-constraint>
JF>           <key-fields>
JF>              <key-field>
JF>                <field-name>tripstatusid</field-name>
JF>                <column-name>tripstatusid</column-name>
JF>              </key-field>
JF>           </key-fields>
JF>       </ejb-relationship-role>
JF>     </ejb-relation>



JF> -Jon

-- 
Best regards,
 Alex Loubyansky




-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to