• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet communicates to RMI Server  RSS feed

 
Kaustuv Bhattacharya
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!