At 10:05 AM 7/19/2001 +0530, BKS_prasad wrote:
I am also getting the same error like most of them when ever I run the samples of
APACHE-Soap on Jrun3.0.
D:\soap-2_2>java samples.addressbook.GetAddress
<http://localhost:8100/soap/servlet/rpcrouter>http://localhost:8100/soap/servlet/rpcrouter
"John B . Good"
Generated fault:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError
MysystemPath:D:\xerces-1_3_0\xerces.jar;D:\soap-2_2\lib\soap.jar;D:\soap-2_2;E:\jdk1.3\lib\dt.jar;E:\jdk1.3\lib\tools.jar;E:\jdk1.3\lib\servlet.jar;D:\JRun3.0\lib\ext\activation.jar;D:\JRun3.0\lib\ext\mail.jar;D:\bsf.jar;.;
...
set
classpath=D:\xerces-1_3_0\xerces.jar;D:\soap-2_2\lib\soap.jar;D:\soap-2_2;D:\JRun3.0\lib\ext\activation.jar;D:\JRun3.0\lib\ext\mail.jar;D:\bsf.jar;%classpath%;
A google.com search finds the following on JRun 3.0
http://www.allaire.com/documents/jrun30sp2/relnotes.htm says
>The classpath used by JRun is now maintained through multiple
>properties. Refer to the Developing Applications with JRun
>manual for complete classpath information.
>...
>JRun documentation is available online in PDF format via the
><JRun root dir>/docs/dochome.htm page. Windows users can access
>this page from the JRun Documentation item in the JRun 3.0
>Start menu.
There are mentions of precisely your problem on-line, e.g.
http://www.morphis.org/mailman/archives/morphis-interest/2001-April/000049.html
>working on JRun 3.0 SP2a. I did have a
>classpath problem and received NoSuchMethodError exceptions until I realised
>that even though I'd put xalan and xerces at the front of my classpath via
>the JRun management console, JRun was still putting more stuff in before it.
and
http://io.f4.fhtw-berlin.de:8080/cocoon/xdocs/installing.xml gives a sample
of changing the classpath to be used within JRun, in the context of Cocoon
installation:
>1. Make sure you first stop the admin server and the default server.
>2. In JRUN_HOME/lib/global.properties add the line (without any spaces or newlines):
>java.classpath={jrun.classpath};{user.classpath};{servlet.classpath};
>{jrun.rootdir}/servers/default/cocoon-web-pub/WEB-INF/lib
>3. Delete jaxp.jar and parser.jar - but not xt.jar - from the JRun\lib\ext
>directory.
>4. Copy the xerces.jar which is in the Cocoon package, and also the tools.jar
>of the JDK 1.2.2 to the JRun\lib\ext directory.
>5. Restart the admin server.
Of course you wouldn't do exactly this, since you're not installing cocoon. :-)
Tom Myers