11
http://clean-clouds.com Java PaaS Deploy Liferay Application on CloudBees http://clean-clouds.com

CloudBees - Liferay

Embed Size (px)

DESCRIPTION

CloudBees - Liferay

Citation preview

Page 1: CloudBees - Liferay

http://clean-clouds.com

Java PaaSDeploy Liferay Application

on CloudBeeshttp://clean-clouds.com

Page 2: CloudBees - Liferay

http://clean-clouds.com

Liferay on CloudBees

Page 3: CloudBees - Liferay

http://clean-clouds.com

Repackage Liferay war for deployment

Package war to have all necessary jars for standalone deployment◦ Download and un-jar the pure non-app-server-bundled

Liferay war into a temporary directory. ◦ Download and un-jar the Liferay Tomcat Bundle into some

other place (for example /tmp/lr-606-bundle). ◦ Copy all of the global jar files from the Liferay Tomcat

Bundle in lib/ext to your custom Liferay WAR file directorymkdir liferay-cb-warcp liferay-portal-6.0.6-20110225.war ./liferay-cb-war jar xvf liferay-portal-6.0.6-20110225.war

cp /tmp/lr-606-bundle/liferay-portal-6.0.6/tomcat-6.0.29/lib/ext/*.jar /tmp/lr-cb-war/WEB-INF/lib

Page 4: CloudBees - Liferay

http://clean-clouds.com

edit portal-ext.properties file and Repackage war

portal-ext.propertiesliferay.home=/tmp/liferay-home-ebjdbc.default.driverClassName=com.mysql.jdbc.Driverjdbc.default.url=jdbc:mysql://yourdatabase:3306/liferay-username?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=falsejdbc.default.username=liferay-usernamejdbc.default.password=liferay-password#lucene.store.type=ram#lucene.store.jdbc.auto.clean.up.enabled=true

cd /tmp/lr-cb-warjar uvf path-to-war/liferay-portal-6.0.6-20110225.war WEB-INF/classes/portal-ext.properties WEB-INF/lib/*.jar

Page 5: CloudBees - Liferay

http://clean-clouds.com

Deploy Liferay war on CloudBees

Page 11: CloudBees - Liferay

http://clean-clouds.com

Thank You