RMI problem

From: Tim (nocomment_at_rogers.com)
Date: 11/22/03

  • Next message: Tim: "Re: RMI problem"
    Date: Sat, 22 Nov 2003 16:39:59 GMT
    
    

    I've got a problem running an example RMI application that I copied from
    a book. I have a Windows98 system with j2sdk1.4.1_06 installed.

    The example contains a program that instantiates the remote object on
    the remote machine. It contains the line:

    System.setSecurityManager(new RMISecurityManager());

    although it seems to actually be blowing up on the statement:

    Naming.rebind(urlString, cmi);

    Where cmi is the actual object it is going to instantiate.

    When I run this program, I first start the rmiregistry with:

    start rmiregistry

    Then start the program with:

    java CardBank <ip address> <port>

    The program throws the error (it's a long error but the last line is)

    access denied (java.net.SocketPermission 192.168.0.21:8080 connect,resolve)

    Any ideas about what I forgot to install, set etc. would be welcomed.

    Thanks
    Tim


  • Next message: Tim: "Re: RMI problem"

    Relevant Pages

    • Re: Component reuse
      ... There are some thing you may do to automate the component distribution process to make it easy to install on a separate machine. ... CMI object model allow you to make self installing packages. ...
      (microsoft.public.windowsxp.embedded)
    • Re: Component reuse
      ... Look at the ICMI interface (CMI class). ... These are the methods you would really need for automating a new component import from within your "setup" applicaiton: ... >> There are some thing you may do to automate the component distribution process to make it easy to install on a separate machine. ...
      (microsoft.public.windowsxp.embedded)
    • Service Hosted Remoting Doesnt Work When Installed With MSI
      ... I have a remote object hosted in a windows service. ... When I install the service using ... I am loading the configuration file using ... The remote object is in the gac and not installed by the setup project. ...
      (microsoft.public.dotnet.framework.setup)
    • Re: Compiled model interface (cmi) installation
      ... >I use the design framework IC5.033 and want to install the cmi. ... I have to execute the script cmiExtract which should be located ... Do I have to install further software packages? ... normal product). ...
      (comp.cad.cadence)
    • Re: Windows 2003 Server Standard SP2 install problems
      ... The caller requested a remote object, but no remote process is available ... Windows Server 2003 Storage Server R2, ... The install fails when I ...
      (microsoft.public.windowsupdate)