Error info:
Configure Security Store:execute the following command
oracle_common\common\bin\wlst.cmd
@ $ORACLE_HOME\common\tools\configureSecurityStore.py -d
@ $DOMAIN_HOME -c IAM -m create -p <OPSS_SCHEMA_PASSWORD>
Failed to get environment, environ will be empty: (0, u‘Failed to execute
comman
d ([\‘sh\‘, \‘-c\‘, \‘env\‘]): java.io.IOException: Cannot run program "sh":
Cre
ateProcess error=2, \x8Ew\x92\u80B3\x82\uA0BD\x83t\x83@\x83‘)
Problem invoking WLST - Traceback (innermost last):
File
"C:\Users\Administrator\Desktop\Alice_setup\AliceMdw\Oracle_IDM1\common\t
@ ools\configureSecurityStore.py", line 42, in ?
File
"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul
es\jython-modules.jar\Lib/javaos$py.class", line 256, in __getitem__
File
"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul
es\jython-modules.jar\Lib/UserDict$py.class", line 14, in __getitem__
File
"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul
es\jython-modules.jar\Lib/javaos$py.class", line 256, in __getitem__
File
"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul
es\jython-modules.jar\Lib/UserDict$py.class", line 14, in __getitem__
KeyError: COMMON_COMPONENTS_HOME
Workaround:
To solve this we need to patch the jython-modules.jar. we need to go to C:\Oracle\Middleware\wlserver_10.3\common\wlst\modules and add in javashell.py "Windows Server 2012".
For example:
_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 Server 2012‘ )),
( "dos", ( ‘dos‘, ‘Windows 95‘, ‘Windows 98‘, ‘Windows ME‘ )),
( "mac", ( ‘mac‘, ‘MacOS‘, ‘Darwin‘ )),
( "None", ( ‘None‘, )),
Configure Security Store:execute the following command
oracle_common\common\bin\wlst.cmd
@ $ORACLE_HOME\common\tools\configureSecurityStore.py -d
@ $DOMAIN_HOME -c IAM -m create -p <OPSS_SCHEMA_PASSWORD>
Failed to get environment, environ will be empty: (0, u‘Failed to execute
comman
d ([\‘sh\‘, \‘-c\‘, \‘env\‘]): java.io.IOException: Cannot run program "sh":
Cre
ateProcess error=2, \x8Ew\x92\u80B3\x82\uA0BD\x83t\x83@\x83‘)
Problem invoking WLST - Traceback (innermost last):
File
"C:\Users\Administrator\Desktop\Alice_setup\AliceMdw\Oracle_IDM1\common\t
@ ools\configureSecurityStore.py", line 42, in ?
File
"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul
es\jython-modules.jar\Lib/javaos$py.class", line 256, in __getitem__
File
"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul
es\jython-modules.jar\Lib/UserDict$py.class", line 14, in __getitem__
File
"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul
es\jython-modules.jar\Lib/javaos$py.class", line 256, in __getitem__
File
"C:\Users\ADMINI~1\Desktop\ALICE_~1\AliceMdw\WLSERV~1.3\common\wlst\modul
es\jython-modules.jar\Lib/UserDict$py.class", line 14, in __getitem__
KeyError: COMMON_COMPONENTS_HOME
Workaround:
To solve this we need to patch the jython-modules.jar. we need to go to C:\Oracle\Middleware\wlserver_10.3\common\wlst\modules and add in javashell.py "Windows Server 2012".
For example:
_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 Server 2012‘ )),
( "dos", ( ‘dos‘, ‘Windows 95‘, ‘Windows 98‘, ‘Windows ME‘ )),
( "mac", ( ‘mac‘, ‘MacOS‘, ‘Darwin‘ )),
( "None", ( ‘None‘, )),