Thursday, October 10, 2013

Salesforce and Liferay Integration

Ideation Architecture using Salesforce and Liferay Integration

Customer Driven Innovation using Liferay and SFDC (CRM)

What is Ideation Architecture?
Engaging with customers online has been one of the most effective practices followed by organizations in the last few years. These interactive communications with customers, while being highly reliable, provide a huge opportunity for an organization to promote their strongholds. By identifying the right social channels, organizations can promote their technical knowhow and educate customers about their developments.

Comparing mod_proxy and mod_jk

Comparing mod_proxy and mod_jk


Apache 2.2 ships with advanced mod_proxy set of modules that have some of the mod_jk capabilities namely AJP protocol and integrated load balancer. 
AJP (Apache Jserv Protocol) with it's current version 1.3 is constant binary protocol. Constant means that the connection between web server and application server is presumed to stay open once established for the system lifetime. 
This in essence makes web server and application server a single system from the users point of view. 

Wednesday, October 9, 2013

SFTP connection using Java for remote file transfer

SFTP Connection using Java for remote file transfer

I had created one main class in java for reading a csv file from SFTP server to local system and then upload a csv file from local system to SFTP server using JSch Library.


  • Download Jsch library from here.
  • Download Java CSV library from here.

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 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 or                                                
         ·         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

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