Steps to change the Discoverer Session timeout


Discoverer 10g : here a bit of technical work, though i havn’t tried it actually, but got it from one of good expert of Discoverer , that’s why i sharing it.

How To Change The Session Timeout For Discoverer 10g(10.1.2)?

Steps to change the Discoverer Session timeout:

1. Edit the file $ORACLE_HOME/discoverer/util/pref.txt. 
2. Under the heading [Session Manager] there is a parameter called timeout. 
Timeout = 1800 (Number of Seconds before timeout) 
3. Save the pref.txt file. 
4. Run the applypreferences script. 

When changing the timeout value to be higher than 30 minutes you will need to change the Discoverer servlet timeout as well. The servlet timeout must always be higher or equal to the Discoverer session timeout.Steps to change the Discoverer Servlet timeout:

 

1. Edit the following file: 
$ORACLE_HOME/j2ee/OC4J_BI_Forms/applications/discoverer/discoverer/WEB-INF/web.xml 
2. Add the following entry to the file: 
<session-config> 
<!– Session timeout in minutes –> 
<session-timeout>60 </session-config>  The file should look something like: 
<web-app> 
<servlet> 
<servlet-name>…</servlet-name> 
<servlet-class>…</servlet-class> 
</servlet> 
<session-config> 
<session-timeout>60</session-timeout> 
</session-config> 
</web-app>  3. Save the web.xml file. 
4. Run command ‘dcmctl updateConfig -ct oc4j -v’ to update the configuration. 
5. Restart OC4J with command ‘dcmctl restart -ct oc4j – v'.

  

Advertisements