Skip to content


March 17, 2008

I routinely advise people asking this to pair programming with one other skill of value and market themselves as a specialist in the intersection.

Liferay and ldap stopping

  1. Stop Liferay
  2. open a console
  3. $ mysql
  4. $ use lportal;
  5. $ SELECT preferences FROM portletpreferences WHERE plid=0 AND preferences LIKE ‘%’;
  6. you shold get exactly one result-string, containing xml-syntax. Mark and copy it to an editor of your choice.
  7. In the editor change the following name-value-pairs in the result-string:


  8. Now you need to build an UPDATE-command als follows (ATTENTION: make sure there are no linebreaks within the result-string!):
    $ UPDATE portletpreferences SET preferences = ‘modified result-string‘ WHERE plid=0 AND preferences LIKE ‘%’;
  9. If you get
    1Query OK, 1 row affected (0.00 sec)
    2Rows matched: 1 Changed: 1 Warnings: 0

    you succeeded.

  10. Make sure that there are no omniadmin-entries in your
  11. Start Liferay and login.

Access liferay api from portlet.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: