java.rmi.ConnectException: connection refused to host: Connection timed out

OK, I get the dreaded java.rmi.ConnectException: connection refused to host: Connection timed out

I've been Googling for solutions for a while and no success, although many people have been in this boat before.

java.rmi.ConnectException: connection refused to host: 169.254.105.9; nested exception is:
java.net.ConnectException: Connection timed out: connect

I ping the server from the client. I can telnet to the 169.254.105.9 1099 very well. I have disabled all firewall, I think - although company policy is we have to run McAfee and seems to have no control over that. When I run the client and server on the same system using localhost everything works fine.

Can anyone think of other things I could try to understand why my RMI does not connect? Are there diagnoses more I can try?

Cheers, Eric

System.setProperty call ("java.rmi.server.hostname", "150.247.94.130");

has no effect. I call it on the side of the client and the server before making any calls to the RMI API. I always get

Set it on the server only. That's what it's for. It touches what IP address is placed in the heel when exporting. If you need to call it before you build/export all remote objects, and that probably includes the registry.

Tags: Java

Similar Questions

  • Server responds only in time, FTP is not supported on this server [connection timed out after 15001 millseconds]

    Hello

    I repeatedly get the message "the server responding is not in time, FTP is not supported on this server [Connection timed] out after 15001 millseconds" when you try to download via the built in Adobe Muse FTP uploader. I've been in contact with my host who is hostbaby, and they said my ip address was blocked but when they unlock it is the same thing. I tried to change the automatic method and also to change the passive mode, but not joy.

    Any thoughts on how I can fix this?

    Have you checked with any FTP client to access your server host separately just to confirm if they are blocking access?

    You can try any as Filezilla FTP client to confirm access to the server with the same identifiers.

    Thank you

    Sanjit

  • I get Connection Timed Out

    Recently, I've been doing the Connection Timed Out on some sites. I have cleared my cache and cookies, and it still happens. I tried in safe mode and it still happens. I don't know what else to do besides just uninstall and reinstall firefox, and I don't know if this will even help.

    Now, here's the real kicker. The warning is not always to her for the same sites, and sometimes almost randomly. For a long time that it didn't happen and now it seems to start up again.

    So I have really no idea what to do. Can someone help me please. Also, I'm a bit of a novice when it comes to the computer speak, so if you have a question that may be a bit overwhelming, could you dumb it down a little for me.

    To be honest, I think I understood the connection problem. However, the connection was reset problem seems to happen after I visit Deviantart. No other site does seem to cause the problem. Is that what I can do to avoid this problem, when I visit this site?

  • Connection timed out on the Web site. Tried to delete the cache/cookies. No proxy. Internet Explorer. Unable to access. Help, please. Site Web works.

    I get Connection Timed Out on these Web sites: energy-medicine - software.com and energy - medicine.info. I tried to clear cookies and cache. I put no Proxy. I tried Internet Explorer and are still unable to access. I restarted my computer. I know that this site is active, because I contacted the webmaster and he says that it is active to an end. What else can I do to access this site? Thank you!

    Make a check of malware with several malware scanning of programs on the Windows computer.
    Please scan with all programs, because each program detects a different malicious program.
    All of these programs have free versions.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • "We could not complete your iTunes Store request. The network connection timed out. »

    Every hour or two iTunes for Mac displays a modal dialog box with the error 'we could not complete your iTunes Store request. The network connection timed out. "This interrupts any activity like playing airplay or order with the Remote App on iOS.

    I can identify no problems of networks. If I go to the iTunes Store deliberately I have no problem. I have no download waiting on the iTunes store. I try not to buy anything from the iTunes Store. I have no reason to connect to the iTunes Store.

    There is no update unapplied for iTunes. There is no update unapplied for Mac OS X. There is no update unapplied for my router. There is no network connection problem to any site I found.

    I can't find all the messages that allow me to debug this problem. The support page to If you can not connect to the iTunes Store - Apple supported provides no useful information.

    What this error message should tell me? What problem I actually feel?

    I noticed that sometimes.  I just quit iTunes and restart.  The problem reoccur not (until it is once again).  But for me, it's months between occurrences.

  • There was a problem downloading the software for the iPhone. The network connection timed out.

    Original title:
    Network discovery sharing sharing inbound network incoming Remote Desktop RDP TS Remote Desktop Remote Assistance Network
    -----

    My computer can not down load the version the most recent for my I Phone it says:

    There was a problem downloading the software for the iPhone. The network connection timed out.
    Make sure your network settings are correct and your connection is active network, or try again later.
    IM Online hole time and ive tried for months

    Hello

    ·         What software you want to download?

    ·         You have an earlier version of the software installed on your computer?

    Method 1:

    Try to download the software by disabling add-ons: http://windows.microsoft.com/en-us/Windows-vista/How-do-browser-add-ons-affect-my-computer

    Method2:

    Try disabling the anti-virus and then check if you can download the program.

    NOTE: make sure that you enable the antivirus protection as soon as the diagnosis is completed.

    Method3:

    Reset Internet Explorer, and then try to download the file: http://windows.microsoft.com/en-US/windows-vista/Reset-Internet-Explorer-7-settings

    NOTE: Please note that reset the settings of Internet Explorer running resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet, cookies, form data files and especially all the passwords.

    You can also post your questions on the apple forum by clicking this link: https://discussions.apple.com/community/iphone/using_iphone

  • Local Connection Timed out after error ~ 12000sec

    Hello

    I send a soap request to a service wcf web.

    I am able to get the required xml response when I open in the Internet Explorer browser but when I open it in the simulator it says Local connection timed out after ~ 12000sec and also when I deploy it to the device, it gives the answer as [object.document]. Please let me know if I'm missing something. Is the code used to call the Web service

    function {} Getresults()

    var XMLHTTP;

    If (! xmlhttp & typeof XMLHttpRequest! = 'undefined') {}

    try {xmlhttp = new XMLHttpRequest();                }

    catch (e) {xmlhttp = false;}                }           }

    return xmlhttp;       }

    var xmlHttp = new Getresults();

    var xmlHttp = new ActiveXObject ("Microsoft.XMLHTTP");

    function getDynamicData() {}

    var url = "http://serverip/Service.Wcf/Service.svc";

    XMLHTTP.open("get",URL,true) ("GET", url, true);

    xmlHttp.onreadystatechange = callbackFunction;

    xmlHttp.setRequestHeader ("SOAPAction ','http://tempuri.org/IService/GetVolume_PerYear'");            xmlHttp.setRequestHeader ("Content-Type', ' text/xml; charset = utf - 8');

    var soapRequest = '' +

    http://www.w3.org/2001/XMLSchema-instance' ' + ' container ="http://www.w3.org/2001/XMLSchema" "' + ' xmlns:soap = 'http://schemas.xmlsoap.org/soap/envelope/' > ' + '"

    ' ' +

    "'http://tempuri.org/ ' > ' +.

    '' +

    '' +

    '';

    xmlHttp.send (soapRequest);       }

    function callbackFunction() {}

    Alert (XMLHTTP. ReadyState);

    If (xmlHttp.readyState! = 4)

    return;

    Alert (XMLHTTP.responseXML);  }

    everything looks very well, try changing this XMLHTTP.open("get",URL,true) ('GET', url, true);   by XMLHTTP.open("get",URL,true) ('POST', url, true);

    subdomains also try to change this access urihttp://serverip/Service.Wcf"="true"> by

  • "Connection timed out" blackBerry smartphones at the opening of MSN

    As the name of the topic, says when I try to open my Windows Live Messenger on the Curve 8900, the white screen with the blue Blackberry logo appears and the charge takes 2 minutes or more. At the end of the load, an error message comes up saying that 'connection timed out '.

    I live in Vancouver and I am with Rogers, I use the $25 unlimited email/IM, text plan. Is this something with the settings on my phone or something with my ISP? Anyone who has a solution?

    Thank you!

    Hi I found what was wrong. I called Rogers and was told that the Windows Live Messenger icon preloaded in the phone is just a shortcut and the program is not already installed. Which means that I have to download the actual program. But since I do not have a web navigation plan (only for e-mail and instant messaging, and text), I couldn't connect to the internet to download the Messenger. I have finished downloading on a WiFi network, now it works fine.

  • I'm getting "connection timed out" when I try to connect to a specific Web site. I can connect to the site using Internet Explorer. Help?

    As suggested by Firefox, I've cleared my history and cache. Also, I downloaded and run one of the programs malicious applications recommended Firefox. I also deleted Firefox my firewall and then added it back as suggested by Firefox. I have no problem accessing the site using Internet Explorer.

    HTTPS Everywhere makes it easy for you to move site to a secure connection. It's something that you can yourself on the sites where you are displaying sensitive information, so it automates this for you, but I think that it is not essential.

    If you love the comfort, the extension has a function to create your own rules, as described on https://www.eff.org/https-everywhere/rulesets. It sounds a little complicated...

  • How to fix the "network connection timed out?"

    It is an ongoing problem with my Dell Inspiron 530 deskstop with an Intel 82562 v - 2 10/100 network adapter.

    Additional message says "make sure that the network settings are correct and your connection network is active.

    Most of the time this problem occurs then on the Internet and is very irritating. The only way to recover the connection is re-startup.

    Is it possible to change my settings to avoid this problem? If my AT & T DSL is regularly drop me? Or is my 2Wire Gateway HG B 2700 goes wrong?

    Thanks in advance for your comments.

    Hello

    There is always the possibility that the equipment goes wrong.

    Your 2Wire is actually a Modem Router.

    Log on to the router side look WAN and make sure that it is configured to maintain the connection.

    If this device was given to you by calling the ISP support, they will help with that.

    If not, is to determine if you lose the connection between the computer and the router or the router loses its connection to the Internet.

    When you lose the connection test to connect to the routers menu (read the manual), if you can connect to them, it's the Internet connection problem.

    Here you have some "tricks" on this Modem/Router.

    It is a connection ATT YMMV.

    http://www.Server-servers.com/att-DSL-2Wire-2700hg-b-router-setup/

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • Display users, every day a customer 19:00 error: secure connection timed out (the session has expired, please login again.)

    Hello

    Every day at 19:00 that our employees are disconnected from their virtual desktops, I know that it is because the connection has expired.

    My question is about this delay, the default session out of time (in minutes) is 600. Users log on the connection of the view at 09:00 and they will lunch at 13:30 and return to 15:00.

    600 minutes is the value of minutes between 09:00 and 19:00.

    But time out of session in the VDM global configuration settings is the session limit of when a user opens a session on the server to connect to when the session ends due to INACTIVITY?

    Users are still working at 19:00, so there is no inactivity.

    Why they were disconnected?

    Jorpavon wrote:

    But time out of session in the VDM global configuration settings is the session limit of when a user opens a session on the server to connect to when the session ends due to INACTIVITY?

    No, it isn't. It is the length of the maximum session regardless of the activity, and is necessary to avoid thin clients that never disconnect flooding the broker with the sessions. There is no setting "off". You will simply have to increase it the maximum time that a user will be connected.

  • Server responds only in time, FTP is not supported on this server [connection timed out after 15000 millseconds]

    I need help

    You may need to contact your webhost. Seems that it does not support FTP. It is not a question of Muse who would be with your host of the Web site.

  • Why "connection refused to host" in registry.rebind ()?

    My TestBind0 (code below) program trying to find/create a registry and link a GPO.

    Find/create: it tests all first if there is already a record on that port; If this isn't the case, then it tries to create a.

    The program tries to find/create the registry on ports 40654, 50876 30321, 33445, 1099, in that order, until what he managed both to create the register, and bind the object.

    Why TestBind0 up at each attempt

    java.rmi.ConnectException: Connection refused to host: 192.168.1.64; nested exception is: 
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
         at TestBind0.tryPort(TestBind0.java:48)
         at TestBind0.main(TestBind0.java:21)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:519)
         at java.net.Socket.connect(Socket.java:469)
         at java.net.Socket.(Socket.java:366)
         at java.net.Socket.(Socket.java:180)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
         ... 6 more

    (Note: 192.168.1.64 is my localhost)

    in

    reg.rebind("TestBind0", obj);

    even when I specified - Djava.security.policy is all.policy, with the file all.policy in the current directory, containing

    grant {
      permission java.security.AllPermission;
    };
    

    The program is run using the command

    java -cp bin -Djava.security.policy==all.policy TestBind0

    Code:

    import java.rmi.*;
    import java.rmi.registry.*;
    import java.rmi.server.*;
    import java.util.*;
    
    public class TestBind0 extends UnicastRemoteObject implements Counter {
      private static final long serialVersionUID = 1L;
      protected int count;
    
      protected TestBind0() throws RemoteException {
        super();
        count = 0;
      }
      public static void main(String[] args) {
        List ports = Arrays.asList(40654, 50876, 30321, 33445, 1099);
    
        Integer successPort = null;
        for(int port : ports) {
          boolean success = tryPort(port);
          if(success) {
            successPort = port;
            break;
          }
        }
        System.out.println("successPort:" + successPort);
        System.out.flush();
      }
      public static boolean tryPort(int port) {
        Registry reg = null;
        try {
          reg = LocateRegistry.getRegistry(port);
        }
        catch (RemoteException e) {
          try {
            reg = LocateRegistry.createRegistry(port);
          }
          catch (RemoteException e1) {
          }
        }
        if(reg==null) {
          return false;
        }
        boolean success = false;
        try {
          TestBind0 obj = new TestBind0();
          reg.rebind("TestBind0", obj);   // line 48
          success = true;
        }
        catch (AccessException e) {
          e.printStackTrace();
        }
        catch (RemoteException e) {
          e.printStackTrace();
        }
        return success;
      }
      public int getCount() throws RemoteException {
        return count++;
      }
    }
    

    > It tests first if there is already a record on that port; If this isn't the case, then it tries to create a.

    It's back to the front. You should try to create one with LocateRegistry.createRegistry (), then if that fails, use LocateRegistry.getRegistry () on the registry you now know to exist.

    You assume that "getRegistry()" throws an exception if the registry does not exist. There is no that. He built just a draft of registry. It does nothing on the network at all.

  • Another problem of connection: connection refused to host: 127.0.0.1

    Hello
    using the Mission of control 4.0 I have to following behavior attempts to connect from my local windows machine jrockit (on redhat) distance. Management port is defined (6115) and accessible through the firewall (local machine telnet works very well). With the help of MC locally on the computer remote (and tunnel with X) also works.

    Remote connection does not work with the pasted below exception. But through netstat, I see a connection made on the correct port on the local computer and the remote computer. I wonder why MC attempts a connection to 127.0.0.1?
    Remote
    TCP 0 0: ffff: remoteIP >: 6115: ffff: localIP >: 2770 ESTABLISHED 7628/java
    local
    < LocalIP > TCP: 2647 < remoteIP >: 6115 ESTABLISHED

    Any help would be greatly appreciated.

    Thank you
    Thomas

    Failed to open the GPMC for < remotemachinehostname >: 6115.
    com.jrockit.mc.rjmx.ConnectionException: connection refused to host: 127.0.0.1; nested exception is:
    java.net.ConnectException: connection refused: connect
    com.jrockit.mc.rjmx.ConnectionException: connection refused to host: 127.0.0.1; nested exception is:
    java.net.ConnectException: connection refused: connect
    at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:63)
    to com.jrockit.mc.console.ui.actions.StartConsole$ 1.preConnect(StartConsole.java:39)
    at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:74)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: java.rmi.ConnectException: connection refused to host: 127.0.0.1; nested exception is:
    java.net.ConnectException: connection refused: connect
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
    at javax.management.remote.rmi.RMIServerImpl_Stub.newClient (unknown Source)
    at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:228)
    at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:644)
    at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:609)
    at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:582)
    at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:160)
    at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:129)
    at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:173)
    at com.jrockit.mc.rjmx.ConnectionManager.innerConnect(ConnectionManager.java:95)
    at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:61)
    ... 3 more
    Caused by: java.net.ConnectException: connection refused: connect
    at java.net.PlainSocketImpl.socketConnect (Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    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.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
    at javax.management.remote.rmi.RMIServerImpl_Stub.newClient (unknown Source)
    at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
    at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
    at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:643)
    at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:609)
    at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:582)
    at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:159)
    at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:129)
    at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:172)
    ... 5 more

    You can try adding
    -Djava.rmi.server.hostname = - Xmanagement:ssl = false, authenticate = false, autodiscovery = true, port = 6115, rmiserver.port = 6115
    and see if that could help.

  • [java rmi] PortableRemoteObject method not referenced

    Hello everyone.

    I use a portable proxy between an IIOP client and server of connection JRMI (activated). While the proxy has an active reference on the login server, it cannot execute his method not referenced. So I try to use the source not cited in the proxy too, but once he gets a reference to the login server (the first time a user IIOP calls the PortableProxy.login () method, the replacement no quoted source method is never called.

    It's my proxy code:
    public class PortableProxy extends ClientAuthentication, Unreferenced{
         private String path = System.getenv("WORKDIR");
         private ClientAuthentication authLogin = null;
         private static final String authServer = "authServer";
         private static final int authServerPort = 1098;
         private static final String authServerIP = "localhost";
         private static final int portableProxyRMI = 3500;
         private static final String portableProxy = "PortableProxy";
         /**
            * PortableProxy()
            */
         public PortableProxy(){
              Properties prop = new Properties();
              Object obj = null;
              System.setProperty("javax.net.ssl.trustStore",""+path+"client/mySrvKeystore");
              System.setProperty("javax.net.ssl.trustStorePassword", "123456");
              try{
                   PortableRemoteObject.exportObject(this);
                      System.setProperty("java.rmi.dgc.leaseValue", "12000");
                      System.setProperty("java.rmi.dgc.checkInterval", "6000");
              }catch(RemoteException re){
                   System.out.println("PortableProxy.PortableProxy() RemoteException: "+re.getMessage());
                   re.printStackTrace();
              }
              System.out.println("PortableProxy exported");
         }
         
         /**
            * lookRef()
            */
         public void lookRef(){
              Properties prop = new Properties();
              Object obj = null;
              prop.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.rmi.registry.RegistryContextFactory");
              prop.put(Context.PROVIDER_URL, "rmi://"+authServerIP+":"+authServerPort);
              InitialContext ic = null;
              try{
                 ic = new InitialContext(prop);
                 obj = ic.lookup(authServer);
              }catch(NamingException ne){
                 System.out.println("PortableProxy.lookRef() NamingException: "+ne.getMessage());
                 ne.printStackTrace();
              }
              authLogin = (ClientAuthentication) PortableRemoteObject.narrow(obj, ClientAuthentication.class);
       }
         
         /**
            * login()
            */
         public Runnable login(String user, String password){
              System.out.println("Sono in PortableProxy.login()");
              Runnable ret = null;
              if(authLogin == null){
                   lookRef();
              }
              try{
                   ret = authLogin.login(user, password);
              }catch(RemoteException re){
                   System.out.println("PortableProxy.login() RemoteException: "+re.getMessage());
                   re.printStackTrace();
              }
              return ret;
         }
         
         /**
            * unreferenced()
            */
         public void unreferenced(){
              authLogin = null;
              if(authLogin == null){
                   System.out.println("authLogin = null");
              }else{
                   System.out.println("Something went wrong: authLogin != null.");
              }
              System.gc();
         }
    
         /**
         * MAIN
         */
         public static void main(String[] args){
              Properties prop = new Properties();
              PortableProxy proxy = new PortableProxy();
              prop.put("java.naming.factory.initial",  "com.sun.jndi.cosnaming.CNCtxFactory");
              prop.put("java.naming.provider.url", "iiop://localhost:"+portableProxyRMI);
              try{
                   InitialContext icProxy = new InitialContext(prop);
                   icProxy.rebind(portableProxy, proxy);
              }catch(NamingException ne){
                   System.out.println("PortableProxy.main() NamingException: "+ne.getMessage());
                   ne.printStackTrace();
              }
         }
    }
    I closed all the user jvm, but nothing happened. I don't have a reference to the proxy each time, I put it to null.
    Where I am doing wrong?
    PS: I also want to set the leaseValue and the checkInterval for a shorter time. In this way (under the PortableRemoteObject.exportObject (()) the right way?
    Tell me thanks in advance, if you need additional information. Thank you

    In my view, that the unreferenced support is available only when the use standard rmi. the iiop based RPC does not support distributed gc.

Maybe you are looking for