geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Schmidt (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-808) multiline cmp-field-name in openejb-jar cause error
Date Mon, 25 Jul 2005 03:49:16 GMT
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-M4, 1.0-M5    
    Reporter: Stefan Schmidt


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