Hi:
Actually, my client program will post some data to abcservlet on host1(not applet,
so I put those classes under my jrun servlet directory instead of document root), and
abcservlet will try to invoke methods(abcsservlet) on host2. I think I do registry
abcsservlet on host2 OK, and my current problem is that the abcservlet can't get the
remote abcserver object.
Here is the log file.
Thanks for your help,
Jackie
----------
From: Jason Hunter[SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, May 19, 1999 11:54 PM
To: [EMAIL PROTECTED]
Subject: Re: RMI not working?
> 1. I put abcserver, abcsservlet, abcsservlet_stub, and abcsservlet_skel on my
>classpath.(Jrun Pro/2.2/classes/)
> 2. I set abcsservlet alias on Jrun and pre-load the abcsservlet when Jrun starts,
>so abcsservlet will be registered by RemoteHttpServlet.
> 3. I put abcclient, abcserver, and abcsservlet_stub on my Jrun servlet
>directory(jsm_default/service/jse/servlet directory). I invoke my client servlet
>program on
>
> I am not sure if I am putting my java classes on the right place.
At least one problem I see is that you need several of the classes
under the server's document root so they can be downloaded by the
applet. See the diagram in the book.
If that doesn't help, try posting again with the *exact* error message
and all the little details you can think of.
-jh-
--
Jason Hunter
[EMAIL PROTECTED]
Book: http://www.servlets.com/book
Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
___________________________________________________________________________
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
___________________________________________________________________________
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