Re: AccessControlException access denied FilePermission on codebase
Martin Burger <[email protected]>
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Organization | Private account of Martin Burger |
| Message-ID | <[email protected]> |
Martin Burger schrieb am 17.04.2005 09:30:
> I start the HelloImpl using the following VM arguments (my IDE is
> Eclipse):
>
> -Djava.security.policy=E:/Uni/DiplInf/workspace/RMItest/bin/wideopen.policy
>
> -Djava.rmi.server.codebase=file://E:/Uni/DiplInf/workspace/RMItest/bin/
>
While reading an "old" tutorial at
http://java.sun.com/docs/books/tutorial/rmi/running.html I found the
solution:
The code base has to be
file:/E:\Uni\DiplInf\workspace\RMItest\bin/
and not
file://E:/Uni/DiplInf/workspace/RMItest/bin/
Regards, Martin
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html
To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html