aspose file tools*
The moose likes Distributed Java and the fly likes Exception when servlet is an RMI client? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Exception when servlet is an RMI client?" Watch "Exception when servlet is an RMI client?" New topic
Author

Exception when servlet is an RMI client?

Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Hi all,
Why is it when i try to use a servlet as a client in RMI i get the following:



But when i use a none servlet client with the EXACT same code everything runs smoothly?
I can assure you that the stub and the interface and everything else is in the lib dir of the web app.

Please help.

Best Regards.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJD, SCEA/OCMJEA

Live life to an interface, not an implementation!
Marcelo Ortega
Ranch Hand

Joined: May 31, 2005
Posts: 519

Never mind, i solved the mystery. I'm not 100% sure what it was, because all i did was add a layer of abstraction with an intermediate object which took care of the RMIness, instead of the servlet itself.

Thanks and regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception when servlet is an RMI client?