Monday, August 18, 2014

OIM 11g R2 PS2 - Windows 8 Installation Issue

If your installation of Oracle Identity and Access Management 11g R2 PS2 (11.1.2.2.0) is failing while running the WebLogic Domain Configration Wizard Step then the fix for that is below.

Please change the paths as per your system.

C:\Oracle\Middleware\wlserver_10.3\common\wlst\modules\jython-modules.jar

unjar the file

jar -xvf jython-modules.jar

Modify the file
C:\Oracle\Middleware\wlserver_10.3\common\wlst\modules\Lib\javashell.py

Add ,'Windows 8' at the end.


  _osTypeMap = (
        ( "nt", ( 'nt', 'Windows NT', 'Windows NT 4.0', 'WindowsNT',
                  'Windows 2000', 'Windows 2003', 'Windows XP', 'Windows CE',
                  'Windows Vista', 'Windows Server 2008', 'Windows 7','Windows 8' )),
        ( "dos", ( 'dos', 'Windows 95', 'Windows 98', 'Windows ME' )),
        ( "mac", ( 'mac', 'MacOS', 'Darwin' )),
        ( "None", ( 'None', )),
        )

Update the jar back

jar -uvf jython-modules.jar Lib\javashell.py