AccessControlException in JDK1.1.4

Hi there,

My RMI server and client comunicate well when I run both in my local machine. But when I run in diferent machines I get the following error in the client:

java.security.AccessControlException: access denied <java.net.SocketPermission computer07 resolve>

I've heard something about policy files but I'm using jdk1.1.4 and I guess there's no policy file in this version. What can I do to solve this?

Than you,

Nei

[474 byte] By [neisan] at [2007-9-26 2:10:58]
# 1

Hi,

This problem is due to policy file. Please create a policy file using the policytool command.

In order to use the policyfile with the RMI applications, please refer this URL.

http://java.sun.com/docs/books/tutorial/rmi/running.html

Please refer this URL, in order to know about the policy file.

http://java.sun.com/docs/books/tutorial/security1.2/tour1/index.html

I hope this will help you.

Thanks

Bakrudeen

bakrudeen_indts at 2007-6-29 9:02:29 > top of Java-index,Core,Core APIs...
# 2
Hi,I thank you for your help but in Java documentation says that JDK 1.1.4 doesn't have a policy file. but I'm having this problem.Nei
neisan at 2007-6-29 9:02:29 > top of Java-index,Core,Core APIs...
# 3
It does not have it.YOU HAVE TO CREATE IT
web2k at 2007-6-29 9:02:29 > top of Java-index,Core,Core APIs...