geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <...@geronimo.apache.org>
Subject [jira] Resolved: (GERONIMO-808) multiline cmp-field-name in openejb-jar cause error
Date Mon, 25 Jul 2005 04:32:44 GMT
     [ http://issues.apache.org/jira/browse/GERONIMO-808?page=all ]
     
Aaron Mulder resolved GERONIMO-808:
-----------------------------------

    Resolution: Fixed

Fixed in G1M4 and HEAD

> multiline cmp-field-name in openejb-jar cause error
> ---------------------------------------------------
>
>          Key: GERONIMO-808
>          URL: http://issues.apache.org/jira/browse/GERONIMO-808
>      Project: Geronimo
>         Type: Bug
>   Components: deployment, OpenEJB
>     Versions: 1.0-M3
>     Reporter: Stefan Schmidt
>     Assignee: 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message