wood burning stoves 2.0*
The moose likes Web Services and the fly likes Problem when running with Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Problem when running with Axis" Watch "Problem when running with Axis" New topic

Problem when running with Axis

vivek ja
Ranch Hand

Joined: Feb 24, 2005
Posts: 80
I am runnign a simple web application using Axis on Tomcat4, and Java1.4
I am getting the error.

java.lang.NoClassDefFoundError: org/apache/commons/discovery/tools/DiscoverSingleton
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:80)
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:72)
at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:81)
at org.apache.axis.client.Service.getAxisClient(Service.java:143)
at org.apache.axis.client.Service.<init>(Service.java:162)

I have axis.jar in my classpath. Am I missing any other jar file.
Please help !

Thank you
Saqib Rasul

Joined: Apr 08, 2005
Posts: 11
Looks like you might be missing some jars. Also look at Axis Installation docs about Jakarta 4.x and JRE 1.4.



<a href="http://galaxy.sagadc.com/" target="_blank" rel="nofollow">http://galaxy.sagadc.com/</a><br />- Web Services in 15 minutes -
Aryan Khan
Ranch Hand

Joined: Sep 12, 2004
Posts: 290

looks like u are missing "commons-discovery.jar" in ur classpath.
Ahmad Khan

I agree. Here's the link: http://aspose.com/file-tools
subject: Problem when running with Axis