The moose likes Distributed Java and the fly likes RMI Server written in Microsoft SDk 4 - Its Urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "RMI Server written in Microsoft SDk 4 - Its Urgent" Watch "RMI Server written in Microsoft SDk 4 - Its Urgent" New topic
Author

RMI Server written in Microsoft SDk 4 - Its Urgent

Bilal Ahmed
Greenhorn

Joined: Jun 25, 2001
Posts: 3
Hi Guys,
I have write a RMI Server using Microsoft SDK4 and Microsofts�s patch for RMI.
The job of RMI Server is to instanciate the ActiveX control (ocx) and call its method.
All these methods are implemented in a remote object so they can be called by the RMI Clients.
My RMI Client applet is purely written in Sun�s JDK 1.3.1 and its running properly in the appletviewer but when I run it in the web browser after uploading it on the web server (TomCat) it gives me the error.
I successfully get the the remote object but I got the above error when I call method
of the remote object.
� Exception : java.security.AccessControlException: access denied
java.net.SocketPermission bilal:1520 connect,resolve)�
As far as the security is concerned , I have associated a policy file that grant all permissions to my RMI Server as follows. And put the entry of this file in the java.security .
grant codeBase "file:/RSAServer/" {
permission java.security.AllPermission;
};
I cannot associate a policy file with my Rmi Server when I start it because it is written
In Microsft SDK and I execute it by the �jview� instead of �java�
Does anyone got some idea about how to solve this problem, so that I can proceed
my work.
Many thanks
Bilal.
 
 
subject: RMI Server written in Microsoft SDk 4 - Its Urgent
 
Threads others viewed
Applet and RMI
how to get Clients CPU information on Server using Java RMI
Need Help for RMI
Sun's RMI Tutorial
Multiple RMI & JNDI
IntelliJ Java IDE