Hello Rajesh,

>From Java OCA example:

"// First of all, a Client object has to be created.
// Here the client will try to connect to OpenNebula using the default
// options: the auth. file will be assumed to be at $ONE_AUTH, and the
// endpoint will be set to the environment variable $ONE_XMLRPC."

What user are you running the code under?

Is $ONE_AUTH set for that user? Where does it points to? What does the
$ONE_AUTH file contain?
By default ONE_AUTH, if set, should point to $HOME/.one/one_auth and it
should contain user:password line, if you're using password authentication.

Oh and can you issue one* CLI commands with your user? If yes, the problem
lies elsewhere.

Cheers and Goodwill,
v

On Fri, Oct 12, 2012 at 10:42 AM, rajesh kannan <[email protected]>wrote:

> I had problem while executing the given example java problem in opennebula
> website
>
> That program get compile but when i try to execute it show this kind of
> error
>
> allocate the Virtual Machine... failed [VirtualMachineAllocate] User
> couldn't be authenticated, aborting call.
>
> Pls help me guys to resolve this problem
>
> Regards
>
> A S Rajesh
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to