Solved

access denied - rmi

Posted on 2001-07-10
4
195 Views
Last Modified: 2010-08-05
I type in the following at the command prompt:

java -Djava.security.policy=c:\jini1_0_1\example\lookup\policy.all -jar c:\jini1_0_1\lib\reggie.jar file://C:/jini1_0_1/lib/reggie-dl.jar c:\jini1_0_1\example\lookup\policy.all k:\tmp\reggie_log

What cause these error messages?

----------------------------
java.rmi.activation.ActivateFailedException: failed to activate object; nested exception is:
  java.security.AccessControlException: access denied (com.sun.rmi.rmid.Ex
ecOptionPermission -Djava.security.policy=c:\jini1_0_1\example\lookup\policy.all
)
java.security.AccessControlException: access denied (com.sun.rmi.rmid.ExecOption
Permission -Djava.security.policy=c:\jini1_0_1\example\lookup\policy.all)
  at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
  at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
  at sun.rmi.server.Activation$ActivatorImpl_Stub.activate(Unknown Source)

  at java.rmi.activation.ActivationID.activate(ActivationID.java:89)
  at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:250)
  at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:110)
  at com.sun.jini.reggie.RegistrarImpl_Stub.getServiceID(Unknown Source)
  at com.sun.jini.reggie.CreateLookup.create(CreateLookup.java:106)
  at com.sun.jini.reggie.CreateLookup.create(CreateLookup.java:199)
  at com.sun.jini.reggie.CreateLookup.main(CreateLookup.java:414)
0
Comment
Question by:txholdem
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 6

Expert Comment

by:kotan
ID: 6272037
Have you up the rmid?
If then, how do you run it?
What is your jdk version?
0
 
LVL 1

Author Comment

by:txholdem
ID: 6273109
I typed "rmid" first in a DOS box, then I went to another DOS command prompt and typed the above command.
I am using jdk1.3
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6273667
txholdem is being blocked from accessing/updating this question and it may be necessary to PAQ/close this for zero points and to post a new question to continue this collaboration effort, and post the link here for participating experts to follow and continue.  I'll keep you posted.

Thanks,
Moondancer
Community Support Moderator @ Experts Exchange
0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 6274205
Points for this question have been refunded, and this item will be moved to the PAQ.

txholdem has reposted this question new at the following link, due to access problem with this question.  Participating experts here, please post your information in this new link:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20149285

Thank you.
Moondancer
Community Support Moderator @ Experts Exchange
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
swing controls 2 38
Delphi Firemonkey: if the Sms contain special characters it won't send it 3 84
Java class and jar 3 61
Strange router problem - can't access hotmail.com 14 108
In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question