How to open several MappedByteBuffer in parallel in Java?

Java. RMI. Exception. What is the reason?

  • How to resolve the following???? Exception in thread "main" java.security.AccessControlException: access denied ( java.net.SocketPermission 127.0.0.1:123 connect,resolve) at java.security.AccessControlContext.check… xt.java:374) at java.security.AccessController.checkPerm… 546) at java.lang.SecurityManager.checkPermissio… at java.lang.SecurityManager.checkConnect(S… at java.net.Socket.connect(Socket.java:524) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:189) at sun.rmi.transport.proxy.RMIDirectSocketF… SocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketF… SocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSoc… at sun.rmi.transport.tcp.TCPChannel.createC… ) at sun.rmi.transport.tcp.TCPChannel.newConn… at sun.rmi.server.UnicastRef.newCall(Unicas… at sun.rmi.registry.RegistryImpl_Stub.looku… Source) at core.Cashier.connect(Cashier.java:126) at core.Cashier.showConnectDialog(Cashier.j… at core.Cashier.act(Cashier.java:56) at core.Cashier.main(Cashier.java:41)

  • Answer:

    Seems to be a permission problem at the server side

Karapet at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.