[one-users] Problem with OPENNEBULA XMLRPC client on linux

Shweta Gulati shweta.svnit at gmail.com
Fri Jan 22 09:45:11 PST 2010


Hi

It was our mistake. The actual command which we issue to start the client is


java -classpath . XmlRpcTest

So we think that this should include the current directory in our class
path. Could you now tell us what could be the error??

Thanks

On Fri, Jan 22, 2010 at 9:06 PM, Nikola Milutinovic <n.milutinovic at levi9.com
> wrote:

>  On 21.1.2010 22:52, Shweta Gulati wrote:
>
> When we use this client on Windows XP, while the opennebula XMLRPC
> server runs on a Linux machine, the communication is fine and the info
> of  the user oneadmin is returned, as desired.
> But trying to run the same client code on the same Linux machine (with
> the modified server URL), we get the following Exception
>
> command issued: java XlmRpcTest
>
> output
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/xmlrpc/client/XmlRpcClientConfig
> Caused by: java.lang.ClassNotFoundException:
> org.apache.xmlrpc.client.XmlRpcClientConfig
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)t
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
>
>
>
> How do you start your client?
>
> The error message would indicate that the XML RPC client you would like to
> use is not on the classpath.
>
> Nix.
> --
>  Met vriendelijke groet / Kind regards,
> Nikola Milutinovic
> Sr Java Developer
> Levi9 Global Sourcing
>  ------------------------------
> .  Jan van Goyenkade 8, 1075 HP Amsterdam, The Netherlands
> (    +31 (0) 20 7547900 ext 2056
> (    +381 (0) 21 4895800 ext 2056
> È    +381 (0) 64 2202824
> *    n.milutinovic at Levi9.com
> ^    Skype: nikola.milutinovic
> ü    www.levi9.com
>
> Chamber of commerce Levi9 Global Sourcing BV: 34221951
> Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746
>  ------------------------------
>  This e-mail may contain confidential or privileged information. If you are
> not (one of) the intended recipient(s), please notify the sender immediately
> by reply e-mail and delete this message and any attachments permanently
> without retaining a copy. Any review, disclosure, copying, distribution or
> taking any action in reliance on the contents of this e-mail by persons or
> entities other than the intended recipient(s) is strictly prohibited and may
> be unlawful.
>
> The services of Levi9 are exclusively subject to its general terms and
> conditions. These general terms and conditions can be found on
> www.levi9.com and a copy will be promptly submitted to you on your request
> and free of charge.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100122/285b3c7b/attachment-0003.htm>


More information about the Users mailing list