integrated weblogic cant create domain in Jdeveloper 11g release 2
platform: windows 8 64bit
jdk version: jdk6_34
Log:
wlst >
wlst > Failed to get environment, environ will be empty: (0, ‘Failed to execute command ([\’sh\’, \’-c\’, \’env\’]): java.io.IOException: Cannot run program “sh”: CreateProcess error=2, The system cannot find the file specified’)
wlst > Error: ADRS_DOMAIN_PASSWORD environment variable not set.
Reason: weblogic script wrongly identify OS platform, and use unix script which causing the problem.
Solution: patch jython-modules.jar in weblogic @ Middleware\wlserver_10.3\common\wlst\modules
step:
1. extract the jar
2. add new OS name at line 139 of file: javashell.py inside [lib]
eg. _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’, ‘Windows_NT’ )),
reference :
http://www.oracle.com/technetwork/developer-tools/jdev/knownissues-097654.html#dep1
http://unversioned.blogspot.com/2012/12/jdevelopers-integrated-weblogic-on.html
Can anyone provide me the updated javashell.py file?
Thanks in advanced.