Can you make sure no jars are packaged in the WEB-INF/lib of your webapp that expose axiom classes?
On Mon, Feb 16, 2015 at 3:23 PM, Pubudu Dodangoda <[email protected]> wrote: > I am trying to authenticate a user using the org.wso2.carbon.user.mgt.stub > > When I run the client an exception occurs while trying to access the > following method > > configContext > =ConfigurationContextFactory.createConfigurationContextFromFileSystem(null,null); > > java.lang.LinkageError: loader constraint violation: when resolving method > "org.wso2.securevault.SecretResolverFactory.create(Lorg/apache/axiom/om/OMElement;Z)Lorg/wso2/securevault/SecretResolver;" > the class loader (instance of > org/wso2/carbon/webapp/mgt/loader/CarbonWebappClassLoader) of the current > class, org/apache/axis2/deployment/AxisConfigBuilder, and the class loader > (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for > resolved class, org/wso2/securevault/SecretResolverFactory, have different > Class objects for the type > iom/om/OMElement;Z)Lorg/wso2/securevault/SecretResolve > > > What am I missing. What should be given as a configuration context for > the AuthenticationAdminStub(...) method? > > Thanks > > -- > Pubudu Dodangoda > BSc Engineering(Hon's) Undergraduate > Department of Computer Science Engineering > University of Moratuwa > 0716053681 / 0775192994 > -- *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
