Thanks, I got the application to start communicating by compiling
the servlet as a java application and setting codebase on the
command line with the -D option.
That brings up another question or two.
1. Why does the client need the codebase set?
I've done everything on the server side
according to the books (which don't always agree) but it seems
the _Stub isn't getting properly annotated.
2. If the client has to have the codebase set, how is this done
in a servlet? (I'd really like to avoid this. Is there a way to
interrogate
the registry to see what it's doing or not doing?)
bob jernigan
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, April 16, 1999 2:21 PM
> To: [EMAIL PROTECTED]
> Subject: Re: RMI puzzle.
>
> Do you have all of the classes needed by the RMI client process, RMI
> server
> process, and the RMI registry process in the JVM classpath for each
> process? For the WebSphere process, you'll want to make sure that the
> classes are in the JVM classpath, not the servlets directory or the
> reloadable classpath. Any objects that are used by the RMI layer must be
> located in JVM classpath because the JDK classes (especially
> ObjectInputStream) cannot see the classes that are loaded dynamically by
> the servlet engine from the servlets directory or the reloadable
> classpath.
>
> The appserver/classes directory is in the JVM classpath by default. Try
> moving all of your classes into this directory.
>
> -spike
>
> -----
> Spike Washburn
> IBM WebSphere Application Server
> Internet E-mail: [EMAIL PROTECTED]
>
>
___________________________________________________________________________
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