471,594 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,594 software developers and data experts.

axis library not found?

I am setting-up an experimental web service using Apache Axis but I'm having problems. AXIS can't find a library that I've verified exists on my computer and that CLASSPATH points to it.

I'm using a simple service for testing purposes (1 string IN, 1 string OUT) and I've found where the exception occures but not why.

But I've exhausted my own attempts.

I've researched the web for Axis issues and here is a brief description of the results of the debugging steps taken. I can provide any details you need.

Does anybody have an idea what I'm missing?

1. Run-time exception when trying to establish a Server Connection in a servlet. (java.lang.NoClassDefFoundError: org/apache/axis/client/Service)

2. Application versions
JavaSE: 1.4.2_07
Netbeans: 4
Tomcat: 5.0.28 2 4
Axis: 1.1 Built on Jun 13, 2003
Windows: XP x86 5.1

3. A simple stand-alone client works while one that extends HttpServlet doesn't.

4. The server is a simple 'JWS' file which is consumed by a static client.

5. AXIS HAPPINESS PAGE runs ok, all core libraries found, report includes
"The core axis libraries are present. 2 optional axis libraries are missing"

6. The Axis libraries exist in the FINGER PRINT output

7. ACTIVATION.JAR is in TOMCAT common library and ref'd in CLASSPATH.

8. AXIS.JAR libraries are in AXIS libraries and ref'd in CLASSPATH.

9. libraries using java.* or javax.* are in TOMCAT's common library and not AXIS'

10. AXIS.JAR is found by both JAVAC (without the -CLASSPATH option) and NETBEANS.

11.The latest XERCES parser is used (xercesImpl.jar and xml-apis.jar)

12. No duplicate parsers exist

13. No spaces are in the CLASSPATH (8x3 names are used when spaces exist)

14. All CLASSPATH entries match case with the directory entry

15. using Sun's JVM

16. verified the "org/apache/axis/client/Service" classes exists in the .JAR (using FILEALYZER)
Sep 19 '05 #1
1 10036
Similar topic...
happyaxis.jsp tells me:
Error: could not find class javax.activation.DataHandler from file activation.jar
Axis will not work.
See http://java.sun.com/products/javabeans/glasgow/jaf.html
I downloaded the .jar but can't figure out where to put it so Axis will find it. Tried everywhere inside the TomCat folder (in which I got the webapps/Axis etc)...
Please help!

EDIT: Restarting TomCat helped.
Sorry for hijacking this thread ;)
May 24 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Gerrit Holl | last post: by
3 posts views Thread by Maarten van Reeuwijk | last post: by
3 posts views Thread by Jacky Zhu | last post: by
3 posts views Thread by Claus Haslauer | last post: by
3 posts views Thread by parrot toes | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.