Monday, 23 June 2014

Disable the default error message in Liferay



SessionMessages.add(actionRequest, PortalUtil.getPortletId(actionRequest) + 
SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE);

Monday, 23 September 2013

LDAP Server



##LDAP Server

ldap.base.provider.url=ldap://XX.XXX.XX.XXX:389
ldap.base.dn=o=XXX,c=com
ldap.security.principal=uid=myXXXX,cn=Local,cn=Users,dc=xxx,dc=com
ldap.security.credentials=object00
ldap.user.mappings=screenName=uid\npassword=userPassword\nemailAddress=mail\nfirstName=g
ivenName\nlastName=sn\n
ldap.group.mappings=groupName=cn\ndescription=description\nuser=member


##To disable or enable the importing users from the LDAP


ldap.import.enabled=true
ldap.import.on.startup=true
ldap.import.interval=10

Friday, 16 August 2013

Sharing the Files Between Windows and Linux machine using the VirtalBox

Sharing the Files Between Windows and Linux machine using the VirtalBox


Command:  sudo mount -t vboxsf VirtualBox /home/jgangula/Desktop/share

 where VirtualBox is the Share Folder Name given in the VirtualBox tool

/home/jgangula/Desktop/share   Folder path in Linux Machine for Sink

Wednesday, 14 August 2013

Friendly URL for Liferay portlet

Logs Configuration in Liferay



The logger levels are. 
  • DEBUG
  • INFO
  • WARN
  • ERROR
  • FATAL


  • Go to Control Panel.
  • Click on Server Administration from Server section in control panel.
  • Click on Log Levels (second link) as shown in below screen.

  • Click on Add Category link
  • Give the package
  • Set log level from drop down.