[JNBException] - systemnotboundexception: NotBoundException - Instance not in RMI registry


Problem Description:


The DataSplice Maximo plugin's "MaximoServer" property refers to an RMI object that cannot be found in the Maximo RMI registry.

  

In the below stacktrace, the Maximo plugin is attempting to connect to localhost:13400/MAXIMOUI3 but only the object MXServer is found.  As a result, the correct connection string would be "localhost:13400/MXServer."


Common Causes:

  • DataSplice Maximo Plugin
    • "MaximoServer" property is referencing an invalid RMI object
  • Desired Maximo instance
    • is not configured to connect to the provided RMI Registry
    • is not running
    • started before the registry host started
    • was ejected from the registry


Fixes:

  • If you have verified that the Maximo instance is configured to use this registry, the solution is to simply restart the Maximo instance so it will join the RMI registry.


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


MaximoVersionTivoli's process automation engine 7.5.0.5-IFIX20140301-0800 Build 20130903-1504 DB Build V7505-43 HFDB Build HF7505-06 [majorVersion = 7]

DataSplicePluginForMaximoStatus = RmiError

JavaStatus = Ok

RmiStatus = MaximoLoginFailed

RmiStatusDetails

Test RMI at 11/18/2016 8:13:46 AM

RMI host = localhost port = 13400 searching for object name = MaximoUI3

 List RMI Registry:

 found RMI object = MXServer

Basic Information:

 systemnotboundexception

Error Details:

 Exception Type: MaximoProxy.Java.JavaInvocationException

Java method invocation exception. Method: connect ()
JNBridgeDotNetStackTrace:

  at com.jnbridge.jnbproxy.ExceptionFactory.throwException(JNBException e, Hashtable objMap)   
  at java.lang.reflect.Method.invoke(Object p1, Object[] p2)   
  at MaximoProxy.Java.JavaObjectBinding.Invoke(String methodName, MethodLookupStyle lookupStyle, Object[] parameters)

JNBridgeDotNetExceptions:

 java.lang.reflect.InvocationTargetException: Exception of type 'com.jnbridge.jnbcore.JNBException' was thrown.

JavaStackTrace:

  java.lang.reflect.InvocationTargetException   
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)   
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)   
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)   
  at java.lang.reflect.Method.invoke(Method.java:611)   
  at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)   
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)   
  at java.lang.reflect.Method.invoke(Method.java:611)   
  at com.jnbridge.jnbcore.JNBDispatcher.objectVirtualCall(Unknown Source)   
  at com.jnbridge.jnbcore.JNBDispatcher.call(Unknown Source)   
  at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.a(Unknown Source)   
  at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.handleRequest(Unknown Source)
  Caused by: psdi.util.MXSystemException: systemnotboundexception 
  at psdi.util.RMISession.connect(RMISession.java:102)   ... 11 more 
  Caused by: java.rmi.NotBoundException: MaximoUI3 
  at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:118)   
  at sun.rmi.registry.RegistryImpl_Skel.dispatch(RegistryImpl_Skel.java:81)   
  at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:403)   
  at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)   
  at sun.rmi.transport.Transport$1.run(Transport.java:171)   
  at java.security.AccessController.doPrivileged(AccessController.java:284)   
  at sun.rmi.transport.Transport.serviceCall(Transport.java:167)   
  at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)   
  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)   
  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)   
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)   
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)   
  at java.lang.Thread.run(Thread.java:736)   
  at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:267)   
  at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:245)   
  at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:371)   
  at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:96)   
  at java.rmi.Naming.lookup(Naming.java:95)   
  at psdi.util.RMISession.getMXServer(RMISession.java:253)   
  at psdi.util.RMISession.connect(RMISession.java:56)   ... 11 more

JavaExceptions:

 psdi.util.MXSystemException: systemnotboundexception

 java.rmi.NotBoundException: MaximoUI3


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 he