WebLogic 12c - Error: ADRS_DOMAIN_PASSWORD environment variable not set

核能气质少年 提交于 2019-12-06 11:12:39

As Mr.Hitham told, it is an bug for windows 10 version if you have upgraded recently.

Cause

Weblogic jython libraries do not recognize the operating system.

Solution

Oracle generated the patch 22138883. This patch fixes the problem ...

You could follow the steps as below (Added all the steps since I have seen may of the post reference links are missing or removed from corresponding sites),

Steps to follow:

  1. Copy jython-modules.jar file from "\WL_Home\wlserver\common\wlst\modules*" as a backup.
  2. Unzip it (Use Winrar, 7-zip., etc)
  3. Open javashell.py file in editor from unzipped folder "Eg:\WL_Home\wlserver\common\wlst\modules\jython-modules\Lib"
  4. Search for the following text "_osTypeMap".

    _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 Server 2012')),
    ( "dos", ( 'dos', 'Windows 95', 'Windows 98', 'Windows ME' )),
    ( "mac", ( 'mac', 'MacOS', 'Darwin' )),
    ( "None", ( 'None', )),
    )
    
  5. Add 'Windows 10' next to the 'Windows Server 2012' as mentioned below,

    _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 Server 2012','Windows 10')),
    ( "dos", ( 'dos', 'Windows 95', 'Windows 98', 'Windows ME' )),
    ( "mac", ( 'mac', 'MacOS', 'Darwin' )),
    ( "None", ( 'None', )),
    )
    
  6. Open the command prompt mostly in admin mode, then execute the command jar –cvf jython-modules.jar * as show in image below (Make sure your jdk path shouldn't have any space, I have faced issue so just copied complete jdk fodler into C-Drive),

  7. Copy the latest jar file which is generated in "WL_HOME\wlserver\common\wlst\modules\jython-modules" into "WL_HOME\wlserver\common\wlst\modules".

  8. Now start the IntegratedWebLogicServer from yout JDeveloper. It will create based on new domain credentials and you could able to access the server console after successful creation of domain.

For any more reference, please check below links.

Hope this helps some one.! Thanks.!

Cause

Weblogic jython libraries do not recognize the operating system.

Solution

Oracle generated the patch 22138883. This patch fixes the problem ...

Source: http://archlogs.com/en/development/windows10-soa-12-c-quickstart-integrated-environment-does-not-start/

I found the issue, the steps which was mentioned in the document was correct. But, instead of 'Windows 10' they have mentioned as '10 Windows'.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!