SOA B2B - Fix - Error loading XEngine libraries. XEngine is most likely not installed

If you have done a new Oracle B2B install you may see this error:

"Error loading XEngine libraries. XEngine is most likely not installed"

Resolution:

Make sure this directory exists:
          $SOA_HOME/soa/thirdparty/edifecs/XEngine/bin

If not install oracle b2b (seperate jar file than SOA)

If the directory exists, execute the following:

          $DOMAIN_HOME/base_domain/bin/setDomainEnv.sh

You should see somethig like this:

LD_LIBRARY_PATH=$SOA_HOME/soa/thirdparty/edifecs/XEngine/bin

Note: The above line is an edited version, look for the highligted parts.

If you cant see that then make sure the above is set in setSOADomainEnv.sh file.

If the above exist, run the following:

$ldd /u01/app/oracle/middleware/soa/soa/thirdparty/edifecs/XEngine/bin/libXEngine.so

You should see output something like this:

-bash-4.1$ ldd /u01/app/oracle/middleware/soa/soa/thirdparty/edifecs/XEngine/bin/libXEngine.so
        linux-vdso.so.1 =>  (0x00007ffc327f6000)
        libecCommon.so => not found
        libJniCommon.so => not found
        libace.so => not found
        libxerces-c-3.1.so => not found
        libECRSSvr.so => not found
        libUPathSvr.so => not found
        libStandardsRegSvr.so => not found
        libXEResource.so => not found
        libXEKernel.so => not found
        libXEObjects.so => not found
        libMapperCommon.so => not found
        libMapObjectModel.so => not found
        libXEFramework.so => not found
        libstdc++.so.5 => /usr/lib64/libstdc++.so.5 (0x00007f0abb616000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f0abb392000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f0abb17c000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f0abade7000)
        /lib64/ld-linux-x86-64.so.2 (0x000055cbd9fff000)


Look for the lines highligted in bold. They should exist in /usr. If not install these. From my experience you will most likely be missing libstdc++.so.5

Restart weblogic server. This should sort out the issue.



Comments