Message: The following issue has been re-assigned.
Assignee: Matthias Germann (mailto:[EMAIL PROTECTED]) --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1480 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1480 Summary: The primkey-field element specified in the ejb-jar.xml must refer to the field-name of one of the declared cmp-fields. Type: Bug Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: Bea Module Versions: 1.2.3 Assignee: Matthias Germann Reporter: hoerde Created: Thu, 21 Jul 2005 2:24 PM Updated: Sun, 14 Aug 2005 3:06 AM Environment: XDoclet 1.2.3; JDK 1.3.1_07; ANT 1.5.3; WinXP sp2 Description: I get Exception: weblogic.management.ApplicationException: primkey-field element specified in the ejb-jar.xml must refer to the field-name of one of the declared cmp-fields. when deploying to weblogic. This is caused by the field-name in the cmp-field not matching primary-field in the ejb-jar.xml. The following: * @ejb.bean * type="CMP" * cmp-version="2.x" * name="AdmStuLookupType" * local-jndi-name="com.x/AdmStuLookupTypeLocalHome" * view-type="local" * primkey-field="NStuLookupTypeId" /** * Returns the NStuLookupTypeId * * @return the NStuLookupTypeId * * @ejb.pk-field * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="N_STU_LOOKUP_TYPE_ID" * @ejb.value-object match="light" */ public abstract java.lang.Integer getNStuLookupTypeId(); /** * Sets the NStuLookupTypeId * * @param NStuLookupTypeId the new NStuLookupTypeId value */ public abstract void setNStuLookupTypeId( java.lang.Integer NStuLookupTypeId); Generates whats below in the ejb-jar.xml: <cmp-field > <description><![CDATA[Returns the NStuLookupTypeId]]></description> <field-name>nStuLookupTypeId</field-name> </cmp-field> <primkey-field>NStuLookupTypeId</primkey-field> Changing the primkey-field tag to nStuLookupTypeId causes the value object generated not to compile. Thanks, hoerde --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel