Introduction #

This article explains how to install the sample JSR-168 portlets distributed by Pentaho.

Pentaho distributes JSR-168 integration with its Business Intelligence (BI) suite. They have also distributed sample portlets and data to give an example of Pentaho's integration.

Installation #

This wiki assumes experience with installing Liferay portal and a basic understanding of Pentaho's Business Intelligence (BI) suite.

Setup Liferay With MySQL #

Though Pentaho's sample portlets are configured for both MySQL and HSQLDB, the installation here will be based on HSQLDB. In order for Liferay's database to not conflict with Pentaho's, we will configure Liferay to point to a MySQL schema. This will assume the use of Liferay, bundled with Tomcat 5.5.

  1. Install Liferay Portal 4.3.4 (Bundled with Tomcat for JDK 5.0).
  2. Create a MySQL database with the SQL scripts provided from Liferay.
  3. Install the MySQL JDBC driver and configure Liferay to use the MySQL schema.
  4. Make sure you can startup Liferay and hit http://localhost:8080.

Setup Pentaho #

Pentaho requires the installation of several WAR files and the use of the database and solutions.

  1. Download and unzip the latest pentaho_j2ee_deployments-<version>.zip from Pentaho.
  2. Run the ant target ant war-all-pentaho-tomcat.
  3. Though there will be errors, hot deploy the file /pentaho_j2ee_deployments-<version>/build/pentaho-wars/tomcat/hsqldb/pentaho.war by one of two methods:
    1. Drop it in the auto.deploy.deploy.dir specified in portal-ext.properties.
    2. Use the Plugin Installer portlet, under the Upload File tab, to upload the pentaho.war file
  4. Shutdown Liferay.
  5. Configure the <tomcat>/conf/server.xml file as delineated in Pentaho's Wiki.
  6. Copy pentaho-portal-layout.war, pentaho-style.war, and sw-style.war from /pentaho_j2ee_deployments-<version>/build/pentaho-wars/ to <tomcat>/webapps/.
  7. Download and unzip pentaho_sample_data-<version>.zip and pentaho_solutions-<version>.zip from Pentaho as sibling directories to <tomcat>.
  8. In /pentaho-data, run start_hypersonic.sh or, for Windows, start_hypersonic.bat.
  9. Make sure you can startup Liferay and hit http://localhost:8080.

Use Pentaho's Sample Portlets #

After starting up Liferay, Pentaho and its sample portlets should be ready for use.

  1. Login to Liferay with the default user credentials: test@liferay.com / test.
  2. Go to the Liferay Dock and click Add Content. You should see the Pentaho portlets under the category Undefined. Add the portlets: RegionFilterPortlet, RegionFilterPortlet, PieDatasetChartPortlet, and EmbeddedReportPortlet.
  3. Choose specific controls in the Filters portlet, and click Update. You should see something like the following:

0 Anhänge
73448 Angesehen
Durchschnitt (2 Stimmen)
Die durchschnittliche Bewertung ist 1.0 von max. 5 Sternen.
Kommentare
Antworten im Thread Autor Datum
Is there going to be a new install process for... Lisa Simpson 11. September 2009 08:00
We are also very interested in any... Aaron Low 9. Oktober 2009 16:32
I followed the complete procedure above on... venkat bagam 14. September 2009 02:38
Any news on this one ? I go and try it out if... gerald hemmers 14. Januar 2010 01:54
Hi. Recently I got an assignment where we... Vineet Bansal 22. April 2010 00:20
check this link... SZ khan 7. Juli 2010 03:34
Sultee, Looks great from the pictures... but... Ryan T 19. Oktober 2010 17:20
Hi.. I want to integrate Liferay 5.2.3 with... ankit yakkundi 13. Januar 2011 01:24
Hi Ankit, Did you got any solutions for this. vasv kumar 24. Februar 2011 23:15
liferay-portlet.xml,liferay-display.xml are... vasv kumar 24. Februar 2011 21:56
Hi, anyone knows tell me where I can find this... FREDERICO ARAÚJO 16. Dezember 2014 11:54

Is there going to be a new install process for 5.2.3??? Surely its changed somewhat by now...
Gepostet am 11.09.09 08:00.
I followed the complete procedure above on Liferay 4.4.3, tomcat 5.5 and pentaho_j2ee_deployments-1.6.0-RC2.820. Yes, every thing looked good but couldn't see any portlets related to pentaho. Rather, I could access pentaho only as a web-app from http://localhost:8080/pentaho.
Gepostet am 14.09.09 02:38.
We are also very interested in any documentation on integrating Liferay 5.2.3 with Pentaho 3.0.0.
Gepostet am 09.10.09 16:32 als Antwort auf Lisa Simpson.
Any news on this one ? I go and try it out if it is going to work i will let you know
Gepostet am 14.01.10 01:54.
Hi.

Recently I got an assignment where we need to integrate the Liferay Portal Standard Edition 5.2.3 with Pentaho 3.5.0 or 3.5.2 using Tomcat 5.5. I have found many documents on the net for the older versions integration but not on the version I am working on.

Can any one pl help me on this by providing some pointer?

Any genius?

Vineet
Gepostet am 22.04.10 00:20.
check this link
http://www.adictosaltrabajo.com/tutoriales/tutoriales.php?pagina=IntegrarLif­eray521PentahoBI2MySQL51
Gepostet am 07.07.10 03:34 als Antwort auf Vineet Bansal.
Sultee,

Looks great from the pictures... but unfortunately I do not speak Spainish... Do you know of an English translation other then google? ...or is the Google translation accurate?

Thanks,

Ryan
Gepostet am 19.10.10 17:20 als Antwort auf Sultee khan.
Hi..
I want to integrate Liferay 5.2.3 with tomcat 5.23 and Pentaho 1.7.I have tried all the above steps,but i want to know how can i get RegionFilterPortlet, RegionFilterPortlet, PieDatasetChartPortlet, and EmbeddedReportPortlet.Since i have deployed pentaho-portal-layout.war, pentaho-style.war, and sw-style.war in webapps folder.
When i deploy it i am able to see the above 3 portlets ie pentaho-portal-layout, pentaho-style, and sw-style.All showing open link.When i click on it i get a page showing "HTTP Status 404" errpr.

Please let me know i need to do,so that i can view the reports or graphs as shown in the above wiki.

Thanks in advance.
Any idea or suggestions are welcome.
Gepostet am 13.01.11 01:24.
liferay-portlet.xml,liferay-display.xml are missing in pentaho.war,then how can i add portlets into a page through control panel.

liferay-portlet.xml is not there in war,so because of this all 15 portlets are unregistering immediately after registered.
Gepostet am 24.02.11 21:56.
Hi Ankit,

Did you got any solutions for this.
Gepostet am 24.02.11 23:15 als Antwort auf ankit yakkundi.
Hi, anyone knows tell me where I can find this portlet for version 6.2 of Liferay?
Know if this portlet has continuity or if there is another initiative?

Since already thank you for your attention.

Hugs,
Frederick Araújo
Gepostet am 16.12.14 11:54.