"Initialize Failed With ODI-26138: loader constraint violation: loader [library name] previously initiated" during Hadoop Setup in ODI 12.2.1.2.6

(Doc ID 2366508.1)

Last updated on MARCH 06, 2018

Applies to:

Oracle Data Integrator - Version 12.2.1.2.6 and later
Information in this document applies to any platform.

Symptoms

On Oracle Data Integrator (ODI) Studio 12.2.1.2.6, a message similar to the following occurs during the initialization step of a Hadoop data server:

ODI-26138: Server initialization failed.
[ loader constraint violation: loader (instance of org/netbeans/modules/netbinox/NetbinoxLoader) previously initiated loading for a different type with name "javax/ws/rs/core/MediaType" ]

A more detailed error is in the log file:

ODI-26138 Server initialization failed
See the following error:
java.lang.LinkageError: loader constraint violation: loader (instance of org/netbeans/modules/netbinox/NetbinoxLoader) previously initiated loading for a different type with name "javax/ws/rs/core/MediaType"
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
  at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClassHoldingLock(ClasspathManager.java:638)
  at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:613)
  at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:574)
  at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:492) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:465)
  at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
  at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
  at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)
  at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
  at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
  ...

A test of the connection to the data server is successful.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms