This is the list of the parameters are considered to improve performance:
Parameters
|
Value
|
org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS
|
3
|
org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION
|
FALSE
|
org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION
|
FALSE
|
oracle.adf.view.rich.pprNavigation.OPTIONS
|
onWithForcePPR
|
org.apache.myfaces.trinidad.COMPRESS_VIEW_STATE
|
on
|
oracle.adf.view.rich.versionString.HIDDEN
|
TRUE
|
org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT
|
FALSE
|
javax.faces.STATE_SAVING_METHOD
|
client
|
oracle.adf.view.rich.libraryPartitioning.ENABLED
|
TRUE
|
org.apache.myfaces.trinidad.resource.DEBUG
|
FALSE
|
oracle.adf.view.rich.ASSERT_ENABLED
|
FALSE
|
org.apache.myfaces.trinidad.CACHE_VIEW_ROOT
|
TRUE
|
Steps to edit web.xml file
- Navigate to your Oracle WebCenter Portal home directory, usually something like /u01/app/oracle/product/fmw/Oracle_WC1
- Open the Spaces EAR file:
- mkdir -p /tmp/my_ear
- cd /tmp/my_ear
- jar -xvf $WEBCENTER_HOME/archives/applications/webcenter.ear
- mkdir war
- cd war
- jar -xvf ../spaces.war
- Edit WEB-INF/web.xml and save the changes.
- Create a modified .EAR file with the required web.xml properties.
- cd /tmp/my_ear/war
- jar -cvf ../spaces.war *
- cd ..
- rm -rf war
- jar -cvf ../webcenter.ear *
- Backup $WEBCENTER_HOME/archives/applications/webcenter.ear
- Copy /tmp/webcenter.ear to $WEBCENTER_HOME/archives/applications/webcenter.ear.
- In case of cluster environment repeat step 1-17 on all the nodes.
- Restart all WC_Spaces managed servers.
Future WebCenter Spaces patches will overwrite this configuration change, so you must remember to repeat such configuration changes after patching, that is, you must obtain the latest
webcenter.ear
file and repeat these steps.
Hope you find this useful,
Emilio
Emilio
No comments:
Post a Comment