Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception when servlet is an RMI client?

 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic