I got Axis to run in WSAD 4.0.3. The problem was DOM level 1 classes in half a dozen jars. The fix was to either remove the jar entirely, or manually remove the old DOM classes from the jar. (Sheesh, what a hassle). Maybe there's a fix available for this, I don't know.

Here are the affected jars:

AD/plugins/com.ibm.etools.servletengine/lib/parser.jar
AD/plugins/com.ibm.etools.websphere.runtime/installedApps/petstore.ear/petstoreEjb.jar
AD/plugins/com.ibm.etools.websphere.runtime/installedApps/petstore.ear/petstore.war/web-inf/lib/parser.jar
AD/plugins/com.ibm.etools.websphere.runtime/properties/logbr/logbrxml.jar
AD/workspace/.metadata/.plugins/com.ibm.etools.servletengine/lib/parser.jar

where AD is the directory WSAD is installed into. I removed the all of the "parser.jar"s. The rest I removed the org.w3c.dom.* classes from them.

-Dave





David Pool/CA/KAIPERM@Kaiperm

10/29/2002 11:41 AM
Please respond to axis-user

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        Re: How to make Axis work in WSAD




I've been looking at this problem some more. My first thought was I have an old xerces.jar, but I

don't think that's the case now.


Looking at the stack trace, it looks like org.apache.axis.deployment.wsdd.WSDDDocument is

invoking getLocalName(String) on a org.w3c.dom.Node type object. However the Node class does not

have a method with that signature. Therefore the NoSuchMethodError. I might venture to guess

that this is an error in the WSDDDocument class, except for the fact that this runs fine in the Tomcat

environment. So there goes that theory.


Anyone have any other ideas?



David Pool/CA/KAIPERM@Kaiperm

10/28/2002 02:33 PM
Please respond to axis-user

       
       To:        [EMAIL PROTECTED]

       cc:        

       Subject:        How to make Axis work in WSAD





I have successfully installed Axis into Tomcat 4.1.10. I can bring up the AdminServlet OK, the validation page looks OK, and I successfully ran the Calculator.jws/CalClient  example program.


Now I'm trying to install Axis into WSAD 4.0 (Websphere Studio Application Developer). The validation page looks OK, but the AdminServlet give me a 500 error:


Error Message: org.w3c.dom.Node: method getLocalName()Ljava/lang/String; not found
Error Code: 500
Target Servlet: null
Error Stack:
java.lang.NoSuchMethodError: org.w3c.dom.Node: method getLocalName()Ljava/lang/String; not found
   at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:104)
etc.


The calculator service does not work either in WSAD with the same error message.


Is there anything I have to do especially for the WSAD environment to get it to work? Any clues would be greatly appreciated.


Thanks,

Dave



Reply via email to