You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Rohit Yadav (JIRA)" <ji...@apache.org> on 2012/10/15 13:20:03 UTC

[jira] [Resolved] (CLOUDSTACK-346) Cannot add Vmware cluster with class loader conflict exception

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

Rohit Yadav resolved CLOUDSTACK-346.
------------------------------------

    Resolution: Fixed

Fixed nonoss patches for 4.0

For master, fixed maven pom.xmls:
commit 9b1b145192645633311da5e3727d5f0484f5d037
Author: Rohit Yadav <bh...@apache.org>
Date:   Mon Oct 15 14:28:27 2012 +0530
                
> Cannot add Vmware cluster with class loader conflict exception
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-346
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-346
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Management Server
>    Affects Versions: pre-4.0.0
>            Reporter: Mice Xia
>            Assignee: Rohit Yadav
>
> [how to reproduce]
> 1) run a nonoss env followed with instructions from this link: 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building#Building-Packaging
> 2) ant debug
> 3) add a vmware cluster
> 4) exception catched
> loader constraint violation: when resolving field "service" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the referring class, org/apache/axis/client/Stub, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for the field's resolved type, javax/xml/rpc/Service, have different Class objects for that type
> [analysis]
> seems a conflict between ./webapps/client/WEB-INF/lib/vmware-lib-jaxrpc.jar and lib/axis-jaxrpc-1.4.jar
> remove the vmware-lib-jaxrpc.jar, then cluster could be added.
> Please notice here i'm using vsphere 5.1, but this issue seems unlikely related to vcenter version

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira