RMI Protocol over JRMP transport: connection refused

I changed the look and feel for disco plus to Jinitiator. I then started getting error RMI Protocol over JRMP transport: connection refused to host: 192.168.1.1
I changed the settings back to java plugin 1.4 but I'm still getting the same error on all client machines.
I'm running windows 2003 and application server 10.1.2.0.2
Thanks for any help,
Brian

Hi Brian
When you changed to JInitiator what did you set the style to be? Also, why would you not want to use the Sun Java?
Anyhow, try getting the users to clear their local Sun Java cache, this will release the applet causing it to reload upon next connection, and try again.
If you want to retry JInitiator, try this:
1. Go to Control Panel | JInitiator 1.3.1.x or whatever version you are using
2. Navigate to the Proxies tab
3. Uncheck Use Browser Settings
4. Click the Apply button
5. Close all browser windows
6. Reconnect to Discoverer Plus
If the above steps do not help, try editing the security details of the Options menu in the Internet Explorer using this workflow:
1. On the client machine, launch IE
2. From the toolbar, select Tools | Internet Options
3. Navigate to the Security tab
4. Click on the Trusted Sites icon
5. Click on the Sites button
6. Add a fully, qualified HTTP link to your server
7. Close all browser windows
8. Reconnect to Discoverer Plus
Of the two solutions above, the first is most likely to fix your issue. However, I advise all my customers to set up the application server connections as being trusted sites.
One additional thing would be to delete your cookies. Discoverer Plus loves cookies.
Best wishes
Michael

