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.
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:
/
/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 Your Portal Application in the WebLogic Portal Deployment 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.
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 "enable" element's value to "false". If a portal supports customizations then customization should be enabled. |
|
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 .pinc, .portlet, and .portal files. Disable validation when running portal server in production. |
|
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 Your Portal Application in the WebLogic Portal Deployment 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.
You can modify the weblogic.xml
file via the WebLogic Server Console. For more information on how to modify these settings see Web Application > Configuration > Descriptor 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.
![]() ![]() |
![]() |
![]() |