Message Boards

Hooked jsp is not displayed after server restart

thumbnail
Payal Shah, modified 6 Years ago.

Hooked jsp is not displayed after server restart

New Member Posts: 11 Join Date: 12/28/11 Recent Posts
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!