2 Replies Latest reply on Sep 25, 2016 4:35 PM by Martien van den Akker

    ADRS_DOMAIN_PASSWORD environment variable not set


      I am new to SOA and trying to install SOA Suite 12.2.1 quick start. I have installed the JDeveloper on Windows10 but hitting an issue while I try to start the server (Integrated Web logic Server). The below is the error message:


      Adding environment variable to WLST script USER_MEM_ARGS = -Xms32m -Xmx1024m -XX:MaxPermSize=384m
      Log File:      C:\Users\Safeeq\AppData\Roaming\JDeveloper\system12.\o.j2ee.adrs\BuildDefaultDomain.log
      Label:         JDEVADF_MAIN_GENERIC_151011.0031.S
      Product Home:  C:\Oracle\Middleware\Oracle_Home\jdeveloper\jdev\
      Domain:        C:\Users\user_name\AppData\Roaming\JDeveloper\system12.\DefaultDomain
      BuildDefaultDomain1.py      2016-09-24 19:58:00
      cmd.exe /c ""C:\Oracle\Middleware\Oracle_Home\oracle_common\common\bin\wlst.cmd" "C:\Users\Safeeq\AppData\Roaming\JDeveloper\system12.\o.j2ee.adrs\BuildDefaultDomain1.py""
      Process started
      wlst > 
      wlst > Initializing WebLogic Scripting Tool (WLST) ...
      wlst > 
      wlst > Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
      wlst > 
      wlst > Welcome to WebLogic Server Administration Scripting Shell
      wlst > 
      wlst > Type help() for help on available commands
      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.
      wlst > 
      wlst > 
      wlst > Exiting WebLogic Scripting Tool.
      wlst > 
      wlst > Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
      Elapsed time:  71996 ms


      I understand there is a patch 22138883 recommended by Oracle to resolve the issue but not sure how to apply the patch. I did refer to the below link but not sure how to remove the jar file and how to locate jython-modules.jar file.