The Artima Developer Community
Sponsored Link

Jini Forum
Jini problem : Error when creating a transaction

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
java space

Posts: 1
Nickname: p1r4t3
Registered: Jan, 2006

Jini problem : Error when creating a transaction Posted: Jan 21, 2006 5:39 AM
Reply to this message Reply
Advertisement
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.

Topic: Jini in JBoss Previous Topic   Next Topic Topic: Starting reggie: Manifest not found

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use