Posted by bddeveloper
on May 8, 2008 at 10:09 AM PDT
We are not sure how to get around this error on the PS3. It works GREAT on the soft players. We have also checked to see that the network wrappers written by sun, that have been written include the javax.net.ServerSocketFactory so we assume this is a valid call for BD Live players. We have tried many different ports they all do the same thing.
Here is the line of code:
ServerSocket ss = javax.net.ServerSocketFactory.getDefault().createServerSocket(80);
Returns this exception:
java.security.AccessControlException Access Denied (java.socket.net.SocketPermision localhost:80 listen,resolve)
Here is our perm file:
We are signing the .jar with the cookbook's jar signer. Is there a setting or something we need to do to get permission to call this on the PS3?
I should mention even this line of code is gives us a security exception:
Socket socket = javax.net.SocketFactory.getDefault().createSocket("sun.com", 80);
java.security.AccessControlException Access Denied (java.socket.net.SocketPermision sun.com:80 resolve)