0 Replies Latest reply on Feb 26, 2004 5:36 AM by mathi

    java.net.SocketPermission 230.0.0.4 connect,accept,resolve

    mathi

      Hi

      I tried running a client application from another machine other than that of the server.

      In this process i am getting the following error

      java.security.AccessControlException: access denied (java.net.SocketPermission 230.0.0.4 connect,accept,resolve)

      The client code runs fine upto lookup, but fails when trying to lookup the jndi name.

      i have done the following on the server side

      1. Changed the jndi.properties file
      2. Set the credentials in the client code
      3. Set the principal in the client code.
      4. Set the security manager to new RMISecurity Manager
      5. Server machine has .java.policy file which grants java.allPermission

      Can any one help me out in this???


      Mathi