March 24, 2016
Posted by on
Sometimes you need to update the web.xml for webcenter portal if you want to disable compression or add servelets or change the session timeout.
As you know the webcenter potal (AKA Spaces before) is already deployed application .
In order to update the web.xml you need to create extension shared library and add web.xml to it with your updates. here are simple steps to do it:
- download webcenter extensions for jdevloper from here
- add these extensions to your jdevloper follow this blog
- create new application “webcenter portal server extension”
- you will find 2 projects “PortalExtension” & “PortalSharedLibrary”
- expand PortalSharedLibrary and find the web.xml under WEB-INF
- update web.xml as you want
- right click on project > project properties > deployment> edit
- under web files mark the web.xml to be included in the deployment.
- ok then ok
- locate the MANIFEST.MF under the project
- change the version Implementation-Version & Specification-Version
- deploy to the server
- restart the managed server