Hello all,
perhaps someone can help me with this puzzle. Let me begin
by saying that over the last few days I've read almost everything I could
find on the net about RMI and class loading, including the archives of
this list and RMI-USERS.
Environment: RS/6000s with WebSphere and JDK 1.1.6 and Apache 1.3.3
and AIX 4.2, Oracle 7.3.4.
Application: Servlet on RS/6k-A reads some data from Oracle then requests
information from a Java application on RS/6k-B. Servlet is activated by
user
on PC using browser - not germaine to the problem.
What the user sees from the servlet is "Return value class not found; nested
exception is:java.lang.ClassNotFoundException:fData_Stub".
The rmiregistry was started on B with no CLASSPATH set and from a
directory that didn't have the Stub classes. The fData application was
started
with:
java -Djava.rmi.server.codebase=http://serverB/~jern/ fData
and the access_log shows a "GET /~jern/fpbData_Stub.class HTTP/1.0" 200 XXX
entry, so at least the server application is finding the Stub. The
fact that the servlet is reporting the "fData_Stub" class name shows that
it is at least getting to the registry because the "fData" name is otherwise
not known on serverA.
I think I've resolved most of the contradictory information that has
been written about RMI but I'm not sure how to resolve this problem.
What should I be looking for?
bob jernigan
The Johns Hopkins University Applied Physics Laboratory
240-228-6605
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html