[JNBException] - NoRmiRegistryFound - Connection Refused


Problem Description:

 

DataSplice is unable to locate an RMI registry on the URL provided in the MaximoServer setting.


Common Causes:


  • Connection timed out (IP cannot be reached or is invalid).
  • Connection refused (Incorrect port or RMI registry not running).


Fixes:


  •  Verify the RMI registry host is running.
  •  Work with networking personnel to verify the IP and port of the RMI registry and open communication between the Maximo instance and DataSplice server.


Example Error Logs & Stack Trace (../Server/logs):


DataSplicePluginForMaximoStatus = RmiError
JavaStatus = Ok
RmiStatus = NoRmiRegistryFound
RmiStatusDetails
MaximoProxy.Errors.MaximoPluginException: Basic Information:
  Connection refused to host: 123.45.67.89; nested exception is: \n\tjava.net.ConnectException: Connection refused: connect
Error Details:
  Exception Type: MaximoProxy.Errors.MaximoPluginException
JNBridgeDotNetStackTrace:
  at com.jnbridge.jnbproxy.ExceptionFactory.throwException(JNBException e, Hashtable objMap)\r\n  at sun.rmi.registry.RegistryImpl_Stub.list()\r\n  at MaximoProxy.Plugin.MaximoPlugin.TestConnection()
JNBridgeDotNetExceptions:
  \r\njava.rmi.ConnectException: Connection refused to host: 123.45.67.89; nested exception is: \n\tjava.net.ConnectException: Connection refused: connect
JavaStackTrace:
  java.rmi.ConnectException: Connection refused to host: 123.45.67.89; nested exception is: \n  java.net.ConnectException: Connection refused: connect\r\n  at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)\r\n  at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:210)\r\n  at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196)\r\n  at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:334)\r\n  at sun.rmi.registry.RegistryImpl_Stub.list(RegistryImpl_Stub.java:61)\r\n  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)\r\n  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)\r\n  at java.lang.reflect.Method.invoke(Method.java:611)\r\n  at com.jnbridge.jnbcore.JNBDispatcher.objectVirtualCall(Unknown Source)\r\n  at com.jnbridge.jnbcore.JNBDispatcher.call(Unknown Source)\r\n  at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.a(Unknown Source)\r\n  at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.handleRequest(Unknown Source)\r\nCaused by: java.net.ConnectException: Connection refused: connect\r\n  at java.net.PlainSocketImpl.socketConnect(Native Method)\r\n  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:381)\r\n  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:243)\r\n  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:230)\r\n  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)\r\n  at java.net.Socket.connect(Socket.java:539)\r\n  at java.net.Socket.connect(Socket.java:488)\r\n  at java.net.Socket.<init>(Socket.java:385)\r\n  at java.net.Socket.<init>(Socket.java:199)\r\n  at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:34)\r\n  at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:140)\r\n  at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:607)\r\n  ... 12 more
JavaExceptions:
  \r\njava.net.ConnectException: Connection refused: connect
  \r\njava.rmi.ConnectException: Connection refused to host: 123.45.67.89; nested exception is: \n\tjava.net.ConnectException: Connection refused: connect
Stack Trace:
  .NET-side stack trace:\n\n  at com.jnbridge.jnbproxy.ExceptionFactory.throwException(JNBException e, Hashtable objMap)\r\n  at sun.rmi.registry.RegistryImpl_Stub.list()\r\n  at MaximoProxy.Plugin.MaximoPlugin.TestConnection()\n\nJava-side stack trace:\n\njava.rmi.ConnectException: Connection refused to host: 123.45.67.89; nested exception is: \n\tjava.net.ConnectException: Connection refused: connect\r\n\tat sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)\r\n\tat sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:210)\r\n\tat sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196)\r\n\tat sun.rmi.server.UnicastRef.newCall(UnicastRef.java:334)\r\n\tat sun.rmi.registry.RegistryImpl_Stub.list(RegistryImpl_Stub.java:61)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)\r\n\tat java.lang.reflect.Method.invoke(Method.java:611)\r\n\tat com.jnbridge.jnbcore.JNBDispatcher.objectVirtualCall(Unknown Source)\r\n\tat com.jnbridge.jnbcore.JNBDispatcher.call(Unknown Source)\r\n\tat com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.a(Unknown Source)\r\n\tat com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.handleRequest(Unknown Source)\r\nCaused by: java.net.ConnectException: Connection refused: connect\r\n\tat java.net.PlainSocketImpl.socketConnect(Native Method)\r\n\tat java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:381)\r\n\tat java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:243)\r\n\tat java.net.PlainSocketImpl.connect(PlainSocketImpl.java:230)\r\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)\r\n\tat java.net.Socket.connect(Socket.java:539)\r\n\tat java.net.Socket.connect(Socket.java:488)\r\n\tat java.net.Socket.<init>(Socket.java:385)\r\n\tat java.net.Socket.<init>(Socket.java:199)\r\n\tat sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:34)\r\n\tat sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:140)\r\n\tat sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:607)\r\n\t... 12 more\r\n
Test RMI at 11/1/2016 10:17:06 AM
RMI host = 123.45.67.89 port = 13400 searching for object name = UIServer1
  List RMI Registry:

ADO.NET Database connection using connection profile = maximo
Database connection Ok



For additional assistance please email support@datasplice.com and we'd be happy to help!