You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Wu, Kenny YK" <Ke...@pccw.com> on 2001/02/05 07:00:59 UTC

soap 2.0 + JRun 3.0

Hi, all,

I have problem in deploying and running soap sample!!

Information:
OS Platform: Windows NT 4
Java: jdk1.3
JRun: 3.0
Soap: 2.0

When I do the command line deploy:
java -classpath .;xerces.jar;soap.jar
org.apache.soap.server.ServiceManagerClient
http://10.18.8.11:8100/soap/servlet/rpcrouter deploy
samples/calculator/DeploymentDescriptor.xml

Both xerces.jar and soap.jar are in the current directory.

I get the following error:
org.xml.sax.SAXParseException: The markup in the document preceding the root
element must be well-formed.
        at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
        at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:626)
        at
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XM
LDocumentScanner.java:805)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
        at
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:8
5)
        at org.apache.soap.rpc.Call.invoke(Call.java:157)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
t.java:110)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
:123)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
88)
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
msg=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:18
2)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
        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.jav
a:88)
        at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
        at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
        at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
        at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
        at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
]
        at org.apache.soap.rpc.Call.invoke(Call.java:167)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
t.java:110)
        at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
:123)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
88)


I have renamed any jaxp.jar and parser.jar in jdk\lib\ext and
jdk\jre\lib\ext and make xerces.jar and soap.jar to be the beginning element
of jrun.classpath in the global.properties file and restart both the admin
and default servers.

However, when I use the web based admin tools to deploy the samples by
copying the data in deployment descriptor file to the deploy form, the
samples can be deployed!  But when I use command-line to deploy it, it
failed with the above-mentioned error message.

When I use the web based admin tools to deploy the sample successfully (It
can be listed by the web based admin tools) and use command line to run the
sample client, it receives the same error mentioned above.

I have used the org.apache.soap.util.net.TcpTunnelGui to check whether the
server returns xml, I see both the request and response is of type
"text/xml" in the request and response header.  But the response body is the
java.lang.NoSuchMethodError ...

One more note is that when I follow the procedure to deploy the admin tools
in JRun in step 3 in earlier message.

3) Select the Apache-SOAP /java/webapps directory in the "Servlet War File
or Directory" box.

It cannot be successfully deployed in JRun (I use default server with url
"/soap"), saying that no "war" file found.  Then I create a new web
application in JRun JMC, copy all the files in "webapps" directory to
default server suitable path to get the admin tools work fine (I can see the
"I can't do GET" message).  I don't know whether this fail step will be the
cause of the error or not.

If so, how to make the step 3 works successfully?

Please help in sorting out the problem.  Many thanks for reply!

Regards,
Kenny


RE: soap 2.0 + JRun 3.0

Posted by Aleksandar Milanovic <am...@galdosinc.com>.
I get the same exception when the document is non-existant, i.e. empty.
Perhaps the path is incorrect?

Alex

-----Original Message-----
From: Stephen Douglas [mailto:sdouglas@opaltelecom.co.uk]
Sent: Thursday, February 08, 2001 3:16 AM
To: soap-user@xml.apache.org
Subject: Re: soap 2.0 + JRun 3.0



----- Original Message -----
From: "Wu, Kenny YK" <Ke...@pccw.com>
To: <so...@xml.apache.org>
Sent: 05 February 2001 06:00
Subject: soap 2.0 + JRun 3.0


