Mantis - Resin
Viewing Issue Advanced Details
63 minor always 03-30-05 00:00 05-11-05 00:00
sam  
 
normal  
closed 3.0.12  
3.0.12 fixed  
none    
none 3.0.14  
0000063: CMP UnsupportedOperationException: source map
RSN-54
(rep by H Grace)

EJB problem upgrading to 3.0.12 from 2.1.x.

/web/servers/resin3/conf/ejb.conf:2:
java.lang.UnsupportedOperationException: source map

  public abstract Map getSurveyResponsesDesired();
  public abstract Map getSurveyResponsesReceived();

  <relationships>
 <ejb-relation>
      <ejb-relationship-role>
        <relationship-role-source>
          <ejb-name>surveys_Survey</ejb-name>
        </relationship-role-source>
        <cmr-field>
          <cmr-field-name>surveyResponsesDesired</cmr-field-name>
        </cmr-field>
        <multiplicity>One</multiplicity> </ejb-relationship-role>
      
      <ejb-relationship-role>
        <relationship-role-source>
          <ejb-name>surveys_SurveyResponsesDesired</ejb-name> </relationship-role-source>
        <cmr-field>
          <cmr-field-name>survey</cmr-field-name>
          <sql-column>survey_id</sql-column>
        </cmr-field>
        <multiplicity>Many</multiplicity>
      </ejb-relationship-role>
    </ejb-relation>
 

Notes
(0000068)
ferg   
03-30-05 00:00   
ejb/0aa5

The problem can be worked around by switching the order of the role tags.