Demantra Engine Error--Failed to load libraries required by the engine manager. Mixed 32 or 64 bit Sourcing Environment, Engine and Weblogic , 12.2.4.1 + (Doc ID 1963287.1)

Last updated on MAY 18, 2015

Applies to:

Oracle Demantra Demand Management - Version 12.2.4.1 and later
Information in this document applies to any platform.

Goal

Customer is on 12.2.4.1, uses 64 bit Java 1.6.0_45 and has 2 engine deployment on the same 64 bit linux box and weblogic application
They have a 64 bit deployment at weblogic domain:
u01/app/oracle/FMW/user_projects/domains/demantra

engine deployed is at:
u01/app/oracle/DemEngine_pocvvp

The 32 bit weblogic domain is:
u01/app/oracle/WLS_32/user_projects/domains/dae


engine deployed:
u01/app/oracle/WLS_32/application

Both these deployment share the same demantra schema

The environment variables for both these instances are set in the EngineStarter.sh so that when the engine Stater is started, it sources that environment. However if you do echo $ENGINE_ROOT on the linux server it points to u01/app/oracle
You need to manually source the .bash_profile file to source to the right environment.

Their 32 bit engine runs fine. But when they run the 64 bit engine ( after changed the enginebaseURL to point to the 64 bit managed console port and bouncing and restarting the engineStarter, it fails with:

Failed to load libraries required by the engine manager. Please see EngineManagerPreRunLog.txt file for details

The diagnostic steps also fail with Error 500--Internal Server Error

Is this kind of configuration supported where they can deploy 32 bit and 64 bit weblogic and hence engine on the same server, with both the instances connecting to the same Demantra schema

As per EngineManagerPreRunTxt.log it cannot environment variables. Is it due to the fact that the environment variables are defined in the engineStarter. They also have defined the same on .bash_profile too. But seems like for some reason the engine is not picking it
 

Solution

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