> Hi, all,
>
> I have problem in deploying and running soap sample!!
>
> Information:
> OS Platform: Windows NT 4
> Java: jdk1.3
> JRun: 3.0
> Soap: 2.0
>
> When I do the command line deploy:
> java -classpath .;xerces.jar;soap.jar
> org.apache.soap.server.ServiceManagerClient
> http://10.18.8.11:8100/soap/servlet/rpcrouter deploy
> samples/calculator/DeploymentDescriptor.xml
>
> Both xerces.jar and soap.jar are in the current directory.
>
> I get the following error:
> org.xml.sax.SAXParseException: The markup in the document preceding the
root
> element must be well-formed.
>         at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
> ntScanner.java:626)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XM
> LDocumentScanner.java:805)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
> java:381)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
>         at
>
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:8
> 5)
>         at org.apache.soap.rpc.Call.invoke(Call.java:157)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
> t.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
> :123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
> 88)
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
> msg=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:18
> 2)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         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.jav
> a:88)
>         at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
>         at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
>         at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
>         at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
>         at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
> ]
>         at org.apache.soap.rpc.Call.invoke(Call.java:167)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
> t.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
> :123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
> 88)
>
>
> I have renamed any jaxp.jar and parser.jar in jdk\lib\ext and
> jdk\jre\lib\ext and make xerces.jar and soap.jar to be the beginning
element
> of jrun.classpath in the global.properties file and restart both the admin
> and default servers.
>
> However, when I use the web based admin tools to deploy the samples by
> copying the data in deployment descriptor file to the deploy form, the
> samples can be deployed!  But when I use command-line to deploy it, it
> failed with the above-mentioned error message.
>
> When I use the web based admin tools to deploy the sample successfully (It
> can be listed by the web based admin tools) and use command line to run
the
> sample client, it receives the same error mentioned above.
>
> I have used the org.apache.soap.util.net.TcpTunnelGui to check whether the
> server returns xml, I see both the request and response is of type
> "text/xml" in the request and response header.  But the response body is
the
> java.lang.NoSuchMethodError ...
>
> One more note is that when I follow the procedure to deploy the admin
tools
> in JRun in step 3 in earlier message.
>
> 3) Select the Apache-SOAP /java/webapps directory in the "Servlet War File
> or Directory" box.
>
> It cannot be successfully deployed in JRun (I use default server with url
> "/soap"), saying that no "war" file found.  Then I create a new web
> application in JRun JMC, copy all the files in "webapps" directory to
> default server suitable path to get the admin tools work fine (I can see
the
> "I can't do GET" message).  I don't know whether this fail step will be
the
> cause of the error or not.
>
> If so, how to make the step 3 works successfully?
>
> Please help in sorting out the problem.  Many thanks for reply!
>
> Regards,
> Kenny
>


RE: soap 2.0 + JRun 3.0

Posted by Aleksandar Milanovic <am...@galdosinc.com>.
I get the same exception when the document is non-existant, i.e. empty.
Perhaps the path is incorrect?

Alex

-----Original Message-----
From: Stephen Douglas [mailto:sdouglas@opaltelecom.co.uk]
Sent: Thursday, February 08, 2001 3:16 AM
To: soap-user@xml.apache.org
Subject: Re: soap 2.0 + JRun 3.0



----- Original Message -----
From: "Wu, Kenny YK" <Ke...@pccw.com>
To: <so...@xml.apache.org>
Sent: 05 February 2001 06:00
Subject: soap 2.0 + JRun 3.0


