Problem running axis samples

Hi,

I was trying to run

the sample codes provided with axis and I got this error

[isis] /home/akuma/axis-1_3>java samples.userguide.example1.TestClient

Exception in thread "main" java.lang.NoClassDefFoundError:

org.apache.commons.logging.LogFactory

at

org.apache.axis.components.logger.LogFactory.class$(LogFactory.java:45)

at

org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)

at java.security.AccessController.doPrivileged(Native Method)

at

org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)

at

org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)

at

org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:43)

at org.apache.axis.client.Service.getAxisClient(Service.java:104)

at org.apache.axis.client.Service.<init>(Service.java:113)

at samples.userguide.example1.TestClient.main(TestClient.java:31)

I've included all the required jars in my classpath. Given below is my

CLASSPATH.

CLASSPATH=/home/akuma/axis-1_3/lib/axis.jar:/home/akuma/axis-1_3/lib/wsdl4j-1.5.1.jar:/home/akuma/axis-1_3/lib/xml-apis.jar:/home/akuma/axis-1_3/lib/log4j-1.2.8.jar:/home/akuma/axis-1_3/lib/saaj.jar:/home/akuma/axis-1_3/lib/jaxrpc.jar:/home/akuma/axis-1_3/lib/commons-logging.jar:/home/akuma/axis-1_3/lib/commons-discovery.jar:/home/akuma/axis-1_3/lib/axis.jar:.:/home/akuma/_lib/xerces-2_5_0/xmlParserAPIs.jar:/home/akuma/_lib/xerces-2_5_0/xml-apis.jar:/home/akuma/_lib/xerces-2_5_0/xercesSamples.jar:/home/akuma/_lib/xerces-2_5_0/xercesImpl.jar:/home/akuma/_lib/jakarta-tomcat-4.1.27/common/lib/servlet.jar

I don't know where am I going wrong. I would really appreciate your help.

[1814 byte] By [Anushria] at [2007-10-2 5:39:39]
# 1
Hi,You need to declare the library commons-logging-1.0.4.jar coming from the apache project.Regards
e6395blaa at 2007-7-16 1:49:59 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...