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 Duffiana Jones <cd...@polydeme.fr> on 2001/05/18 15:14:57 UTC
Re: rpc router error
Hi,
retry with xerces 1.2, this should avoid you wasting some times.
hope this helps,
duf.
Irfan Baig a écrit :
>
> Hello, I'm a little new to SOAP. There is probably
> something very silly I'm doing here. I'm using Tomcat with IIS.
> I have gotten to the point where I can see the Apache-SOAP
> admin page, and I can interact with that page, list services and so on.
>
> But if I go to http://myserver/soap/servlet/rpcrouter, i.e. to 'Visit the rpc
> router', I get the following error.
>
> ================================================================
> Error: 500
> Location: /soap/servlet/rpcrouter
> Internal Servlet Error:
>
> java.lang.NoClassDefFoundError: org/apache/xerces/framework/XMLParser
> at org.apache.soap.server.http.RPCRouterServlet.(RPCRouterServlet.java:120)
> at java.lang.Class.newInstance0(Native Method)
> ...
> ...etc, etc
> ================================================================
>
> I assume that it can't find the xerces.jar file.
> But I have added its path to the classpath in tomcat.bat, as instructed, on
> line 105. Here is what my tomcat.bat file looks like (I've added a sample of
> it, because maybe Im changing the classpath in the wrong place in the file..?)
> You will see that I modified the line near the ':chkClasspath' tag.
>
> ================================================================
> :dynClasspath
> set _LIBJARS=
> for %%i in (%TOMCAT_HOME%\lib\*.jar) do call %TOMCAT_HOME%\bin\cpappend.bat
> %%i
> if not "%_LIBJARS%" == "" goto gotLibJars
> echo Unable to set CLASSPATH dynamically.
> if "%OS%" == "Windows_NT" goto staticClasspath
> echo Note: To set the CLASSPATH dynamically on Win9x systems
> echo only DOS 8.3 names may be used in TOMCAT_HOME!
> goto staticClasspath
>
> :gotLibJars
> echo Including all jars in %TOMCAT_HOME%\lib in your CLASSPATH.
> rem Note: _LIBJARS already contains a leading semicolon
> set CP=%CP%%_LIBJARS%
> goto chkClasspath
>
> :staticClasspath
> echo Setting your CLASSPATH statically.
> if exist "%TOMCAT_HOME%\lib\ant.jar" set CP=%CP%;%TOMCAT_HOME%\lib\ant.jar
> if exist "%TOMCAT_HOME%\lib\jasper.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar
> if exist "%TOMCAT_HOME%\lib\jaxp.jar" set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar
> if exist "%TOMCAT_HOME%\lib\parser.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\parser.jar
> if exist "%TOMCAT_HOME%\lib\servlet.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar
> if exist "%TOMCAT_HOME%\lib\webserver.jar" set
> CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar
>
> :chkClasspath
> if "%CLASSPATH%" == "" goto noClasspath
> rem set CP=%CP%;%CLASSPATH%
> set CP=c:\jakarta-tomcat-3.2.1\xerces-2_0_0_alpha\xerces.jar;%CLASSPATH%;%CP%
>
> :noClasspath
> if not exist "%JAVA_HOME%\lib\tools.jar" goto installClasspath
> set CP=%CP%;%JAVA_HOME%\lib\tools.jar
> :installClasspath
> echo.
> echo Using CLASSPATH: %CP%
> echo.
> set CLASSPATH=%CP%
> ================================================================
>
> I would appreciate any help - if you need more information, please do let me
> know. Thanks.
>
> --
> irfan.baig = "Coder-type, Abstract Edge"
> irfan.phone = "212.352.9311 ext 102"
> irfan.fax = "212.352.9498"
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org