Message Boards

Liferay Search portlet is not displaying for some of the logged in users

Sumalatha Nelluri, modified 8 Years ago.

Liferay Search portlet is not displaying for some of the logged in users

Junior Member Posts: 31 Join Date: 1/30/13 Recent Posts
HI,
Liferay Search portlet is not displaying for some of the logged in users any help?

1. created page called search
2. Added search out of box portlet
3.Portlet displaying for some of the admins,guest users but not for all logged in users(it shows only blank page).

Tested with 2 users, both users details are matching but for user1 it is displaying but not for user2.
Checked portlet permissions and page permissions.

Any ideas please?
thumbnail
Olaf Kock, modified 8 Years ago.

RE: Liferay Search portlet is not displaying for some of the logged in user

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
If you're running a cluster, you might not have set up proper cache-communication. When you say "blank page": Is that a proper Liferay page without any content or a blank (white) page with no Liferay content? What is in your logs?
Sumalatha Nelluri, modified 8 Years ago.

RE: Liferay Search portlet is not displaying for some of the logged in user

Junior Member Posts: 31 Join Date: 1/30/13 Recent Posts
Yes, Clustering is used.I have only few rights on the server.
I could not find any log statements when i load the page for the specific users.

Page is opening for all users,but search portlet is not displaying for few logged in users.if i do search from user2 login using url it's displaying search results page without effecting my search configuration.means it is using default search configuration for specific user.

clearing cache can helpful?
thumbnail
Olaf Kock, modified 8 Years ago.

RE: Liferay Search portlet is not displaying for some of the logged in user

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
When you say "clustering is used" - make sure it's working properly. E.g. bypass the load balancer and check if you consistently get the problem on one machine and never on the other machine. Being behind a loadbalancer can make those problems appear like randomly appearing, when in fact they're only (and constistently) appearing on one machine.

Clustering is a lot more than just pointing to the same database. If clearing the cache helps, you most likely have not set up clustering correctly.