Similar Messages

  • RMI Protocol over JRMP transport: connection refused to host: 10.10.10.10

    Hi,
    We migrated our Discoverer 9.0.2 to 10.1.2. However, when we connected to Discoverer Plus, the message saying "RMI Protocol over JRMP transport: connection refused to host: 10.10.10.10" appeared. We use the "Default" communication protocol and Sun JVM 1.4+ is installed in the client. Do you know what's happening?
    Thanks.
    Andy

    Hi Andy
    It could be a Java incompatibility issue. On one of your client machines try removing Java altogether and then reconnecting to Discoverer Plus. The server should send down a new, clean version of the Java.
    Try this and let me know how you get on
    Best wishes
    Michael

  • RMI protocol over JRMP transport error when accessing Discoverer Plus

    Hi,
    I just upgraded my Discoverer to 9.0.2.54.01. I can successfully access my Discoverer Viewer Workbooks but not my Discoverer Plus. When I try to access Plus, Applet will be started, and then it will prompt the RMI protocol error:
    Attempt 1.  RMI protocol over JRMP transport: Connection refused to host: 127.0.0.1; nested exception is:*
    java.net.ConnectException: Connection refused: connect*
    Attempt 2.  RMI protocol over http transport : Unable to attach to existing session.*
    I used browsers Mozilla3.0.5 and IE7.
    Thanks!

    Hi Andy
    It could be a Java incompatibility issue. On one of your client machines try removing Java altogether and then reconnecting to Discoverer Plus. The server should send down a new, clean version of the Java.
    Try this and let me know how you get on
    Best wishes
    Michael

  • How to intercept RMI calls over JRMP?

    Hi,
    I would like intercept calls over RMI/JRMP to pass contextual data between client and server. I was able to do it for IIOP using Portable Interceptor but could not find any solution for JRMP.
    Is there any other way to implicitly pass data between client and server?
    Thanks,
    Kapil

    Not in JRMP. See JERI in the Jini project for an extensible protocol.
    If you want full-strength RMI proxying see http://www.rmiproxy.com and contact me via the links there for more information on recently-developed products that address this need.
    Esmond Pitt

  • Connection Refused -RMI over the internt

    Hi All
    I have been looking at posts in the forums to solve my problem and now reached a kind of dead end hope someone can help.
    I have this RMI application that was desigend to run over a network and it works fine.It was decided that it should be used over the internet. Running as is started the problems ( as expected)
    what happened initially was that client would make a connection to the server but would throw an exception when server tried to callback the client.
    The forums solution was to have 2 ports opened ( like 1098 and 1099) and connect which I did. This caused a new problem now the client itslef throws a connection exception.
    This led me to belive that there would be a networking issue but the netadmin reports that he is seeing traffic reach the server and packets sent back. However I see an exception that is Connection refused to host : <IPADDRESS OF THE SERVER> :connection timed out
    Any help would be much appreciated
    Thanks

    I followed ejp's instructions and everything worked perfectly. Here is a bit more detailed explanation of what I did.
    I've been having various problems implementing an RMI Server/Client architecture, with Client Callbacks. My scenario is that both Server and Client are behind Firewall/NAT. In the end I got a fully working implementation. Here are the main things that I did:
    Server Side , Local IP: 192.168.1.10. Public (Internet) IP 80.80.80.10
    On the Firewall/Router/Local Server PC open port 6620.
    On the Router/NAT redirect incoming connections on port 6620 to 192.168.1.10:6620
    In the actual program:
    System.getProperties().put("java.rmi.server.hostname", IP 80.80.80.10);
    UnicastRemoteObject.exportObject(this, 6620);
    Client Side, Local IP: 10.0.1.123 Public (Internet) IP 70.70.70.20
    On the Firewall/Router/Local Server PC open port 1999.
    On the Router/NAT redirect incoming connections on port 1999 to 10.0.1.123:1999
    In the actual program:
    System.getProperties().put("java.rmi.server.hostname", 70.70.70.20);
    UnicastRemoteObject.exportObject(this, 1999);
    Hope this helps.
    Iraklis

  • Java.rmi.ConnectException: Connection refuse

    Hi all,
    I have built a simple RMI client server application.I can run client & server fine locally.
    However if I test this appplication over the internet, I get this exception on the client:
    java.rmi.ConnectException: Connection refused to host: 169.254.157.53; nested exception is:
    java.net.ConnectException: Connection timed out: connectConnection refused to host:169.254.157.53
    The RMI server is running on my PC and the client on a friend's remote PC.Both PCs are connected to Internet.
    I don't have any firewall running on my PC (including windows XP firewall). The server RMI lookup on the client happens correctly,
    the exception is raised when the client tries to call the remote method on the server.
    Here is an extract of my RMI server code (it works locally):
    public static void main(String[] args) throws Exception {
              try {
              // args[0] contains the database server name given as command line argument, arg[1] contains binary path that contains weather jpeg files     
              CPrimaryWeatherServer test = new CPrimaryWeatherServer(args[0], args[1]);
              Naming.rebind("rmi://localhost:1099/WeatherPrimaryService", test);
              System.out.println("Serveur m�t�o principal d�marr�");
              } catch (Exception e){ System.out.println(e.getMessage());}
    Here is an extract of my RMI client code (it works locally):
    try{
                        rec=1;
                        leftClik=1;
                        System.out.println("Before RMI lookup");
                        IPrimaryWeatherServerService serveur =(IPrimaryWeatherServerService)Naming.lookup("rmi://"+primWS+":1099/WeatherPrimaryService");
                        System.out.println("After RMI lookup");
                        System.out.println("Before server method call");
                        z=serveur.getFullWeatherData(); --> exception is raised here
                        System.out.println("After RMI server method call");
    I am directly connected to Internet using an ethernet card connected to an ADSL modem.169.254.157.53 is the automatic IP of my network card different from the IP given by my ISP. By the way, the client tries to contact me using my DNS name that resolves correctly to my ISP IP adress.
    Thanks a lot for help,

    because I am guessing that a local IP address is being embedded into the stub so the clien't can't find the remote server. I am guessing because you didn't provide the exception or its text. Anyway the suggestion will cause the correct public IP address/hostname to be embedded into the stub.

  • Invocation time Exception (java.rmi.ConnectException: Connection refused to

    Hi folks,
    SERVER = LINUX
    CLIENT = WINDOWS 200
    JAVA VERSION : 1.4.2
    Object obj = Naming.lookup("rmi://x.x.x.x:5578/MyServer");
    System.out.println("Object ="+obj); // Works fine and return stub as shown in o/p
    MyServer_Stub server = (MyServer_Stub)obj;
    server.validate(); // throws following Connection refused exception
    -----OUTPUT-----
    Object =com.MyServer_Stub[RemoteStub [ref: [endpoint:[x.x.x.x:42360](remote),objID:[a981ca:10722cb9411:-8000, 0]]]]
    java.rmi.ConnectException: Connection refused to host: x.x.x.x.x; nested exception is:
         java.net.ConnectException: Connection refused: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101)[
         at com.MyServer_Stub.validate(Unknown Source)/b]
         at tescasees.testbyexample.rmi.MyServerChangesTestApplication.main
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:124)
         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:562)
         ... 5 more
    Exception in thread "main"
    [b] Why does java system throws exception at invoke time not connection time at lookup time</b]
    Any suggestion...
    Regards,
    Manoj

    > Are you getting this from a lookup()? If so it means the Registry you are looking for at rmi://x.x.x.x:5578 is not present.
    I am getting it at the time when I invoke the method validate on the object returned from lookup.
    --Manoj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Java 5 RMI protocol (JRMP) Implementation

    I've got the source code of Java 5, but I couldn't find the implementation of the RMI protocol (JRMP). Anyone can help me?
    Besides, where can I find more details related to the lower levels of RMI?
    Tks.

    Hi ejp.
    I guess this packet sun.rmi.transport is not distributed with the Sun's standard java source code, at least I couldn't find it.
    There is a place where I can get it?
    Thanks.

  • RMI: connection refused error while invoking remote method from client mac.

    Hi All,
    when i run client program, which is calling remote object from other system, it shows the below error.
    please help me solving this issue, i also have policy file and installed security manager.
    Exception in Cliendjava.rmi.ConnectException: Connection refused to host: 10.66.
    112.137; nested exception is:
    java.net.ConnectException: Connection refused: connect
    thanks in advance.
    Regards,
    Anand.

    See item A.1 of the [RMI FAQ|http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html].

  • RMI Callback Connection Refused Problem

    we are running Red Hat Linux 9, we previously had a problem connecting a server and client running in 2 different PC's. we had the following error
    Exception in mainjava.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
    java.net.ConnectException: Connection refused
    we used the -Djava.rmi.server.hostname= <hostname> option to make it run. Now, were trying to make use of call backs this time we ran into another problem having the error:
    Exception in mainjava.rmi.ConnectException: Connection refused to host: 172.16.100.24; nested exception is:
    java.net.ConnectException: Connection refused
    what are we doing wrong?

    We already included a security manager. but the error is still there.

  • Rmi client throws Connection Refused exception

    My Rmi client throws a Connection Refused exception when i try to run it on remote machine (in this case i run it on my virtualbox macine).
    The virtualbox machine network is in NAT mode (host machine ip should be 10.0.2.2).
    When rmi client starts get registry instance and print in standar output:
    RegistryImpl_Stub[UnicastRef2 [liveRef: [endpoint:[//10.0.2.2/:1099,util,RmiInstances$1@1275d39](remote),objId:[0:0:0, 0]]]]But when rmi client trys to use any of remote methods it throws Connection Refused, but it's to strange because the Connection Refused has 127.0.1.1 as ip.
    java.rmi.ConnectException: Connection refused to host: 127.0.1.1; ....In client RmiInstances code (this class contains all remote implementations) is:
    public class RmiInstances {
        private static RmiInstances instance;
        private IUserManage userManage;
        private IAnalysis analysis;
        private IPacientManage pacientManage;
        private IInsuranceManage insuranceManage;
        private Config config;
        private RmiInstances()
                throws RemoteException, NotBoundException, IOException {
            this.config = Config.getInstance();
            Registry registry = LocateRegistry.getRegistry(config.getServerUrl()+"/",
                    1099, new RMIClientSocketFactory() {
                @Override
                public Socket createSocket(String host, int port) throws IOException {
                    try {
                        URI uri = new URI(config.getServerUrl()+
                                ":"+config.getServerPort());
                        return new Socket(uri.getHost(), uri.getPort());
                    } catch (URISyntaxException ex) {
                        ex.printStackTrace();
                        return null;
            System.out.println(registry);
            userManage = (IUserManage)registry.lookup("RUserManage");
            analysis = (IAnalysis)registry.lookup("RAnalysis");
            pacientManage = (IPacientManage)registry.lookup("RPacientManage");
            insuranceManage = (IInsuranceManage)registry.lookup("RInsuranceManage");
    ...And server code is the next:
    public static void main(String[] args) {
         System.out.println("GNULab Server " + VERSION + " starting...");
         System.setProperty("java.rmi.server.codebase",
              "file:/home/zarovich/workspace/labserver/bin");
         try {
             // Loading config
             System.out.println("Loading config...");
             Config config = Config.getInstance();
             // inicializando rmi registry
             Registry registry;
             if (config.isSsl()) {
              registry = LocateRegistry.createRegistry(
                   config.getServerPort(), new RmiSSLClient(),
                   new RmiSSLServer());
             } else
              registry = LocateRegistry
                   .createRegistry(config.getServerPort());
             // instanciando implementaciones
             RAnalysis rAnalysis = new RAnalysis();
             RInsuranceManage rInsuranceManage = new RInsuranceManage();
             RPacientManage rPacientManage = new RPacientManage();
             RUserManage rUserManage = new RUserManage();
             // registrando interfaz rmi
             registry.rebind("RAnalysis", (IAnalysis) UnicastRemoteObject.exportObject(rAnalysis, 0));
             registry.rebind("RInsuranceManage", (IInsuranceManage) UnicastRemoteObject.exportObject(rInsuranceManage, 0));
             registry.rebind("RPacientManage", (IPacientManage) UnicastRemoteObject.exportObject(rPacientManage, 0));
             registry.rebind("RUserManage", (IUserManage) UnicastRemoteObject.exportObject(rUserManage, 0));
             System.out.println("GNULab Server " + VERSION + " listening ...");
             System.out.println("Registry instance: " + registry.toString());
         } catch (RemoteException e) {
             e.printStackTrace();
            * catch (MalformedURLException e) { e.printStackTrace(); }
            */catch (IOException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
         } catch (JDOMException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
    ...

    I'm solved my problem.
    I just need run my server with -Djava.rmi.serverhost=10.0.2.2 and my client running on my virtualbox machine works!

  • RMI connection refused

    Hello to all,
    I have created and completed an RMI chat application and tested it on my localhost. It worked all right.
    Now I want to make it live i.e. run it through internet.
    Is it same as running on localhost only we have to change the IP address for locating registry.
    I have done that and uploaded the server file on host, also I have the IP address of that host.
    I have replaces localhost whit the give IP address but connection refused exception is thrown.
    I have located the registry on the server through IP address then when I use
    Registry reg=LocateRegistry("xx.xx.xx.xxx");
    System.out.println("1");
    chatAppIF chatStub=(chatAppIF)Naming.lookup("rmi://xx.xx.xx.xxx:xxxx/service");
    System.out.println("2");
    int i=chatStub.logMeIn(user,pass);
    System.out.println("3");Output screen shows
    1
    2
    Client exception: java.rmi.ConnectException: Connection refused to host: xx.xx.xx.xxx; nested exception is:
            java.net.ConnectException: Connection refused: connectWhile when i use
    Registry reg=LocateRegistry("xx.xx.xx.xxx");
    System.out.println("1");
    chatAppIF stub=(chatAppIF)reg.lookup("service");
    System.out.println("2");
    int i=chatStub.logMeIn(user,pass);
    System.out.println("3");it give output as
    1
    Client exception: java.rmi.ConnectException: Connection refused to host: xx.xx.xx.xxx; nested exception is:
            java.net.ConnectException: Connection refused: connectIs there is difference between naming.lookup() and reg.lookup() method?
    I think Naming.lookup() finds the registry but cannot find the method logMeIn() while reg.lookup() has no success.
    anyway why the connection is refused?

    The argument to Naming.bind()/rebind()/unbind() and Naming.lookup() is a URI of the form rmi://hostname[:port]/path.
    The argument to Registry.bind()/rebind()/unbind() and Registry.lookup() is just the path part.
    The data returned by Naming.list() is an array of URIs.
    The data returned by Registry.list() is an array of paths.
    In other words Naming.list() returns items which can be used as arguments to Naming.lookup(), and Registry.list() returns items which can be used as arguments to Registry.lookup().
    The reason is that when you construct a Registry, via LocateRegistry.getRegistry(), you supply the host and port at that point, so specifying it again in the bind/lookup string would be redundant. There's nothing stopping you doing that but the resulting name won't be compatible with what Naming.bind() would have done.

  • Connection Refused Exception (imap protocol configuration in james server)

    hai if i use pop3 protocol i can read the message from the james server
    but if i use imap protocol i'm getting the exception connection refused.
    what shall i do?

    Sounds like a question to ask in the Apache James forum.
    The server doesn't seem to be set up to accept IMAP connections.

  • Java.rmi.ConnectionExceptionException:Connect refused to host

    I write a rmi,when server and client runs in the same machine,it runs ok,then I run them in two machines,server runs in 192.168.0.1,like follows:
    C:\>rmiregistry -J-Djava.security.policy=registerit.policy
    C:\>java -Djava.rmi.dgc.leaseValue=1000 -Djava.security.policy=registery.policy RegisterIt
    Object instantiated: HelloServer[RemoteStub [ref: [endpoint:[192.168.0.1:3120](l
    ocal),objID:[0]]]]
    and it ok ,client runs in 192.168.0.2, but it raise errors:
    java -Djava.security.policy=registerit.policy HelloClient
    HelloClient exception :java.rmi.ConnectionException:Connection refused to host:192.168.0.2;nested exception is:java.net.ConnectException:Connection refused:connect
    Why? how to solve it?
    Any idea will be appreciated!
    My code is follows:
    HelloInterface.java
    public interface HelloInterface extends java.rmi.Remote{
    public String sayHello() throws java.rmi.RemoteException;
    HelloServer.java
    import java.io.*;
    import java.rmi.*;
    import java.rmi.server.*;
    import java.util.*;
    public class HelloServer extends UnicastRemoteObject implements HelloInterface{
    public HelloServer() throws RemoteException{
    super();
    public String sayHello() throws RemoteException{
    return "Hello world, the current system time is "+new Date();
    RegisterIt.java
    import java.rmi.*;
    public class RegisterIt{
    public static void main(String args[]){
    try{
    HelloServer obj=new HelloServer();
    System.out.println("Object instantiated: "+obj);
    Naming.rebind("/HelloServer",obj);
    System.out.println("HelloServer bound in registery");
    catch(Exception e){
    System.out.println(e);
    registerit.policy
    grant{
    permission java.security.AllPermission;
    HelloClient.java
    import java.rmi.*;
    public class HelloClient{
    public static void main(String args[]){
    if(System.getSecurityManager()==null){
    System.out.println("null");
    System.setSecurityManager(new RMISecurityManager());
    try{
    HelloInterface obj=(HelloInterface)Naming.lookup("/HelloServer");
    String message=obj.sayHello();
    System.out.println(message);
    catch(Exception e){
    System.out.println("HelloClient exception: "+e);
    }

    Connection refused means the server is no listening on the port that client tried to connect to. You need to look at your configuration.

  • WCS 4.0 - Error: RMI FATAL ERROR. ERROR DETAIL: Connection Refused

    Have observed the following software defect in WCS 4.0:
    When clicking on a Mac Address link in a list of client MAC addresses, the following error is displayed: "Error: RMI FATAL ERROR. ERROR DETAIL: Connection Refused". The same error occurs when clicking on the MAC address URL within a list of rogue APs.
    Is this a configuration issue or a software defect?
    For reference, the WCS/WLC configuration is as follows:
    =======================================================
    WCS Version 4.0.81.0 Base+Location
    Windows 2003 with WCS running as a service.
    Multi-processor Xeon, 8 GB of RAM.
    Two 4404 WLC controllers v4.0.179.8

    This is one to use TRACE level debugging, and a repeated process, to analyse the WCS logs for possible problem
    identification.

Maybe you are looking for

  • V3 RAZR used to sync in 10.3.9, now won't sync under 10.4.6 (iSync 2.2)

    My Cingular V3 RAZR paired and synch'd (address book and iCal events) under 10.3.9 without issue. Recently did clean install of Tiger, using Setup Assistant to transfer personal files from a FW clone. Now under 10.4.6 (iSync 2.2), iSync WILL NOT reco

  • Using iPod Hi-Fi as computer speaker with the use of an Airport

    Hello, Today I've connected my iPod Hi-Fi with an optical fibre cable on my Airport Express basestation. Airtunes works great! But... when playing a dvd/game etc. on my Mac it should be very nice if the sound comes also from the iPod Hi-Fi. I know I

  • Internal order discription in source doc

    Hi Is it possible to have the description of the internal order to appear on the source document (Cheque Payment Voucher, Cash Payment Voucher or Material Requisition Note). If so pls advice on that... Thanx. K

  • Clear settings on 7911

    How do I clear all settings to include network settings on a 7911? What information can't be cleared with this process? We are trying to use a phone for a sensitive and non-sensitive network. We need to be able to clear the phone before switching and

  • Integration of cproject with microsoft project 2003

    dear all, i want to integrate cproject with microsoft project 2003. can u send me documents related this. what are settings required for this. my email id: <b>[email protected]</b> thanks amit