This particular error message comes from JDBCRelationshipRoleMetaData.java, which loads the data inside of the ejb-relationship-role. Check your jbosscmp-jdbc.xml file for a relationship with a field-name element containing "idLine". My guess is you have the key declaration backwards (try swapping the keys, between the two sides).

-dain

/*************************
 * Dain Sundstrom
 * Partner
 * Core Developers Network
 *************************/


On Tuesday, June 24, 2003, at 09:30 AM, Klaus Richarz wrote:


Hello,

I have about 15 CMP entity beans. Some of them are connected by relation tables (many to many). I have checked all DD, and they seem to be correct (mostly checked jbosscmp-jdbc.xml), but I get the following error:

ERROR [org.jboss.ejb.EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: CMP field for key not found: field name=idLine


This CMP field is listed in the ejb-jar.xml and in the jbosscmp-jdbc.xml file.
Btw. is there any possibility to get behind this error msg ? Maybe which bean is affected ???


Any help would be appreciated,

Klaus Richarz


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to