Meaningless Drivel is fun!*
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/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet communicates to RMI Server