Jon Williams wrote:
> just a guess...
>
> make sure that your stub class sits in both the server_root/classes and
> the server_root/public_html directory so that it lies in the classpath
> of both the server and the client... the same goes with your interface
> class...
Make sure your CLASSPATH do NOT contains the stubs or interfaces
( or anything else ) before starting rmiregistry.
( http://www.javasoft.com/docs/books/tutorial/rmi/running.html :-)
You can try first with a codebase pointing to a file url, then try if you can
download the files using the http url ( use a browser ).
Regards,
Costin
>
> Jon
>
> Poh Hee Meng wrote:
> >
> > Hi,
> >
> > I am having the above exception when doing a Naming lookup
> > in my servlet. Seems like the servlet is unable to download
> > the required RMI stub class. Anyone knows how to set
> > up (anything) so that the stub class can be downloaded?
> > I am able to start my RMI server successfully with
> > the java.rmi.server.codebase property specified as
> > http://localhost/somedir/.
> >
> > Platform :
> >
> > PWS, Jrun 2.3, JDK1.2
> >
> > Any help is greatly appreciated.
> >
> > Regards.
> >
> > ___________________________________________________________________________
> > 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
>
> --
> ===========================================
> Jon Thor Williams Phish
> Java Software Specialist :-)
> TrailerSoft [EMAIL PROTECTED] *
> "I want to party like it's 1929!" - Unknown
> ===========================================
>
> ___________________________________________________________________________
> 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