R
Ravikumar
Hi,
I am writing a socket progarm . while I am excuting the program in
aglets I got the following exception
access denied (java.net.SocketPermission 127.0.0.1:161 connect,resolve)
Problem in closing socket. access denied (java.net.SocketPermission
127.0.0.1:45
33 connect,resolve)
The java.policy file is as follows
// Entry granting permissions to aglets code.
grant codeBase "file:C:/Ravikumar/SoftWare/Aglets/Aglets2.0.2/lib/-" {
permission java.security.AllPermission;
};
The java file compiled sucessfully and add the applicationlist also.
Please help to resolve this error.
Thanks in Advance.
Thanks
Ravikumar
I am writing a socket progarm . while I am excuting the program in
aglets I got the following exception
access denied (java.net.SocketPermission 127.0.0.1:161 connect,resolve)
Problem in closing socket. access denied (java.net.SocketPermission
127.0.0.1:45
33 connect,resolve)
The java.policy file is as follows
// Entry granting permissions to aglets code.
grant codeBase "file:C:/Ravikumar/SoftWare/Aglets/Aglets2.0.2/lib/-" {
permission java.security.AllPermission;
};
The java file compiled sucessfully and add the applicationlist also.
Please help to resolve this error.
Thanks in Advance.
Thanks
Ravikumar