JAS Timeout issue

new2jdee1

Member
When user being inactive for 1 hour, we get timeout from IE.
I have been doing research from Oracle support site, jdelist and other sites, still encounter the timeout. Our goal is change from 1hour to 4 hours before timeout.

Here is what I changed.
1. From server Manager, under Run Webtime, I changed the timeout under [cache] and restarted.
2. From server Manager, under JDBJ Database Connection, under [JDBJ Connection Pool], changed Connection timeout and restarted
3. Changde httpd.conf timeout and restarted.
4. Changed from Weblogic console
a. Deployment -> Select http server, Web application, configuration tab, change session timeout. I then deployed the plan.xml
b. Environment -> Server -> select http server, under Protocol/General, change Idle connection timeout
c. Restart
5. I found the E1: JAS: How To Control the Internet Explorer Session Timeout Settings? [ID 783168.1] from Oracle support, change the registry for IE timeout

After changing all these, I still get timeout in 1 hour. I checked and double checked the values and they are correct. Am I missing something here?

Thanks.
 
Pls try this out, it worked for us.

E1: JAS: Issues with user session timeout [ID 647423.1]
 
I cannot find this parameter in server manager. Do know where I can set it up? I tried to put it in jas.ini. After jas intance restart, the entry got wipe out.
 
I added them in jas.ini file rather than from server manager.

but still get the 1 hour timeout issue.
 
If you are on OAS (which you do not say) then you need to add
<session-config>
<session-timeout>60</session-timeout>
</session-config>

to the end of your web.xml file in your .....webclient\WEB-INF directory
 
If you are using OAS, use following procedure (647799.1):

Step 1 If Using OAS 10.1.3:

1. Log in to the Oracle Enterprise Manager
2. Select your OC4J container
3. Click on "Applications" Link
4. Click on link for your E1 JAS OC4J, eg "EA_JS_81"
5. Click on the link for webmodule, "webclient"
6. Click on link for "Administration"
7. Under "Go to Task" column, click on icon for "Configuration Properties"
8. Set the Session timeout value in Seconds
9. Restart the OC4J instance


Step 1 If Using OAS 10.1.2.0.2

Update the WEB.XML

a.) Navigate to JAS Application under <ORACLE_HOME>/j2ee/<oc4j>/applications/jasapp/webclient/WEB-INF
b.) Make sure that server is not running.
c.) Edit the WEB.XML file using Notepad.
d.) Place the 3-line session-timeout stanza in the WEB.XML file like this:
...
<servlet>
<servlet-name>MOViewerServlet</servlet-name>
<display-name>MOViewerServlet</display-name>
<servlet-class>com.peoplesoft.e1.container.MafletServiceContainer</servlet-class>
<init-param>
<param-name>maflet.name</param-name>
<param-value>MOViewerServlet</param-value>
</init-param>
</servlet>

<session-config>
<session-timeout>30</session-timeout>
</session-config>

Where the number entered for "session-timeout" is the desired session timeout in minutes.

Step 2 Update the UserSession value in the relevant JAS.INI


Note:
The JAS.INI setting(s) and HTTP Server settings should be set to a greater value than the timeout setting in Oracle Application Server.
The ultimate goal is to have Oracle Application Server time the session out to avoid record locking.
Example: OAS timeout setting for 30 minutes session, JAS.ini and HTTP server timeout set for 1 hour.




For E1 releases 8.97 and higher, make changes to the UserSession value using Server Manager.
Navigate to the Managed Instance page for the HTML server.
Choose the Web Runtime Catagory > Cache Configuration > User Session Cache Timeout.
Change the value to match the timeout set in the OAS as listed above. The User Session Cache Timeout value will need to be entered as milliseconds (e.g. 1800000 for 30 minutes, 3600000 for 1 hour).


For E1 releases 8.96 and lower, the jas.ini is located here:
<ORACLE_HOME>/j2ee/<oc4j>/applications/jasapp/webclient/WEB-INF/classes

The JAS.INI setting for timeout is as follows:
[CACHE]
# These intervals are in milliseconds. For example, 60000ms = 1 minute, 3600000ms= 1 hour
UserSession=3600000 <====

Working with steps 1 and 2 above should suffice.
However, it may be necessary to also complete steps 3 and 4 below should you not see your changes enforce your desired timeout setting.

Step 3 Update Apache:

a.) Find the httpd.conf file located in <ORACLE_HOME>/Apache/Apache/conf
b.) In the httpd.conf file, change the "Timeout" value.

Timeout 300

This value is in seconds and is set to a default of 5 minutes (300 seconds) and should be changed to match your desired timeout. (e.g. 1800 for 30 minutes, 3600 for 1 hour).

Hope this helps.
 
The process that Sanjeev wrote above worked for me. I had to do step 3 in Apache to make it work though. Cheers.
 
Back
Top