Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.policy file on AIX

843811Sep 5 2001 — edited Sep 5 2001
Hello,
I am working on an AIX box with ibm java 1.3 installed. I have an rmi application which attempts to access a local file. I ahve specified a java.policy file at run time. Surprisinlgy it gives me an accesscontrol exception whereas the same program with the same file works fine on an NT system with sun java 1.3.1 installed. Any clue please

the java.policy file is as follows

grant {
permission java.net.SocketPermission "*:1024-65535","connect,accept,listen,resol
ve";
permission java.net.SocketPermission"194.13.245.75:21","connect,accept";
permission java.io.FilePermission "${/}/usr/tibco/sm/-","write,read";
permission java.util.PropertyPermission "DEBUG", "read";
};


I am stuck here. any clue wil be great.

thanks
sm

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 3 2001
Added on Sep 5 2001
1 comment
89 views