Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

RMI Server written in Microsoft SDk 4 - Its Urgent

 
Greenhorn
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 : 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.
 
I'm doing laundry! Look how clean this tiny ad is:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic