title: WebLogic 12c - Error: ADRS_DOMAIN_PASSWORD environment variable not set
body: <p>I'm trying to implement push notification in Oracle MAF (2.3.1) application. I need to deploy Push Server application on WebLogic server. </p>
  
  <p>When i try to run <strong>Integrated WebLogic Server (WL-12c)</strong> from <strong>JDeveloper 12c IDE</strong>, I'm keep getting <code>Error:  ADRS_DOMAIN_PASSWORD environment variable not set.</code> in console log. Seeems it is not creating domain at all.</p>
  
  <p>I have also attached complete Build log on below for your reference,</p>
  
  <pre><code>Adding environment variable to WLST script USER_MEM_ARGS = -Xms32m -Xmx1024m -XX:MaxPermSize=384m
  Log File:      C:\Users\admin\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee.adrs\BuildDefaultDomain.log
  Label:         JDEVADF_MAIN_GENERIC_151011.0031.S
  Product Home:  C:\oracle\Oracle_JDev_Home\jdeveloper\jdev\
  Domain:        C:\Users\admin\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\DefaultDomain
  
  BuildDefaultDomain1.py      2016-11-24 13:01:43
  
  cmd.exe /c ""C:\oracle\Oracle_JDev_Home\oracle_common\common\bin\wlst.cmd" "C:\Users\admin\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee.adrs\BuildDefaultDomain1.py""
  Process started
  wlst &gt; 
  wlst &gt; Initializing WebLogic Scripting Tool (WLST) ...
  wlst &gt; 
  wlst &gt; Welcome to WebLogic Server Administration Scripting Shell
  wlst &gt; 
  wlst &gt; Type help() for help on available commands
  wlst &gt; 
  wlst &gt; 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 &gt; Error:  ADRS_DOMAIN_PASSWORD environment variable not set.
  wlst &gt; 
  wlst &gt; 
  wlst &gt; Exiting WebLogic Scripting Tool.
  wlst &gt; 
  wlst &gt; Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
  Elapsed time:  13120 ms
  </code></pre>
  
  <p>I followed some steps to resolve this issue (<a href="http://www.techartifact.com/blogs/2013/07/error-while-deploying-adf-application-into-weblogic-server-11g.html#sthash.VTXPBp7N.orIcJDtO.dpbs" rel="noreferrer">This article is for WebLogic 11g</a>), it didn't helped me though.</p>
  
  <p>Please let me know, if you want any more details. Any help would be appreciated.!</p>