> Hi, all,
>
> I have problem in deploying and running soap sample!!
>
> Information:
> OS Platform: Windows NT 4
> Java: jdk1.3
> JRun: 3.0
> Soap: 2.0
>
> When I do the command line deploy:
> java -classpath .;xerces.jar;soap.jar
> org.apache.soap.server.ServiceManagerClient
> http://10.18.8.11:8100/soap/servlet/rpcrouter deploy
> samples/calculator/DeploymentDescriptor.xml
>
> Both xerces.jar and soap.jar are in the current directory.
>
> I get the following error:
> org.xml.sax.SAXParseException: The markup in the document preceding the
root
> element must be well-formed.
>         at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
> ntScanner.java:626)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XM
> LDocumentScanner.java:805)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
> java:381)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
>         at
>
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:8
> 5)
>         at org.apache.soap.rpc.Call.invoke(Call.java:157)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
> t.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
> :123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
> 88)
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
> msg=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:18
> 2)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         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.jav
> a:88)
>         at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
>         at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
>         at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
>         at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
>         at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
> ]
>         at org.apache.soap.rpc.Call.invoke(Call.java:167)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
> t.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
> :123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
> 88)
>
>
> I have renamed any jaxp.jar and parser.jar in jdk\lib\ext and
> jdk\jre\lib\ext and make xerces.jar and soap.jar to be the beginning
element
> of jrun.classpath in the global.properties file and restart both the admin
> and default servers.
>
> However, when I use the web based admin tools to deploy the samples by
> copying the data in deployment descriptor file to the deploy form, the
> samples can be deployed!  But when I use command-line to deploy it, it
> failed with the above-mentioned error message.
>
> When I use the web based admin tools to deploy the sample successfully (It
> can be listed by the web based admin tools) and use command line to run
the
> sample client, it receives the same error mentioned above.
>
> I have used the org.apache.soap.util.net.TcpTunnelGui to check whether the
> server returns xml, I see both the request and response is of type
> "text/xml" in the request and response header.  But the response body is
the
> java.lang.NoSuchMethodError ...
>
> One more note is that when I follow the procedure to deploy the admin
tools
> in JRun in step 3 in earlier message.
>
> 3) Select the Apache-SOAP /java/webapps directory in the "Servlet War File
> or Directory" box.
>
> It cannot be successfully deployed in JRun (I use default server with url
> "/soap"), saying that no "war" file found.  Then I create a new web
> application in JRun JMC, copy all the files in "webapps" directory to
> default server suitable path to get the admin tools work fine (I can see
the
> "I can't do GET" message).  I don't know whether this fail step will be
the
> cause of the error or not.
>
> If so, how to make the step 3 works successfully?
>
> Please help in sorting out the problem.  Many thanks for reply!
>
> Regards,
> Kenny
>


Re: soap 2.0 + JRun 3.0

Posted by Stephen Douglas <sd...@opaltelecom.co.uk>.
----- Original Message -----
From: "Wu, Kenny YK" <Ke...@pccw.com>
To: <so...@xml.apache.org>
Sent: 05 February 2001 06:00
Subject: soap 2.0 + JRun 3.0


> Hi, all,
>
> I have problem in deploying and running soap sample!!
>
> Information:
> OS Platform: Windows NT 4
> Java: jdk1.3
> JRun: 3.0
> Soap: 2.0
>
> When I do the command line deploy:
> java -classpath .;xerces.jar;soap.jar
> org.apache.soap.server.ServiceManagerClient
> http://10.18.8.11:8100/soap/servlet/rpcrouter deploy
> samples/calculator/DeploymentDescriptor.xml
>
> Both xerces.jar and soap.jar are in the current directory.
>
> I get the following error:
> org.xml.sax.SAXParseException: The markup in the document preceding the
root
> element must be well-formed.
>         at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
> ntScanner.java:626)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XM
> LDocumentScanner.java:805)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
> java:381)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
>         at
>
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:8
> 5)
>         at org.apache.soap.rpc.Call.invoke(Call.java:157)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
> t.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
> :123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
> 88)
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
> msg=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:18
> 2)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         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.jav
> a:88)
>         at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
>         at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
>         at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
>         at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
>         at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
> ]
>         at org.apache.soap.rpc.Call.invoke(Call.java:167)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
> t.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
> :123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
> 88)
>
>
> I have renamed any jaxp.jar and parser.jar in jdk\lib\ext and
> jdk\jre\lib\ext and make xerces.jar and soap.jar to be the beginning
element
> of jrun.classpath in the global.properties file and restart both the admin
> and default servers.
>
> However, when I use the web based admin tools to deploy the samples by
> copying the data in deployment descriptor file to the deploy form, the
> samples can be deployed!  But when I use command-line to deploy it, it
> failed with the above-mentioned error message.
>
> When I use the web based admin tools to deploy the sample successfully (It
> can be listed by the web based admin tools) and use command line to run
the
> sample client, it receives the same error mentioned above.
>
> I have used the org.apache.soap.util.net.TcpTunnelGui to check whether the
> server returns xml, I see both the request and response is of type
> "text/xml" in the request and response header.  But the response body is
the
> java.lang.NoSuchMethodError ...
>
> One more note is that when I follow the procedure to deploy the admin
tools
> in JRun in step 3 in earlier message.
>
> 3) Select the Apache-SOAP /java/webapps directory in the "Servlet War File
> or Directory" box.
>
> It cannot be successfully deployed in JRun (I use default server with url
> "/soap"), saying that no "war" file found.  Then I create a new web
> application in JRun JMC, copy all the files in "webapps" directory to
> default server suitable path to get the admin tools work fine (I can see
the
> "I can't do GET" message).  I don't know whether this fail step will be
the
> cause of the error or not.
>
> If so, how to make the step 3 works successfully?
>
> Please help in sorting out the problem.  Many thanks for reply!
>
> Regards,
> Kenny
>


