Wednesday, November 26, 2014

Updating web.xml for WebSphere Portal

I just found out that starting WebSphere Portal 8, if we need to update web.xml of wps.ear, it is not sufficient to just update web.xml. We also need to update web_merged.xml. The following is the source of information

https://www.ibm.com/developerworks/community/blogs/PortalL2Thoughts/entry/how_to_update_and_redeploy_wps_ear12?lang=en


Friday, November 7, 2014

Deploying theme's static file from one server to the other server

1. Use your browser to get the static files:
http://<firstServer>:<portNumber>/wps/mycontenthandler/dav/themelist/<themename>?mime-type=application/zip

2. Save the zip file and copy the file into the second server

3. In the second server go to /apps/IBM/WebSphere/wp_profile/ConfigEngine

4. Run:
./ConfigEngine.sh webdav-deploy-zip-file -DTargetURI=dav:themelist/<themename/ -DZipFilePath=<path to the zip file> -DUpdateMode=merge -DPortalAdminPwd=<portal admin password> -DWasPassword=<was admin password>