this seems to be a version problem.

when you invoke a back end service with a ws client better thing is to

1. run ant at the bin folder of the distribution. eg. WSO2_ESB/bin
this copies all the client jars to repository/lib folder.

put repository/lib folder jars to the class path.

thanks,
Amila.

On Wed, Nov 16, 2011 at 5:24 AM, Srinath Perera <srin...@wso2.com> wrote:

> have to ask this in our lists .. sending it there. --Srinath
>
> ---------- Forwarded message ----------
> From: Wathsala Vithanage <waths...@wso2.com>
> Date: Wed, Nov 16, 2011 at 11:13 AM
> Subject: Axis2 error
> To: Srinath Perera <srin...@wso2.com>
>
>
> Hi
> I'm getting following error when trying to get User Roles over WS from
> the IS server. Looks like an Axis2 related problem, what could be the
> reason? and who should be contacted to get help?
> 11/11/16 11:11:31 INFO deployment.ModuleDeployer: Deploying module:
> addressing-1.5.6 -
>
> file:/home/wathsala/.m2/repository/org/apache/axis2/axis2/1.5.6/axis2-1.5.6.jar
> Exception in thread "main" java.lang.InstantiationError:
> org.apache.axis2.databinding.ADBDataSource
> at org.wso2.carbon.authenticator.stub.Login.getOMElement(Login.java:168)
> at
> org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.toEnvelope(AuthenticationAdminStub.java:2288)
> at
> org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:642)
> at org.wso2.carbon.hadoop.authenticator.App.main(App.java:45)
>
> Regards
>
>
> --
> ============================
> Srinath Perera, Ph.D.
>   Senior Software Architect, WSO2 Inc.
>   Visiting Faculty, University of Moratuwa
>   Member, Apache Software Foundation
>   Research Scientist, Lanka Software Foundation
>   Blog: http://srinathsview.blogspot.com/
>   Photos: http://www.flickr.com/photos/hemapani/
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to