Your SlideShare is downloading. ×
CloudBees - Liferay
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

CloudBees - Liferay

611

Published on

CloudBees - Liferay

CloudBees - Liferay

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
611
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Liferay is one of the most popular Java-based portals in the market. Create a new database in your CloudBees account. This database will be populated by the liferway war during deployment. You can create a new database by clicking the "New Database" link on the left handside of the CloudBees console. 
  • You need to bundle jars from the liferay tomcat bundle lib/ext directory into the liferay war file.
  • Update the standalone war to include the java libraries and portal-ext.properties
  • The liferay war is pretty huge and requires quite a bit of memory. Go to your app configuration page and select either medium or large configuration to start your application with. Liferay requires 256M of permgen space, see JVM PermGen Space to setup the permgen space.
  • Transcript

    • 1. Java PaaS Deploy Liferay Application on CloudBees http://clean-clouds.comhttp://clean-clouds.com
    • 2. Liferay on CloudBeeshttp://clean-clouds.com
    • 3.  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 directory mkdir liferay-cb-war cp 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 Repackage Liferay war for deploymenthttp://clean-clouds.com
    • 4. portal-ext.propertiesliferay.home=/tmp/liferay-home-eb jdbc.default.driverClassName=com.mysql.jdbc.Driver jdbc.default.url=jdbc:mysql://yourdatabase:3306/liferay- username?useUnicode=true&characterEncoding=UTF- 8&useFastDateParsing=false jdbc.default.username=liferay-username jdbc.default.password=liferay-password #lucene.store.type=ram #lucene.store.jdbc.auto.clean.up.enabled=true cd /tmp/lr-cb-war jar uvf path-to-war/liferay-portal-6.0.6-20110225.war WEB- INF/classes/portal-ext.properties WEB-INF/lib/*.jar edit portal-ext.properties file and Repackage warhttp://clean-clouds.com
    • 5. Deploy Liferay war on CloudBeeshttp://clean-clouds.com
    • 6. Download with Linkedin Username/Password http://clean-clouds.com
    • 7. Download with Linkedin Username/Password http://clean-clouds.com
    • 8. Download with Linkedin Username/Password http://clean-clouds.com
    • 9. Download with Linkedin Username/Password http://clean-clouds.com
    • 10. Download with Linkedin Username/Password http://clean-clouds.com
    • 11. http://clean-clouds.com

    ×