looks like you don't have an XML parser installed properly...

I think happyaxis.jsp checks for this so try running that. (point your browser to axis/happyaxis.jsp or see the docs)

If this is the problem, install xerces (http://xml.apache.org/) or some other XML parser to fix it.

stephen

Suhaib wrote:

Helo everybody, I've some problems while running axis sample applications. I'm using Tomcat 3.2.3 & JDK 1.4.1. According to the given instructions I've added all the jar files in the classpath of my system. But when I try to run the sample appl. I've the following error. Can anybody plz point out the mistake I'm making. Thankx.
-----------------------------------------------------------------------------------




D:\jakarta-tomcat-3.2.3\webapps\axis\WEB-INF\classes>D:\j2sdk1.4.1_01\bin\java samples.userguide.example2.CalcClient add 9 9



Exception in thread "main" AxisFault

faultCode: {http://xml.apache.org/axis/}HTTP

faultString: (500)Internal Server Error

faultActor: null

faultDetail:

null: return code: 500

<h1>Error: 500</h1>

<h2>Location: /axis/Calculator.jws</h2><b>Internal Servlet Error:</b><br><pre>java.lang.AbstractMethodError: javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader;



at org.apache.axis.utils.XMLUtils.getSAXParser(XMLUtils.java:247)

at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:229)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546)

at org.apache.axis.Message.getSOAPEnvelope(Message.java:377)

at org.apache.axis.handlers.soap.SOAPService$SOAPRequestHandler.invoke(SOAPService.java:176)

at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)

at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)

at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)

at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)

at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)

at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

at java.lang.Thread.run(Thread.java:536)

</pre>







(500)Internal Server Error

at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)

at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)

at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)

at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)

at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)

at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)

at org.apache.axis.client.Call.invokeEngine(Call.java:2113)

at org.apache.axis.client.Call.invoke(Call.java:2102)

at org.apache.axis.client.Call.invoke(Call.java:1851)

at org.apache.axis.client.Call.invoke(Call.java:1777)

at org.apache.axis.client.Call.invoke(Call.java:1315)

at samples.userguide.example2.CalcClient.main(CalcClient.java:98)



D:\jakarta-tomcat-3.2.3\webapps\axis\WEB-INF\classes>



-----------------------------------------------------------------------------------


Reply via email to