Can you check if you are using the same OpenNebula and Java OCA versions?<br clear="all">--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Tue, Nov 27, 2012 at 3:37 AM, Hoàng Thái Xuân Khoa <span dir="ltr"><<a href="mailto:htxuankhoa@gmail.com" target="_blank">htxuankhoa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><div class="im">
<div>On 11/26/2012 4:47 PM, Giovanni Toraldo
wrote:<br>
</div>
<blockquote type="cite">
<pre>On Mon, Nov 26, 2012 at 10:43 AM, Hoàng Thái Xuân Khoa
<a href="mailto:htxuankhoa@gmail.com" target="_blank"><htxuankhoa@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre>Client client = new Client("oneadmin:7f44b494160f2e69fed6c21b2ce555b8",
<a href="http://localhost:2633/RPC2" target="_blank">"http://localhost:2633/RPC2"</a>);
</pre>
</blockquote>
<pre>This looks like an md5 hash, you should put your *real* password instead.
--
Giovanni Toraldo
<a href="http://gionn.net" target="_blank">http://gionn.net</a>
</pre>
</blockquote></div>
It's still didn't work. <br>
<br>
The 7f44b494160f2e69fed6c21b2ce555b8 is a default password when i
installed OpenNebula. So, i don't know *real* password behind it. I
decide use oneuser command to change oneadmin's password: <br>
oneadmin@cluster:~#oneuser passwd 0 123<br>
with 0 is the id of oneadmin user and 123 is a new password. After
that, i can use password 123 to logon to SunStone server, managed
private cloud via command line successfully. But, when i used it in
Java code, it's didn't work.<br>
Client client = new
Client("oneadmin:123",<a href="http://localhost:2633/RPC2" target="_blank">"http://localhost:2633/RPC2"</a>);<br>
I got the same error:<div class="im"><br>
<i>Error message: [HostPoolInfo] User couldn't be authenticated,
aborting call.</i><br>
</div><div class="im"><pre cols="72">--
Hoang Thai Xuan Khoa
Ho Chi Minh city, Vietnam</pre>
</div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>