Scenario :- We had issue with one of non prod environment where we are running SOA, BPM, ADF application and all of sudden we found during managed server restart, only few of the composites are loading and rest are not. While checking in logs, we dont see any error which can lead us to root cause.
After spending days on this issue, we found following argument setup helped us resolving this issue.
Solution :- setup following arguments on weblogic managed server where you are seeing this issue or on all manages server.
–XX:ReservedCodeCacheSize=512M and –XX:+UseCodeCacheFlushing.
On a 64-bit JVM the default size of this code cache is 48M. You can increase this size as per need. You can add the parameter –XX:+UseCodeCacheFlushing. The use of this parameter will instruct the JVM to attempt to clean up the code cache before it decides to shutdown the JIT compiler.
refer the below link for more details on these arguments:
The code cache does not consume heap space nor perm gen so there is no need to worry about adjusting those parameters.