You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org> on 2007/01/09 09:44:28 UTC
[jira] Closed: (GERONIMO-808) multiline cmp-field-name in
openejb-jar cause error
[ https://issues.apache.org/jira/browse/GERONIMO-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vamsavardhana Reddy closed GERONIMO-808.
----------------------------------------
> multiline cmp-field-name in openejb-jar cause error
> ---------------------------------------------------
>
> Key: GERONIMO-808
> URL: https://issues.apache.org/jira/browse/GERONIMO-808
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment, OpenEJB
> Affects Versions: 1.0-M3
> Reporter: Stefan Schmidt
> Assigned To: Aaron Mulder
> Fix For: 1.0-M4, 1.0-M5
>
>
> when trying to deploy an CMP EJB with the following attribute:
>
> openejb-jar.xml:
> ...
> <cmp-field-mapping>
> <cmp-field-name>
> someQuiteLongFieldName
> </cmp-field-name>
> <table-column>someQuiteLongFieldName</table-column>
> </cmp-field-mapping>
> ...
>
> ejb-jar.xml:
> ...
> <cmp-field>
> <field-name>someQuiteLongFieldName</field-name>
> </cmp-field>
> ...
>
> I get an:
>
> Error: Unable to distribute UTSAgent.ear: Could not deploy module
> MyProject-cmp-ejb.jar caused by EJB [EntityEJB] is misconfigured:
> CMP field [someQuiteLongFieldName] not mapped by OpenEJB DD.
>
> Changing the openejb-jar.xml to:
> ...
> <cmp-field-mapping>
> <cmp-field-name>someQuiteLongFieldName</cmp-field-name>
> <table-column>someQuiteLongFieldName</table-column>
> </cmp-field-mapping>
> ...
>
> solves the deployment error. Is it possible that the parsed openejb-jar cmp-fields are not properly trimmed?
> -Stefan Schmidt
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira