留言板

Hooked jsp is not displayed after server restart

thumbnail
Payal Shah,修改在6 年前。

Hooked jsp is not displayed after server restart

New Member 帖子: 11 加入日期: 11-12-28 最近的帖子
We have overriden view.jsp of dockbar and added a condition so that user who has VIEW_CONTROL_PANEL permission can view the dockbar.
On our clustered environment after server restart we are not able to view overriden jsp, instead it always displays the liferay default jsp.

Then if we execute 'Clear the direct servlet cache.' Action from Server Administration, we are able to access overriden jsp.

While going through the liferay code, we came to know it clears the direct servlet cache programmatically, while deploying hook. So, we are not sure what can be the problem here. Any pointer will be appreciated.

Thanks in advance!