Thursday, 10 January 2019

IBM Connections 6 - Profiles population - i4clntjni (Not found in java.library.path)

ibmdi.log


ERROR [com.ibm.di.loader.ServerLauncher] - CTGDKG023E Error while starting main class.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:613)
at com.ibm.di.loader.ServerLauncher.startServer(ServerLauncher.java:173)
at com.ibm.di.loader.ServerLauncher.main(ServerLauncher.java:79)
Caused by: java.lang.UnsatisfiedLinkError: i4clntjni (Not found in java.library.path)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1197)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:1161)
at java.lang.System.loadLibrary(System.java:527)
at com.ibm.LUMClient.LumCoreClient.(LumCoreClient.java:32)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:236)
at com.ibm.LUMClient.LumClient.setOption(LumClient.java:254)
at com.ibm.di.server.RS.checkLUM(RS.java:3574)
at com.ibm.di.server.RS.main(RS.java:589)
... 6 more

SOLUTION
Packages must be installed.
i4clntjni is part of  compat-libstdc++-33.x86_64

glibc.x86_64 \
compat-libstdc++-33.x86_64 \
nss-softokn.x86_64 \
libXpm.x86_64 \
libXtst.x86_64 \
gtk2.x86_64 \
libcanberra-gtk2 \
gtk2 won't be required if you are on a non-terminal system.


********************************************************
CHECK
yum list installed | grep compat-libstdc
compat-libstdc++-33.i686            3.2.3-72.el7                   installed

compat-libstdc++-33.x86_64          3.2.3-72.el7                   installed

If compat-libstdc++-33.x86_64 is missing:

  1. Uninstall TDI with standard TDI uninstaller
  2. Restart machine
  3. Remove TDI folder. For example: rm -rf /opt/IBM/TDI
  4. yum install compat-libstdc++-33-3.2.3-72.el7.x86_64.rpm (you have to download rpm package)
  5. yum list installed | grep compat-libstdc *check result
  6. Install TDI including latest fixes
  7. Try it again
*If you install compat-libstdc without removing TDI, you will receive licence error message. TDI removal before installing compat-libstdc is a must.