Thursday, August 11, 2011

Fix for memory leak in JSF applications: oracle.jrf.EnableAppContextInit

I experienced a memory leak breaking my SOA Suite when doing a BPM implementation including some task flows. This seems to be caused by the weblogic classloader on redeployment of JSF pages. The Release notes for Fusion Middleware 11g R1 are offering a solution for this in a chapter "Deploying JSF Applications", hardest thing was to find it ;-):

Set oracle.jrf.EnableAppContextInit system property to true.

Practically, this means to add a java parameter -Doracle.jrf.EnableAppContextInit=true to the weblogic/SOA startup scripts (e.g. in setSOADomainInv.cmd/sh).

No comments:

Post a Comment