Hi Senaka,

Yes, able to fixed it. It was due to loading same class from different jars.
Thanks Chathuri for pointing out reason and helping me to fix it.

Thanks,
Melan

On Sat, Feb 4, 2012 at 2:19 AM, Senaka Fernando <sen...@wso2.com> wrote:

> Hi Melan,
>
> Was this sorted?
>
> Thanks,
> Senaka.
>
> On Fri, Jan 20, 2012 at 10:10 AM, Melan Nimesh <me...@wso2.com> wrote:
>
>> Hi all,
>>
>> I am working on migrating Carbon Studio's registry browser from Remote
>> Registry API to Web Service API.
>>
>> At the moment,  It works fine for most cases such as listing resources,
>> adding collections, setting resources permissions
>> but for adding new resources and getting resource content,
>> it's getting following an error ( ClassNotFoundException:
>> org.wso2.carbon.user.api.UserStoreException)[1]
>> and 'org.wso2.carbon.user.api.UserStoreException' also contain in
>> my class-path
>>
>> my class-path contains following jars [2]
>>
>> Any suggestions to fix this?
>>
>> Thanks,
>> Melan
>>
>>
>> [1]
>>          java.lang.ClassNotFoundException:
>> org.wso2.carbon.user.api.UserStoreException
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
>>  at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
>>  at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>  ... 59 more
>>
>> [2]
>> abdera-1.0.0.wso2v1.jar
>> axiom-1.2.11-wso2v1.jar
>> axis2-1.6.1-wso2v3.jar
>> axis2-json-1.6.1-wso2v1.jar
>> axis2-transport-base-1.1.0-wso2v5.jar
>> axis2-transport-jms-1.1.0-wso2v5.jar
>> commons-codec-1.3.0.wso2v1.jar
>> commons-collections-3.2.0.wso2v1.jar
>> commons-httpclient-3.1.0-wso2v1.jar
>> commons-io-1.4.0.wso2v1.jar
>> commons-lang-2.3.0.wso2v1.jar
>> commons-logging-1.1.1.jar
>> commons-validator-1.3.1.jar
>> geronimo-stax-api_1.0_spec_1.0.1.wso2v1.jar
>> httpcore-4.1.3-wso2v1.jar
>> jakarta-oro-2.0.8.jar
>> jettison-1.2.jar
>> joda-time-1.6.0.wso2v1.jar
>> json-1.0.0.wso2v1.jar
>> neethi-2.0.4-wso2v3.jar
>> not-yet-commons-ssl-0.3.9.jar
>> opensaml2-2.0.0.alpha1-wso2v1.jar
>> org.wso2.carbon.authenticator.stub-3.2.0.jar
>> org.wso2.carbon.core.common-3.2.0.jar
>> org.wso2.carbon.governance.api-3.2.2.jar
>> org.wso2.carbon.registry.api-3.2.0.jar
>> org.wso2.carbon.registry.core-3.2.2.jar
>> org.wso2.carbon.registry.ws.api-3.2.2.jar
>> org.wso2.carbon.registry.ws.client-3.2.2.jar
>> org.wso2.carbon.registry.ws.stub-3.2.2.jar
>> org.wso2.carbon.user.api-3.2.2.jar
>> org.wso2.carbon.user.core-3.2.2.jar
>> org.wso2.securevault-1.0.0.jar
>> rampart-core-1.6.0.wso2v1.jar
>> rampart-policy-1.6.0.wso2v1.jar
>> rampart-trust-1.6.0.wso2v1.jar
>> synapse-commons-1.4.0.wso2v2.jar
>> synapse-core-2.1.0-wso2v1.jar
>> synapse-nhttp-transport-1.4.0.wso2v2.jar
>> synapse-tasks-1.4.0.wso2v2.jar
>> woden-1.0.0.M8-wso2v1.jar
>> wsdl4j-1.6.2-wso2v3.jar
>> wss4j-1.5.10.wso2v2.jar
>> XmlSchema-1.4.7-wso2v1.jar
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Senaka Fernando*
> Product Manager - WSO2 Governance Registry;
> Associate Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to