You might be aware of how to configure session timeout setting in ADF application which resides in web.xml file (in case you don’t then check this post). Then you might be wondering why this guy keep talking about session timeout these days? :)
Well the reason for this is if you are working with ADF application or WebCenter portal application the location of web is /META-INF folder of your application. But if you are extending webcenter spaces application (like we do) then the location of web.xml file for webcenter spaces is packed in webcenter.ear file on weblogic server.
In order to make any change to this file you have to follow these steps as described in the documentation.
Note: These steps are also eligible for webcenter portal application In case you don't want to change settings at design time.
All you need to do is
- Open webcenter spaces ear file.
- edit web.xml
- re-pack the .ear file and the steps are as follows
Steps (Copied from docs):
1. Navigate to your WebCenter Oracle home directory.
2. Open the WebCenter Spaces .EAR file:
$ mkdir -p /tmp/my_ear
$ cd /tmp/my_ear
$ jar -xvf $WEBCENTER_HOME/archive/applications/webcenter.ear
$ mkdir war
$ cd war
$ jar -xvf ../spaces.war
WEB-INF/web.xml and save the changes.
4. Create a modified .EAR file with the required
$ cd /tmp/my_ear/war
$ jar -cvf ../spaces.war *
$ cd ..
$ rm -rf war
$ jar -cvf ../webcenter.ear *
6. Restart the WC_Spaces managed server.
At startup, this automatically deploys the newer application with the modified
Hope you find this useful,