aspose file tools*
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Problem when running with Axis" Watch "Problem when running with Axis" New topic
Author

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
Greenhorn

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.

Regards,

Saqib


<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.
HTH
Ahmad Khan


OCP/MCP/SCJP/SCWCD/IBM XML/SCMAD/SCEA-1
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem when running with Axis