[JNBException] - ErrorPluginFailedToLoad - NoClassDefFound

 

Problem Description:


DataSplice cannot load one or more required Maximo class files.

 

Common Causes:

  • Incorrect JavaClasspath setting.
  • DataSplice does not have access or permission to .jar/.class file.
  • Maximo and DataSplice have different versions of .jar/.class files.

 

Fixes:

  • Copy Maximo's current class files from the Maximo server to the DataSplice server (recommended).  Or, verify DataSplice server has network access to reach Maximo classes over the network.
  • Verify all necessary class/jar files are accounted for.http://docs.datasplice.com/display/DOC/Configuring+the+Maximo+Integration+Plugin
  • Update the JavaClasspath setting to point to the current class files. Check for typing mistakes.

 

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


ErrorPluginFailedToLoad
ErrorInitializingJavaInterfaceToMaximo
DataSplicePluginForMaximoStatus = JavaErrors
JavaStatus = ErrorJavaNotLoadedRequiresServerRestart
JavaStatusDetails
MaximoProxy.Java.JavaInvocationException : Basic Information:
  Exception of type 'com.jnbridge.jnbcore.JNBException' was thrown.
Error Details:
  Exception Type: MaximoProxy.Java.JavaInvocationException
  Java method invocation exception. Method: getString ()
JNBridgeDotNetStackTrace:
  at com.jnbridge.jnbproxy.ExceptionFactory.throwException(JNBException e, Hashtable objMap)\r\n  at java.lang.reflect.Method.invoke(Object p1, Object[] p2)\r\n  at MaximoProxy.Java.JavaObjectBinding.Invoke(String methodName, MethodLookupStyle lookupStyle, Object[] parameters)
JNBridgeDotNetExceptions:
  \r\njava.lang.reflect.InvocationTargetException: Exception of type 'com.jnbridge.jnbcore.JNBException' was thrown.
JavaStackTrace:
  java.lang.reflect.InvocationTargetException\r\n  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n  at java.lang.reflect.Method.invoke(Unknown Source)\r\n  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n  at java.lang.reflect.Method.invoke(Unknown Source)\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.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar\r\n  at psdi.server.CronTaskManager.<init>(CronTaskManager.java:171)\r\n  at psdi.server.CronTaskManager.<init>(CronTaskManager.java:493)\r\n  at psdi.server.MXServer.<init>(MXServer.java:492)\r\n  at psdi.server.MXServer.getMXServer(MXServer.java:503)\r\n  at psdi.util.Version.getString(Version.java:271)\r\n  ... 12 more\r\nCaused by: java.lang.ClassNotFoundException: com.ibm.icu.util.Calendar\r\n  at java.net.URLClassLoader$1.run(Unknown Source)\r\n  at java.net.URLClassLoader$1.run(Unknown Source)\r\n  at java.security.AccessController.doPrivileged(Native Method)\r\n  at java.net.URLClassLoader.findClass(Unknown Source)\r\n  at java.lang.ClassLoader.loadClass(Unknown Source)\r\n  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)\r\n  at java.lang.ClassLoader.loadClass(Unknown Source)\r\n  ... 17 more
JavaExceptions:
  \r\njava.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar
  \r\njava.lang.reflect.InvocationTargetException:
Stack Trace:
  .NET-side stack trace:\n\n  at com.jnbridge.jnbproxy.ExceptionFactory.throwException(JNBException e, Hashtable objMap)\r\n  at java.lang.reflect.Method.invoke(Object p1, Object[] p2)\r\n  at MaximoProxy.Java.JavaObjectBinding.Invoke(String methodName, MethodLookupStyle lookupStyle, Object[] parameters)\n\nJava-side stack trace:\n\njava.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\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.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar\r\n\tat psdi.server.CronTaskManager.<init>(CronTaskManager.java:171)\r\n\tat psdi.server.CronTaskManager.<init>(CronTaskManager.java:493)\r\n\tat psdi.server.MXServer.<init>(MXServer.java:492)\r\n\tat psdi.server.MXServer.getMXServer(MXServer.java:503)\r\n\tat psdi.util.Version.getString(Version.java:271)\r\n\t... 12 more\r\nCaused by: java.lang.ClassNotFoundException: com.ibm.icu.util.Calendar\r\n\tat java.net.URLClassLoader$1.run(Unknown Source)\r\n\tat java.net.URLClassLoader$1.run(Unknown Source)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(Unknown Source)\r\n\tat java.lang.ClassLoader.loadClass(Unknown Source)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)\r\n\tat java.lang.ClassLoader.loadClass(Unknown Source)\r\n\t... 17 more\r\n


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