Hi:
1.  Does anybody run Jason Hurter's Daytime and ChatServer RMI version OK?  I can't 
run those RMI examples successfully.
2.  I have modified one of my working servlet program to use RMI to try query the SQL 
database on another host.  When I run my client side servlet program, I got some error 
messages saying that it can't locate my remote server side servlet program.(Catch an 
unavailable exception error when doing registry.lookup(getRegistryName()).)  Does 
anybody know how to check if I have register my server side servlet program correctly? 
 I used Hunter's RemoteHttpServlet as my server side servlet's SuperClass, so it will 
register my servlet program when my server side servlet is load.

Here are some procedures that how I configurate my rmi programs, and hope somebody can 
correct me if I make mistakes.

Client side servlet class:  abcclient
RMI interface class: abcserver
Remote server side servlet class:  abcsservlet, abcsservlet_stub,                      
                 abcsservlet_skel

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 http://host/servlet/abcclient.

I am not sure if I am putting my java classes on the right place.

Any idea?

Thanks in advance,
        Jackie

___________________________________________________________________________
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

Reply via email to