Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI Server written in Microsoft SDk 4 - Its Urgent  RSS feed

Bilal Ahmed
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 : access denied 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 .
grant codeBase "file:/RSAServer/" {
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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!