aspose file tools
The moose likes Distributed Java and the fly likes Servlet communicates to RMI Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Servlet communicates to RMI Server" Watch "Servlet communicates to RMI Server" New topic
Author

Servlet communicates to RMI Server

Kaustuv Bhattacharya
Greenhorn

Joined: Jan 18, 2001
Posts: 7
Hi,
I am trying to communicate RMI server on a different machine through a Servlet running under Apache/Jserv as the RMI Client.
The java.policy file on both side at properly set with the neccessary permissions. But still the client gives the error : ClassNotFoundException:ServerImpl_Stub while trying to connect to the RMI Server. Now how can I set the java.rmi.server.codebase property via. servlet and how to set the SecurityManager for RMIClassLoader ???
Can anyone help in solving this problem ASAP.
Regards,
Kaustuv Bhattacharya
 
Consider Paul's rocket mass heater.
 
subject: Servlet communicates to RMI Server