Email archive for list snia-cimom, item 427
From: yyy@xxxxxxxxxxxxx (Qinyi Wu)
Date: Tue, 1 Jun 2004 17:50:47 -0400 (EDT)
Subject: Fail to run Cimom--no class found for HTTPClient/AuthorizationHandler
To: <yyyyyyyyyy@xxxxxxxxxxxxx>
Hi,
I checked out the source code today. My running environment is:
Jdk:jdk1.3.1_10
xerces: 1.0.4
httpclient: Version 0.3-3
In the readme.txt, it is said the CLASSPATH should set for providers. I
set it to {install_dir}/cimom/org/snia/wbemcmd/providers because this is
only place where I could find "providers" directory.
export
CLASSPATH=$CLASSPATH:{install_dir}/cimom_lib/HTTPClient:{install_dir}/cimom_lib/xerces.jar:{install_dir}/cimom:{install_dir}/cimom/org/snia/wbemcmd/providers
I created a "passwords" file under {install_dir}/cimom.
On the server side, I successfully started it as:
-------------------------------------------------------------
[yyy@xxxxxx cimom]$ java org.snia.wbemcmd.cimom.CIMServer
WARNING:Could not start configuration RMI server.
Configuration properties may not be updated dynamically.
--- InternalProvider() started
--- Adding Namespace root
--- Indication classes not found for root : CIM_ERR_NOT_FOUND(Searching
for cim_indicationsubscription in file
/net/hc287/qxw/software/cimom/persistence/classes/root/cim_indicationsubscription)
CIMOM service starting on port 5988.
-------------------------------------------------------------
However, when I started the client by executing
java org.snia.wbemcmd.browser.DialogBrowser
and tried to connect to server. The following error message is thrown.
------------------------------------------------------------
Exception in thread "main" java.lang.NoClassDefFoundError:
HTTPClient/AuthorizationHandler
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at
org.snia.wbemcmd.cimom.CIMOMHandleXML.<init>(CIMOMHandleXML.java:63)
at org.snia.wbem.client.CIMClient.<init>(CIMClient.java:213)
at
org.snia.wbemcmd.browser.DialogBrowser.start(DialogBrowser.java:266)
at
org.snia.wbemcmd.browser.DialogBrowser.main(DialogBrowser.java:333)
-------------------------------------------------------------
Currently I am using Http Version 0.3-3. Which version should I use and
where can I get it?
thanks
Qinyi
|