Re: soap 2.0 + JRun 3.0

Posted by Stephen Douglas <sd...@opaltelecom.co.uk>.
----- Original Message -----
From: "Wu, Kenny YK" <Ke...@pccw.com>
To: <so...@xml.apache.org>
Sent: 05 February 2001 06:00
Subject: soap 2.0 + JRun 3.0


> Hi, all,
>
> I have problem in deploying and running soap sample!!
>
> Information:
> OS Platform: Windows NT 4
> Java: jdk1.3
> JRun: 3.0
> Soap: 2.0
>
> When I do the command line deploy:
> java -classpath .;xerces.jar;soap.jar
> org.apache.soap.server.ServiceManagerClient
> http://10.18.8.11:8100/soap/servlet/rpcrouter deploy
> samples/calculator/DeploymentDescriptor.xml
>
> Both xerces.jar and soap.jar are in the current directory.
>
> I get the following error:
> org.xml.sax.SAXParseException: The markup in the document preceding the
root
> element must be well-formed.
>         at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1060)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
> ntScanner.java:626)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XM
> LDocumentScanner.java:805)
>         at
>
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
> java:381)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:952)
>         at
>
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:8
> 5)
>         at org.apache.soap.rpc.Call.invoke(Call.java:157)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
> t.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
> :123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
> 88)
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
> msg=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:18
> 2)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:772)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
>         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.jav
> a:88)
>         at allaire.jrun.servlet.JRunSE.service(JRunSE.java:1131)
>         at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java:330)
>         at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java:107)
>         at allaire.jrun.ThreadPool.run(ThreadPool.java:272)
>         at allaire.jrun.WorkerThread.run(WorkerThread.java:75)
> ]
>         at org.apache.soap.rpc.Call.invoke(Call.java:167)
>         at
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
> t.java:110)
>         at
>
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClient.java
> :123)
>         at
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:1
> 88)
>
>
> I have renamed any jaxp.jar and parser.jar in jdk\lib\ext and
> jdk\jre\lib\ext and make xerces.jar and soap.jar to be the beginning
element
> of jrun.classpath in the global.properties file and restart both the admin
> and default servers.
>
> However, when I use the web based admin tools to deploy the samples by
> copying the data in deployment descriptor file to the deploy form, the
> samples can be deployed!  But when I use command-line to deploy it, it
> failed with the above-mentioned error message.
>
> When I use the web based admin tools to deploy the sample successfully (It
> can be listed by the web based admin tools) and use command line to run
the
> sample client, it receives the same error mentioned above.
>
> I have used the org.apache.soap.util.net.TcpTunnelGui to check whether the
> server returns xml, I see both the request and response is of type
> "text/xml" in the request and response header.  But the response body is
the
> java.lang.NoSuchMethodError ...
>
> One more note is that when I follow the procedure to deploy the admin
tools
> in JRun in step 3 in earlier message.
>
> 3) Select the Apache-SOAP /java/webapps directory in the "Servlet War File
> or Directory" box.
>
> It cannot be successfully deployed in JRun (I use default server with url
> "/soap"), saying that no "war" file found.  Then I create a new web
> application in JRun JMC, copy all the files in "webapps" directory to
> default server suitable path to get the admin tools work fine (I can see
the
> "I can't do GET" message).  I don't know whether this fail step will be
the
> cause of the error or not.
>
> If so, how to make the step 3 works successfully?
>
> Please help in sorting out the problem.  Many thanks for reply!
>
> Regards,
> Kenny
>