You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by William Brogden <wb...@bga.com> on 2001/01/28 22:29:51 UTC
Problem with SOAP Example on JRun
I am trying to run the addressbook sample under JRun 3.0
I found a note on JRun and Soap in the archives and
am attempting to follow it.
I created an xml-soap application in the default server
D:\JRun3\servers\default\xml-soap\WEB-INF\lib\soap.jar
WEB-INF\classes has samples\addressbook and the other samples
The web.xml sets up rpcrouter which I can address with
http://localhost/xml-soap/servlet/rpcrouter
and get the expected message about "I can't do GET"
so I know that rpcrouter is working.
JRun's global.properties has been changed to put xerces.jar
at the start of jrun.classpath
The default server local.properties has a user.classpath that
includes the paths
F:/ApacheXML/SOAP/soap-2_0/lib (where soap.jar lives)
F:/ApacheXML/SOAP/soap-2_0/ (base of samples/addressbook)
When I run the GetAddress sample, it fails with the long message
about badly formed XML but the cause is clearly what
shows up in JRun's default sever error log
>>(Sun Jan 28 14:38:18 CST 2001) Processing SOAP request...
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
at
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:182)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at
allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatcher.java:34)
at allaire.jrun.servlet.Invoker.service(Invoker.java:84)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1013)
at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java:925)
at
allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:88)
at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java:367)
at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
Can anybody explain why JRun can't find the QName.matches method?
What should I try next?
--
WBB - wbrogden@lanw.com
Re: Problem with SOAP Example on JRun
Posted by William Brogden <wb...@bga.com>.
Well, I finally got it working. Turned out to be a jaxp.jar
and parser.jar in my JDK1.2\jre\lib\ext directory that prevented
QName from using a DOM2 Node method.
William Brogden wrote:
>
> >>(Sun Jan 28 14:38:18 CST 2001) Processing SOAP request...
> java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.QName.<init>(QName.java:80)
> at org.apache.soap.util.xml.QName.matches(QName.java:146)
Re: Problem with SOAP Example on JRun
Posted by William Brogden <wb...@bga.com>.
Well, I finally got it working. Turned out to be a jaxp.jar
and parser.jar in my JDK1.2\jre\lib\ext directory that prevented
QName from using a DOM2 Node method.
William Brogden wrote:
>
> >>(Sun Jan 28 14:38:18 CST 2001) Processing SOAP request...
> java.lang.NoSuchMethodError
> at org.apache.soap.util.xml.QName.<init>(QName.java:80)
> at org.apache.soap.util.xml.QName.matches(QName.java:146)