ODI 11g snippets: Could not locate osal.dll

March 15, 2011

Get our e-books Discover the Oracle Data Integrator 11g Repository Data Model and Oracle Data Integrator Snippets and Recipes
You get this error when starting the agent in ODI 11g using the jrockit SDK and you have ODI 10g installed.
In odiparams.bat, ODI_JAVA_HOME points to jrockit JDK
set ODI_JAVA_HOME=D:oracleproductMiddlewareOracle_ODI1jrockit-jdk1.6.0_17
and the agent is expecting to find osal.dll in the location specified for the JDK.
However, if you also have ODI 10g installed and the ODI_JAVA_HOME environment variable set, the environment variable will override what you have in odiparams.bat and the agent can’t find osal.dll.
Solution: Resolve the conflict, e.g. by setting ODI_JAVA_HOME in odiparams.bat to the Sun JDK.
set ODI_JAVA_HOME=C:Program FilesJavajdk1.6.0_18