I'm trying to implement push notification in Oracle MAF (2.3.1) application. I need to deploy Push Server application on WebLogic server.
When i try to run Integrated WebLogic Server (WL-12c) from JDeveloper 12c IDE, I'm keep getting Error: ADRS_DOMAIN_PASSWORD environment variable not set.
in console log. Seeems it is not creating domain at all.
I have also attached complete Build log on below for your reference,
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 >
wlst > Initializing WebLogic Scripting Tool (WLST) ...
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: 13120 ms
I followed some steps to resolve this issue (This article is for WebLogic 11g), it didn't helped me though.
Please let me know, if you want any more details. Any help would be appreciated.!