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/25 15:23:56 UTC
SOLUTION Re: Newbie Question: method forName not found
Turns out to be a java version problem -
[root@localhost stockquote]# /usr/local/jdk118_v3/bin/java -version
java version "1.1.8"
When I upgraded to 1.3.1, everything worked fine first time. However, at
http://xml.apache.org/soap/docs/index.html, the version requirement is
Java 1.1 or higher. Is there a way to fix the doc's, or *should* the
system still work with jdk118?
Richard
-----Original Message-----
From: Ford, Richard
Sent: Monday, October 22, 2001 3:27 PM
To: soap-user@xml.apache.org
Subject: 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