File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes run time error with axis and tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "run time error with axis and tomcat" Watch "run time error with axis and tomcat" New topic
Author

run time error with axis and tomcat

kiran gullapalli
Greenhorn

Joined: Nov 01, 2004
Posts: 1
hi
iam very new to webservices,i installed axis with tomcat. Happyaxis page is running fine.
but if i try to run example program given in samples/userguide/example1
TestCilent
i am giving java samples.userguide.example1.TestClient
then iam getting some exceptions saying that
java.lang.noclassdef found error r/apache/commons/discover/tools/discoverySingleton
at org.apache.axis.components.logger.logfactory$1.run
like this iam getting 4 lines.
Can anybody help me exactly what is happening?
bayarsaikhan bayarsaikhan
Greenhorn

Joined: Nov 01, 2004
Posts: 1
be sure that you have classpathed all jars needed.
for example, log4j.jar, commmons.jar blah blah.
sreenevas varkala
Greenhorn

Joined: Nov 01, 2004
Posts: 4
Try compiling like this
>java -classpath <Axis-claspat-variable> sampl.userguide.example1.TestClient

I used to like that,
Java -classpath $AXIS_CLASSPATH ex.java

-srinivas.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: run time error with axis and tomcat