You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Glen Daniels (JIRA)" <ji...@apache.org> on 2007/05/14 19:06:16 UTC

[jira] Resolved: (AXIS2-2656) Deployment Engine throws a ClassCastException when reading operation module refs

     [ https://issues.apache.org/jira/browse/AXIS2-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glen Daniels resolved AXIS2-2656.
---------------------------------

       Resolution: Fixed
    Fix Version/s: nightly

Fixed in trunk.  Operation names are strings, so I removed the QName-ifying.

I added a test to confirm that operation level module deployment works.

Thanks for the bug report!


> Deployment Engine throws a ClassCastException when reading operation module refs
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-2656
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2656
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.2
>         Environment: Win 2000, jdk1.4, Tomcat 5.5.23
>            Reporter: Michael Davis
>         Assigned To: Glen Daniels
>             Fix For: nightly
>
>         Attachments: services.xml
>
>
> org.apache.axis2.deployment.DeploymentEngine has this code:
> 496: ArrayList modules = opDesc.getModuleRefs();
> 497: for (int i = 0; i < modules.size(); i++) {
> 498: String moduleName = (String) modules.get(i);
> But the modules list contains QNames, not Strings. This causes the ClassCastException.
> The QNames are added to the list in org.apache.axis2.deployment.DescriptionBuilder near line 477:
> operation.addModule(new QName(refName));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org