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

http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.1%20GA2/liferay-portal-dependencies-6.1.1-ce-ga2-20120731132656558.zip/download

2. Download Liferay Portal WAR file.

http://sourceforge.net/projects/lportal/files/Liferay%20Portal/6.1.1%20GA2/liferay-portal-6.1.1-ce-ga2-20120731132656558.war/download

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.

Official guide: http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen11-installing-liferay-on-oracle-weblogic-103-0

About these ads
    • uhsarp
    • 8/08/13

    Hi. I’m about to install Liferay on Weblogic. I have a question about Step B.

    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

    What folder is considered as Liferay home in Weblogic?

    • When you install liferay within weblogic this one uses the DOMAIN_HOME in this case /u01/app/oracle/product/Middleware/user_projects/domains/ as LIFERAY_HOME, then you have to create this .properties file in this location.

      My production environment also has in this configuration file the below line
      liferay.home=/u02/app/oracle/product/Middleware/user_projects/domains/

        • uhsarp
        • 9/08/13

        Thank you!

  1. No trackbacks yet.

Deja un comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

Seguir

Recibe cada nueva publicación en tu buzón de correo electrónico.

Únete a otros 93 seguidores

%d personas les gusta esto: