oracle-maf

thread safe LinkedHashMap without Collections.synchronized

拥有回忆 提交于 2019-12-06 13:09:54
I am using a LinkedHashMap and the environment is multi threaded so this structure needs to be thread safe. During specific events I need to read the entire map push to db and clear all. Most of time only writes happen to this map. This map has a limit 50 entries. I am using Oracle MAF and it does not have Collections.syncronizedMap available. So, what are things I need to put in synchronized blocks to make sure writing and reading doesn't hit me concurrentModificationException etc Few requirements: I need to behave it like a circular queue so Overriding removeEldestEntry method of the

WebLogic 12c - Error: ADRS_DOMAIN_PASSWORD environment variable not set

核能气质少年 提交于 2019-12-06 11:12:39
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