Blog

Latest technology news, trends and developers guide for business application. Visit this space for more tech updates.

Let’s work on your exciting new project together!

Tips to Migrate from Liferay 6.0.x to Liferay 6.1

liferay

Following are the important tips to Migrate from Liferay 6.0.x to Liferay 6.1:

  • Unzip Liferay 6.1 bundle
  • Copy complete data folder as is from Liferay 6.0.x bundle to Liferay 6.1 bundle
  • Take backup of your the database that Liferay 6.0.x points to
  • Drop portal-ext.properties from Liferay 6.0.x to Liferay 6.1 (in ROOT/WEB-INF/classes ofcourse). Essentially you are pointing your new Liferay 6.1 to old database
  • Start Liferay 6.1 and it will automatically detect that it needs to upgrade the database and will run the upgrade scripts. In case there is any exception, you will have to restore the backup of old database and start all over again. Usually the exception is because of missing resource in data folder that the entry in database refers to.
  • If all goes well then your Liferay 6.1 will start successfully with old database upgraded.
  • Check whether you get all your Users and Organizations under “Users & Organizations” in control panel. If not then run – Control Panel >> Server Administration >> Re-Index all Search Indexes

Struts Portlet in Plugin Project:

  • If you have struts portlet in plugin project, on Liferay 6.1, it will throw InvokeFilter Exception and will result in StackOver Flow.
  • Make an entry in liferay-plugin-packages.properties file : liferay-web-xml-enabled=false
  • Be careful while rebuilding the existing services generated using ServiceBuilder. Delete all rows from servicecomponent table and reset the service builder number to 0 and then build services. Liferay keeps a backup of database tables associated with entitties in the service and will rewrite the contents of some of the tables. If you do not want your tables to be overwritten then set build.auto.upgrade=false in service.properties file in src folder of your plugin project

Send an Email from Liferay Portal

If you want to send an email from your liferay portal then its bit easy...

Embedding a Portlet in to a Web Content Portlet

Create a portlet with any name, EX. "portlet-embedded". Write your code in portlet (view.jsp) to...

We are always happy to hear from you - Share your business requirements. Our business experts will reach you shortly

 

Select Your Requirement

Secure : We'll ensure, all the information provided by you will not be shared with anyone and your details are completely safe.

We respect your privacy. *Privacy Policy

Select Your Requirement

Secure : We'll ensure, all the information provided by you will not be shared with anyone and your details are completely safe.

We respect your privacy. *Privacy Policy