At 10:29 AM 7/19/2001 -0400, Bahal, Sanjay wrote:
>Tom,
>Thanks- I got a step further. Now the error is-
>C:\>java org.apache.soap.server.ServiceManagerClient
>http://localhost:8080/soap/
>servlet/rpcrouter list
>Ouch, the call failed:
>   Fault Code   = SOAP-ENV:Server.Exception:
>   Fault String = java.lang.NoSuchMethodError

Well, that's almost certainly a classpath problem (not quite
certainly, but almost.) So 
   (a) are you running JRun, Websphere, Tomcat or what? 
   (b) try running the cp.jsp I just suggested; well, I hereby
attach it. Just drop it into your soap webapp, and check
     http://localhost:8080/soap/cp.jsp
and see if the ext-dir / classpath combination is what you
thought it was.
<html><head><title>Classpath and so forth</title></head>
<body>
Classpath (and other system properties); if you improve this
code, please tell Tom Myers <[EMAIL PROTECTED]> about it.
<pre>
<%
  final java.io.Writer w=out;
  java.io.OutputStream os=new java.io.OutputStream(){
     public void write(int b)throws java.io.IOException{w.write(b);}
  };
  System.getProperties().store(os,"SysProps");
%>
</pre>
<%
  String ed=System.getProperty("java.ext.dirs");
  java.io.File edDir=new java.io.File(ed);
  if(!edDir.exists())throw new Exception( "no such directory as "+ed);
  if(!edDir.isDirectory())throw new Exception( ed + " is not a directory.");
  String[] LL = edDir.list();
%>
<b>Extension directory jars; these files are visible to those in classpath,
but those in classpath may not be visible to them</b><br>
<% for(int i=0;i<LL.length;i++)out.write(LL[i]+";<br>"); %>
</body>
</html>

Reply via email to