2-2 Oracle Fusion Middleware Developers Guide for Oracle Business Intelligence Enterprise Edition
-Dsun.net.client.defaultConnectTimeout=6000
For Linux:
commEnv.s setenv CONFIG_JVM_ARGS -Dsun.net.client.defaultReadTimeout=60000
-Dsun.net.client.defaultConnectTimeout=60
2.2 Adding a Session Timeout
The Oracle BI ADF integration code supports automatically closing sessions when the ADF HTTP session is closed or times out.
2.2.1 How to Add a Session Timeout
Use the following procedure to modify the application’s weblogic.xml so that the application automatically closes.
1.
In JDeveloper, go to the Application Navigator, open the Projects tab, navigate to the project’s WEB-INF subdirectory, and open the weblogic.xml document.
2.
Add the following to the document: listener
listener-classoracle.bi.presentation.listener.BIADFServletSessionListener listener-class
listener
2.3 Using Static Resources
You can configure an Oracle BI Presentation Services connection to use static resources that reside either on the Oracle BI Server or another server. The practise of specifying
static resources, such as .javascript and .css, can significantly increases the performance of ADF applications that contain Oracle BI EE objects.
2.3.1 How to Set Static Resources Preferences
Use the following procedure to specify static resources preferences for a saved Oracle BI Presentation Services connection.
For information about setting up static resources in Oracle BI EE, see Improving Oracle BI Web Client Performance in Oracle Fusion Middleware System Administrators
Guide for Oracle Business Intelligence Enterprise Edition.
For information about creating a new connection and specifying static resources, see Creating an Oracle BI EE Presentation Services Connection
.
1.
In JDeveloper, go to either the Application Resources tab within the Application Navigator or to the Resource Palette and select the Oracle BI Presentation Services
connection that you want to modify.
2. Right-mouse click the selected data connection and select Properties. The Edit BI
Presentation Services Connection wizard displays.
3.
In the BI Presentation Services page, specify the static resources settings. Note the following fields:
■
Static Resources Mode – Specify from where to retrieve static resources.
Improving The Performance of ADF Applications That Contain Oracle BI EE Objects 2-3
Select Auto to direct all requests to Oracle BI Presentation Services rather than to the Oracle BI proxy. Selecting Auto results in a significant increase in
performance. Note that Auto mode provides the best performance if Oracle WebLogic Server resides behind Oracle HTTP Server or Apache HTTP Server
and you are bypassing Oracle WebLogic Server for serving static files.
Select Manual to direct requests to another location. If you select Manual, you must specify a URL in the Static Resources Location field.
■
Static Resources Location – Optional If you selected Manual in the Static
Resources Mode field, then enter the location of the deployed static resources if they are not located within the Oracle BI installation. The URL format must
be http:host:portanalytics. For example, http:bips:9704analytics. Examples of static resources are .css and .javascript. Or, leave this field blank if
Oracle BI resides behind a firewall but the ports to the ADF instance are not behind a firewall.
4. Click Finish to save your changes.
2.3.2 Testing The Static Resources Location