Patches item #634495, was opened at 2002-11-06 15:58 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376687&aid=634495&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Steinar Hansen (shansen5) Assigned to: Nobody/Anonymous (nobody) Summary: Poor Error message in EJB deployer Initial Comment: When deploying an EJB, I lacked a matching cmp-field in the ejb-jar.xml file for a field-name in the jbosscmp- jdbc.xml. The error message produced was: "CMP field not found : fieldName=...". This error message doesn't tell anything about why the fieldName is not found or in which entitybean the error occurs. The DeploymentException produced is generated in org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMet aData.java. The code is: throw new DeploymentException("CMP field not found : fieldName=" + fieldName); I suggest changing this to: throw new DeploymentException("CMP field not found in ejb-jar.xml: fieldName=" +fieldName+ "for entitybean: "+entityName); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376687&aid=634495&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development