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 "Ford, Richard" <rf...@cenetec.com> on 2001/10/22 21:26:49 UTC

Newbie Question: method forName not found

Okay, I give up :-)

I looked in the FAQ (possibly not hard enough), I reinstalled, and now I
am posting to the list, so I *know* this will turn out to be something
trivial :-)

Using SOAP_2.2, under RedHat Linux, Apache and Tomcat, I get the
following on the client side:

[root@localhost stockquote]# 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.Class: method
forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class; not
found

HTTP to the server works accoring to spec. 

CLASSPATH is exported, and looks like this:

CLASSPATH=/usr/local/javaclasses/org/apache/soap.jar:/usr/local/javaclas
ses/xerces.jar:/usr/local/javaclasses/mail.jar:/usr/local/javaclasses/ac
tivation.jar:../..:/usr/local/jdk118_v3/lib/classes.zip

Nothing shows up in the server logs. Any idea what I am doing wrong? I
have confirmed that Tomcat is working okay (it runs everything else
fine), so what am I doing?

Richard