I have the following scenario:
- LR Portal 6.1.20 EE GA2 Portal behind IBM WebSeal
- Staged Sites
- Custom portlet which needs to publish it’s contents from staging to live
The custom portlet is publishing it’s contents with a class that extends BasePortletDataHandler
and overrides the following methods:
- doExportData
- doImportData
- doDeleteData
- isAlwaysExportable
- isPublishToLiveByDefault
- isAlwaysStaged
This works quite well in developing mode, where there is no WebSeal. In control panel, you go to "site pages" and invoke “publish to live”.
In production however, we get WebSeal timeouts whenever this process takes more than 2 minutes. The process is still running in the background, but the user has no way telling if it's done, if it worked or if it did not. He gets no feedback about it what so ever.
Is there a way to implement a custom portlet for the control panel which takes care of these problems? How do I get/track the status of the process and how do I keep the session alive?