Performance Tuning Guide
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
One of the key things you can do to ensure good performance for your web application is to design appropriately, see Designing Portals for Optimal Performance for hints and tips that will increase performance.
This chapter covers a few configuration settings and key areas that can be optimized according to your needs and includes the following sections:
Portal web applications use a control tree to cache and access different functionality. For example, portals use controls to access desktops, windows, books, pages, portlets, and menus. With WebLogic Portal 8.1 SP4 and higher, users creating complex portals that require a large number of controls, tree optimization is the easiest way to ensure optimal portal performance. Controls that are not active in the current portal instance are not built, saving considerable time and overhead.
For more information about how control trees work see http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/whitepapers/netix/body.html#1056016
For more information about when to optimize your control tree, see Designing Portals for Optimal Performance.
Your portal application uses a configuration files to store application settings. Some default settings may not be applicable to your particular portal application.
Each portal application uses unique configuration files to customize parameters that can affect performance. Three configuration files that are key to portal performance include:
netuix.config.xml
(portal framework)web.xml
(web application settings)weblogic.xml
(server settings)For most settings, you can adjust them using either the WebLogic Server Console or the Administration Portal. However, many of the settings discussed in this section must be manually entered in the configuration file.
The netuix-config.xml
file resides in the portal web application directory. For example, if you are using the sample portal web application, the corresponding netuix-config.xml
file is located at:
/
/weblogic81/samples/portal/portalApp/sampleportal/WEB-INF/netuix-config.xml
After making any changes, you must redeploy your web application for the changes to take effect. For more information about modifying web descriptor files, see Preparing The EAR File for Deployment in the Production Operations User Guide.
For more information about Portal Framework performance issues and the netuix-config.xml
file see http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/whitepapers/netix/appendix.html#1052773.
Table 4-1 lists key performance tuning elements within the netui-config.xml
fle.
A switch to indicate if a portal is customizable or not. If a portal is served from a .portal file (rather than from a database) and users are not allowed to customize it then customization can be disabled by setting |
|
A switch to enable or disable page flows usage in a portal. Disable it if a portal is not using any page flows. |
|
A switch for validating portal related files such as |
|
The For more information, see Tuning for Entitlements on page 3-5. |
|
A switch to indicate that a portal supports multiple locales. This could be disabled if a portal supports only one locale. |
The web.xml
file configures your web application. After making any changes, you must redeploy your web application for the changes to take effect. For more information about modifying web descriptor files, see Preparing The EAR File for Deployment in the Production Operations User Guide.
The web.xml
file is located in the WEB-INF
subdirectory of your portal web application directory. For example, if you are using the sample portal web application, the corresponding web.xml
file is located at:
<
BEA home>/weblogic81/samples/portal/portalApp/sampleportal/WEB-INF/web.xml.
Table 4-2 lists key elements of the web.xml
file.
You can modify the weblogic.xml
file via the WebLogic Server Console. For more information on how to modify these settings see Viewing and Updating Run-Time Deployment Descriptors in the WebLogic Server Console online help.
The following parameters can be adjusted for performance. For more information about the weblogic.xml
file, see http://download.oracle.com/docs/cd/E13222_01/wls/docs81/webapp/weblogic_xml.html#1037041 for a complete list of the elements configured in the weblogic.xml
file.
Table 4-3 lists key performance tuning elements in the weblogic.xml
file.
For more information about performance guidelines for Web Services Remote Portlets, see Best Practices for Implementing WSRP.
If you are using WSRP portlets, adjust your caches accordingly. For specific information about WSRP caches, see WSRP Caches on page B-5.
When using WSRP portlets from a server that is running on a Unix machine, be sure to modify the parameters in the /etc/system
file to match the minimum requirements, as noted in the WebLogic Server Performance and Tuning Guide.
It is also recommended that you tune the Server Execute Queue using the instructions mentioned Tuning the Default Execute Threads, in the WebLogic Server Performance and Tuning Guide.
Other recommendations include:
Portlet category information is automatically cached, which enhances performance. If for any reason you do not want to cache portlet categories, you can turn off this cache by setting the following system property:
![]() ![]() |
![]() |
![]() |