Recently we were forced to re-install Oracle Developer suite 10g (10.1.2.0.2) and came across a peculiar error and the installation log out file had the following entries
0102030405060708091011OiilNativeException is thrownOiilNativeException is thrownOiilNativeException is thrownOiilNativeException is thrownOiilNativeException is thrownpath: C:\Users\rthampi\AppData\Local\Temp\OraInstall2013-04-28_08-56-48AM\jre\1.4.2\bin;.;C:\Windows\system32;C:\Windows;D:\oracle\product\10.2.0\db_1\bin;D:\WLS\Middleware\Oracle_FRHome1\bin;C:\orant\bin;C:\orant\jdk\bin;D:\WebLogic\Middleware\Oracle_FRHome1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Windows Live\Shared;C:\Windows\System32\Windows System Resource Manager\bin;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files (x86)\QuickTime\QTSystem\;D:\WLS\Middleware\Oracle_FRHome1\opmn\bin;D:\WLS\Middleware\Oracle_FRHome1\opmn\lib;D:\WLS\Middleware\Oracle_FRHome1\perl\bin;D:\WebLogic\Middleware\Oracle_FRHome1\opmn\bin;D:\WebLogic\Middleware\Oracle_FRHome1\opmn\lib;D:\WebLogic\Middleware\Oracle_FRHome1\perl\bintoload is C:\Users\rthampi\AppData\Local\Temp\OraInstall2013-04-28_08-56-48AM\WindowsGPortQueries.dll
and by the end of install log file we were able to see that, the installation was terminated while trying to setup LD_LIBRARY_PATH environment variable
12345678910111213141516171819202122232425oracleHomes = C:\orant,D:\DevSuiteHome_1,D:\Oracle\Middleware\oracle_common,D:\oracle\product\10.2.0\db_1,D:\WLS\Middleware\oracle_common,D:\Weblogic\Middleware\oracle_common,D:\WebLogic\Middleware\Oracle_FRHome1,D:\DevSuiteHome_2,configurationPath = D:\DevSuiteHome_2\j2ee\DevSuite\config\default-web-site.xmlattributeName = portUDPFlag = nullQuery Returned: 8892Setting variable 's_httpPort' to '8892'. Received the value from the variable calculation.*** Entering Component: oracle.developer.forms.builder installationCalling Query generalQueries10.1.0.3.0 getOSNameQuery Returned: NT_X86Setting variable 'SO_EXT' to 'so'. Received the value from the variable calculation.Calling Query generalQueries10.1.0.3.0 getOSNameQuery Returned: NT_X86Setting variable 'PROD_LIBDIR' to 'lib'. Received the value from the variable calculation.Calling Query generalQueries10.1.0.3.0 getOSNameQuery Returned: NT_X86Setting variable 'OS_CHECK' to 'NT_X86'. Received the value from the variable calculation.Calling Query generalQueries10.1.0.3.0 getOSNameQuery Returned: NT_X86Setting variable 'OHOME_LIBDIR' to 'lib'. Received the value from the variable calculation.Calling Query generalQueries10.1.0.3.0 getenvname = LD_LIBRARY_PATH
Obvious, we had an installation for Oracle Weblogic Server 10.3.6 and Oracle developer suite 11g which were done much later stages, and the Environment was setup with a static entry for LD_LIBRARY_PATH=D:\WebLogic\Middleware\Oracle_FRHome1\lib;D:\instantclient32
During the installation time, the installer was trying to setup the LD_LIBRARY_PATH variable for sourcing the required files/other components, and failing to setup the same was causing an unexpected error and thus the entire installation failing without producing any specific error within the log file, other than the .out file stating an exception towards “OiilNativeException “
Workaround
Copy the LD_LIBRARY_PATH value to a text file and delete the environment variable after stopping Weblogic services.
Restart the computer and try to install your product. This should solve the dreaded issues with installation.
Tested environment: Windows 8 64Bit Professional edition running Oracle database 10g 10.2.0.3, Oracle weblogic server 10.3.6, Oracle developer suite 11g
No comments:
Post a Comment