Hello everybody. Im currently learning java and jini. Im using jini version 2.1.
Ive been working on simple examples from books and I can read/write to the space. Im using only one computer,meaning that the jini services and the client are on the same computer.
I tried creating a transaction but I get the following error:
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:4160 connect,resolve)
I thought that there was a problem with the policy file, but it seems OK. I even opened the port 4160 in my firewall but without any luck.
If I remove the code for creating the transaction, the program works fine;i.e, I can read/write to the space.
Is there something that I should add or remove?
Thanks in advance.
Ive been working on simple examples from books and I can read/write to the space. Im using only one computer,meaning that the jini services and the client are on the same computer.
I tried creating a transaction but I get the following error:
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:4160 connect,resolve)
I thought that there was a problem with the policy file, but it seems OK. I even opened the port 4160 in my firewall but without any luck.
If I remove the code for creating the transaction, the program works fine;i.e, I can read/write to the space.
Is there something that I should add or remove?
Thanks in advance.