Webcenter spaces How to change the HTTP session timeout

Source: Internet
Author: User

If you see the Webcenter Space app (Webcenter.ear) from the WebLogic console, the session timeout (3,600 seconds) session timout is misleading and is not applicable in the case of webcenter space applications. If you update the value from the console, it does not affect the session time-out of the Webcenter space application.  Then, the question is how can I change the Webcenter space app session timeout? The default session timeout in Web. XML is set to 45 minutes. There are two ways to change the session timeout:-   1. Deployment descriptors (web. XML and Weblogic.xml) 2. Custom session Timeout Sample project Samplewebcenterspacesextensions (support solution until PS4) here, we will not discuss the solution-2 items are excluded because of this from the PS5 documentation and sample projects. If you run PS3 or PS4 of WC space, you can implement it. You can update the weblogic.xml of the session timeout in Web. XML, but if the priority in Web. XML is higher than in Weblogic.xml. Here, we will configure the session timeout in Web. XML, and the documentation and Oracle recommendations:-Http://docs.oracle.com/cd/E17904_01/webcenter.1111/e12405/wcadm_app_config_files.htm#BABIEBEB The following steps modify the Web. XML Session Timeout value: 1, to the <WEBCENTER-HOME>/archives/Applications directory, you will find there webcenter.ear files. In my case the full path is C: \ ORACLE \ middleware \ ORACLE_WC1 \ archive \ Application. 2, with webcenter.ear webcenter home >/File/Application Webcenter.ear.bak 3 . Open webcenter.ear file with WinRAR or 7zip or any other tool 4. now, go to Spaces.war >> Web-inf folder and open the Web. xml file in the editor 5. Add the following entries:- <session-config><session-timeout> </Session Timeout ></Session configuration >Note that the session timeout value in Web. XML is in minutes, while in weblogic.xml it is within a few seconds.

6 . Once completed, save and close it. 7 . Make sure that the Webcenter.ear contains an updated web. Xml. 8. Restart the wc_spaces server. At startup, this automatically deploys the new application with the modified Web. Xml. Note: Once the application is deployed, revision Spaces.war is available at <DOMAIN-HOME> /server \ wc_spaces \ TMP \ _wl_user \ webcenter_11.1.1.4.0 \ < Randon-folder-name>. You can verify the changes in Web. XML and


Note :-After the system, there are more ways to change the session timeout, see the following files:-
Http://docs.oracle.com/cd/E23943_01/webcenter. 1111/e12405/wcadm_gen_prop.htm#bcehfhch

  References:-http://docs.oracle.com/cd/e17904_01/core.1111/e10108/webcenter.htm#babejejghttp://docs.oracle.com/ Cd/e17904_01/webcenter.1111/e12405/wcadm_app_config_files.htm#chdjccbi

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.