Install Liferay 6.1.1 using JRockit 1.6 in a cluster environment within Weblogic 10.3.6.
Install Liferay 6.1.1-ce-ga2 using JRockit 1.6 in a cluster environment within Weblogic 10.3.6.
I’ve been trying to install this version of Liferay in cluster environment, the below are the steps that I used to configured this environment.
OS Version: Oracle Solaris 11.0 SPARC-64
Java Vendor: Oracle
Java Version: Oracle JRockit 1.6.0_33
Liferay Additional files: http://www.liferay.com/downloads/liferay-portal/additional-files
1. Download Liferay dependencies
2. Download Liferay Portal WAR file.
I suppose that you have configured a cluster environment and you can access into the Weblogic console.
Liferay’s home is one Folder up to your DOMAIN_HOME in this installation the Liferay home is /u01/app/oracle/product/Middleware/user_projects/domains/
A. with Weblogic server shutdown copy the jar existing in the Liferay dependencies downloaded into the DOMAIN_HOME/lib
Note: You should copy the jar files in every domain folder if your cluster has remote managed servers.
B. Create the portal-ext.properties in the Liferay’s home and write the below lines.
setup.wizard.enabled=true jdbc.default.jndi.name=jdbc/LiferayPool mail.session.jndi.name=mail/MailSession
If you want to setup a different the database configuration when the Liferay console starts you can do that.
Note: Remember create the jdbc/LiferayPool and mail/MailSession in the weblogic server.
C. This is one of the most important changes that i had to do.
Start the Weblogic console and add into the Java start argument managed server configuration for all cluster members -Xss1024K argument.
Note: Sometimes when I was running in Linux Environment I had to change the below parameter too.
In the domain configuration → web applications tab and enable the Archived Real Path Enabled and save changes.
D. Liferay needs JSF1.2 to run successful you should install this Library
In the Deployments options in the Weblogic console install a new Deploy and search the jsf1.2.war in your WL_HOME/common/deployable-libraries/ in my server /u01/app/oracle/product/Middleware/wlserver_10.3/common/deployable-libraries/ and install this one to the entire cluster that will contain Liferay
E. Install sunjce_provider.jar as library to the entire cluster this file is located in your JAVA_HOME/jre/lib/ext in my server /u01/app/oracle/product/jrockit/jre/lib/ext when the Liferay is deploying the server log shows warning related with this library.
F. Deploy the war file to all the cluster members using the Weblogic console.
Note: This process spends sometimes a lot of time, in this case this one spends 2 minutes.
After deployed the Liferay start this one serving all request and test the application
Manager Server 1
Managed Server 2
After to install you need some balancer solution like Oracle Web Tier to unified the address and balancing load.
For additional information please visit the official guide for Liferay Installation, this guide just explain the Xss1024k additional argument, the Archived Real Path Enabled and the sunjce_provider.jar deploymentthe others steps are based in the official guide.