This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

run time error with axis and tomcat  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
be sure that you have classpathed all jars needed.
for example, log4j.jar, commmons.jar blah blah.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Opportunity is missed by most people because it is dressed in overalls and looks like work - Edison. Tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!