You need to set diagnostic trace properties to determine whether you have too much data in the session.
Diagnostic tracing is controlled by properties found in the project WEB-INF/config/bowstreet.properties
file. With diagnostic tracing active, you have sessionSize properties that control trace interval and what data is logged.
Diagnostic tracing is mainly done during development and typically should be turned off before deployment or load testing.
- Open the bowstreet.properties file in the project WEB-INF/config/ directory.
- Locate the lines that contain the following properties.
- In the same directory, open the override.properties file.
This file contains the properties that you want to override for your project. If the file does not exist, create it.
- Copy the lines from the bowstreet.properties file and paste them in the override.properties file.
- In the override.properties file, set the properties as follows.
- Set the enabled property to true.
- Remove the comment character (#) from the lines of the other properties and specify the number of seconds between traces and the user name under which the application runs.
- Save and close the file and restart the server.
- Examine the trace output in the project \WEB-INF\logs\sessionsize.csv file.
- When enough data is collected, stop the collection by setting the enabled property to false and restart the server.
For more information on diagnostic trace and other techniques to enhance IBM® WebSphere® Portlet Factory application performance, refer to the following software support article.
Parent topic: Debugging a IBM WebSphere Portlet Factory application