axis library not found?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dave Keays
    New Member
    • Sep 2005
    • 4

    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.NoCl assDefFoundErro r: 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)
    Last edited by Dave Keays; Oct 1 '05, 12:45 AM. Reason: correct incorrect facts listed
  • yitzle
    New Member
    • May 2006
    • 1

    #2
    Similar topic...
    happyaxis.jsp tells me:
    Error: could not find class javax.activatio n.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 ;)
    Last edited by yitzle; May 24 '06, 04:31 PM.

    Comment

    Working...