Pages

Thursday, September 26, 2013

Jackrabbit Configuration for Document Library in Liferay Clustering environment

Jackrabbit Configuration for Document Library in Liferay Clustering environment

·         Jackrabbit is the standards-based (JSR-170) content repository that ships with Liferay.
·         By default, Liferay is configured to store files on the local file system.
·         This will not work in a clustered environment, because all the nodes need to be able to access the repository.
·         For this reason, we will configure jackrabbit on both nodes to store documents in the Liferay database, and then we will enable its cluster configuration.
·         Liferay ships with the database and cluster configuration available, but commented out, so all we will need to do is comment out the default configuration and uncomment the database / cluster configuration.

Jenkins Setup in Local machine

Jenkins Setup in Local machine

Jenkins is an award winning application that monitors executions of repeated jobs, such as building a software project or jobs run by cron.

 Steps to install Jenkins in local machine

      ·         Download Apache Tomcat 7.0.x stable version and install it on.
      ·         Download latest Jenkins war file from http://jenkins-ci.org/ or install Jenkins as a service in             windows machine from here.
      ·         Deploy Jenkins.war file in tomcat webapps folder
      ·         Once deployed then start tomcat server. If you are using Jenkins as a service then you have to         just start service from service window. No need to deploy Jenkins.war file
      ·         Once sever started then open browser and hit http://localhost:8080/jenkins/
      ·         Now configure JDK and ANT which can be used to build project.
        For that you have to click on Manage Jenkins >> Configure System

Wednesday, September 25, 2013

Sonar Setup in Local windows machine for local Liferay instance

Sonar Setup in Local windows machine for local Liferay instances

Sonar is an open source platform to manage code quality. It will helpful to follow some coding standards and to reduce code review comments.

   ·         Sonar installation steps

         ·         Download Sonar 3.0 from http://dist.sonar.codehaus.org or                                                          http://www.sonarqube.org/downloads/
         ·         Extract it in at your choice of directory
         ·         Create a database with the name as “sonar” in MySQL database.
 Create database sonar;

Friday, September 20, 2013

SSL Implementation in Liferay 6.1 clustered environment

SSL Implementation in Liferay 6.1 clustered environment

SSL makes use of what is known as asymmetric cryptography, commonly referred to as public key cryptography (PKI). With public key cryptography, two keys are created, one public, one private. Anything encrypted with either key can only be decrypted with its corresponding key. Thus if a message or data stream were encrypted with the server's private key, it can be decrypted only using its corresponding public key, ensuring that the data only could have come from the server

Pre-requisite:
       ·         Install Apache 2.2 or latest stable version from here.
       ·         Download Liferay 6.1 CE version from here.
       ·         Install OpenSSL from here.

Wednesday, September 18, 2013

Liferay 6.1 integration with Solr Search Engine in Clustered environment

Liferay 6.1 integration with Solr Search Engine in Clustered environment

Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling. Solr is highly scalable, providing distributed search and index replication, and it powers the search and navigation features of many of the world's largest internet sites. Refer to Apache Solr.

We have made enhancement to the search infrastructure of the portal recently. We abstracted out Lucene as a search engine, now people can build plugins that integrate with others search engines frameworks.

Tuesday, September 17, 2013

Liferay 6.1 integration with Solr Search Engine

Liferay 6.1 integration with Solr Search Engine

Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling. Solr is highly scalable, providing distributed search and index replication, and it powers the search and navigation features of many of the world's largest internet sites. Refer to Apache Solr.

We have made enhancement to the search infrastructure of the portal recently. We abstracted out Lucene as a search engine, now people can build plugins that integrate with others search engines frameworks.

Tuesday, September 10, 2013

Liferay 6.1 Clustering using mod_jk Connector

Liferay 6.1 Clustering using mod_jk Connector

Clustering allows us to run portal instances on several parallel servers. The load is distributed across different servers, and even if any of the servers fails, the portal is still accessible via other cluster nodes. Clustering is crucial for scalable portal enterprise, as you can improve performance by simply adding more nodes to the cluster.

For larger installations, you would likely need a clustered configuration in order to handle the traffic of popular website. A cluster allows us to distribute the traffic coming in to website to several machines. Sure the cluster allows websites to handle more web traffic at a faster pace than it would be possible with a single machine.Definitely the portal works well in a clustered environment.