<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I am just one of the guys who need to
integrate JPivot into JBoss Portal. I am using Pentaho PCI, I have all
the stuff (reporting, dasboards) done in portal but I don't know (and can't
find anyone who knows) how to integrate the analysis/OLAP part of Pentaho
(based on JPivot) with JBoss portal.</font>
<br><font size=2 face="sans-serif">I would appreciate any information that
could help me try this. I am using the newese 1.7.0-GA version of Pentaho</font>
<br>
<br><font size=2 face="sans-serif">thanks very much</font>
<br>
<br><font size=2 face="sans-serif">regards, dejan</font>
<br>
<br>
<br><tt><font size=2>mondrian-bounces@pentaho.org wrote on 14.07.2008 15:07:15:<br>
<br>
&gt; Did you try to do the build instructions in the readme?</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Like I said before, this was working for an older
version of JPivot <br>
&gt; (early 2005, v1.4?) and JBoss Portal 2.0.1. I don’t know how it will<br>
&gt; go for current versions of JPivot and JBoss Portal.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; You will have to change the code and configurations
to make it work <br>
&gt; in JetSpeed.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Sherman</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; From: mondrian-bounces@pentaho.org [mailto:mondrian-bounces@pentaho.org]
<br>
&gt; On Behalf Of wzx<br>
&gt; Sent: Monday, July 14, 2008 2:32 AM<br>
&gt; To: Mondrian developer mailing list<br>
&gt; Subject: Re: RE: [Mondrian] how to integrate mondrian to jetspeed?</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Hi, Sherman</font></tt>
<br><tt><font size=2>&gt; Sorry to disturb you again</font></tt>
<br><tt><font size=2>&gt; Do you mean that the latest vertion of JPivot
can integrate with <br>
&gt; JetSpeed? But i still failed.</font></tt>
<br><tt><font size=2>&gt; Also, i have read the readme.txt in JPivot. From
which it seems that<br>
&gt; JPivot can integrate with Jboss Portlet very well , but i don't know<br>
&gt; the way. Can you give some detailed info.Following is the readme.txt<br>
&gt; file's content. Thanks</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; 1. Overview<br>
&gt; -----------</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; The JPivot portlet shows how to integrate JPivot
into a portal <br>
&gt; server implementing the<br>
&gt; JSR 168 specification. The current version only works with JBoss <br>
&gt; Portal, due to some <br>
&gt; specific JBoss Portal code, but the dependencies on JBoss Portal are<br>
&gt; minimal in the code,<br>
&gt; so porting to other portal servers should be relatively straight forward.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; As packaged, the portlet works with JBoss Portal
2.X and JBoss 4.0.<br>
&gt; 2. Testing has been<br>
&gt; done against JBoss Portal 2.0.1 RC1.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; The test/demonstration database assumes Microsoft
Access, but can be<br>
&gt; easily changed to<br>
&gt; other major open source and commercial RDBMSs.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 2. Installation<br>
&gt; ---------------</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; * Get the WCF, JPivot and jpivot_repository projects
out of the JPivot CVS.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; * Build WCF</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; * Install a binary version of JBoss 4.0.2 and
JBoss Portal. The <br>
&gt; JBoss Portal distribution<br>
&gt; &nbsp; should be unzipped into ${jboss.home}/server/default/deploy.
You will see a <br>
&gt; &nbsp; jboss-portal.sar there.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; * Edit the JBoss Portal file in jboss-portal.sar/portal-core.<br>
&gt; war/WEB-INF/default-portal.xml.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp; &nbsp; &nbsp; &lt;property&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;org.jboss.portal.property.layout&lt;/name&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;2ColumnLayout&lt;/value&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;/property&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;property&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;name&gt;org.jboss.portal.property.renderSet&lt;/name&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;value&gt;divRenderer&lt;/value&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &lt;/property&gt;</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp; An example of this is in:<br>
&gt; &nbsp; <br>
&gt; &nbsp; src/jboss-portlet/jboss-portal/jboss-portal-war/WEB-INF/default-portal.xml</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; * Set the jboss.home Ant property in your ${user.home}/build.properties
file</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; * Build and deploy the jpivot-portlet-1.4.0.war
and jpivot-portlet-<br>
&gt; theme.war with <br>
&gt; &nbsp; the portlet-dist target<br>
&gt; &nbsp; <br>
&gt; * Build the demo Foodmart datatbase.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; * If your database is not the default Access
one, change the query <br>
&gt; tags in JSPS in<br>
&gt; &nbsp; jpivot-portlet-1.4.0.war/WEB-INF/queries appropriately<br>
&gt; &nbsp; <br>
&gt; * Start JBoss</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; * Hit http://localhost:8080/portal/index.html</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; * Select JPivotPortlet from the menu. The index
screen for the portlet appears</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 3. Design and Implementation Notes<br>
&gt; ----------------------------------</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; The WCF framework that the JPivot framework uses
has &nbsp;a <br>
&gt; RequestFilter as part of <br>
&gt; the core JPivot servlet configuration, that serves as a controller
<br>
&gt; to route user <br>
&gt; interface operations to Listeners. The JSR 168 Portal server <br>
&gt; specification does <br>
&gt; not allow for something like servlet filters in a portlet. The JPivotPortlet
<br>
&gt; reimplements the RequestFilter in the portal server environment to
<br>
&gt; allow WCF and <br>
&gt; JPivot to function.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; The charting, Excel and PDF functions in JPivot
use servlets. The <br>
&gt; JPivotPortlet and<br>
&gt; supporting classes reimplement those functions as portlet actions.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; JPivot relies on specific stylesheets to display
screens. The <br>
&gt; JPivotTheme provides<br>
&gt; a template that includes the needed stylesheets. This new theme <br>
&gt; needs to be made the<br>
&gt; default theme for the whole portal environment for JPivot to work.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Minimal changes were required to JPivot and WCF
in order to make <br>
&gt; this portlet work.<br>
&gt; Several tags had their definitions changed to allow JSP expression
<br>
&gt; language parameters.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 4. Known Issues<br>
&gt; ---------------</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Clickable members are not working. You can see
this with the options<br>
&gt; for Parameters with<br>
&gt; Builtin Testdata and Parameters with Mondrian</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; 5. Acknowledgements<br>
&gt; -------------------</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; JPivot was created by Andreas Muller of Tonbeller,
Germany<br>
&gt; Mondrian was created by Julian Hyde of San Francisco, USA<br>
&gt; JBoss Portal was created by Julien Viet, Roy Russo and team, JBoss
Inc </font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; 发件人: Sherman Wood </font></tt>
<br><tt><font size=2>&gt; 发送时间: 2008-07-14 &nbsp;10:29:18 </font></tt>
<br><tt><font size=2>&gt; 收件人: 'Mondrian developer mailing list'
</font></tt>
<br><tt><font size=2>&gt; 抄送: </font></tt>
<br><tt><font size=2>&gt; 主题: RE: [Mondrian] how to integrate mondrian
to jetspeed? </font></tt>
<br><tt><font size=2>&gt; You can’t have filters in a portlet server.
</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; If you check out the JPivot source, there is
old code there for a <br>
&gt; JPivot portlet. It worked for JBoss Portal 2.0, but you should be
<br>
&gt; able to adapt it to the latest JPivot and JetSpeed.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Sherman</font></tt>
<br><tt><font size=2>&gt; Jaspersoft</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; From: mondrian-bounces@pentaho.org [mailto:mondrian-bounces@pentaho.org]
<br>
&gt; On Behalf Of wzx<br>
&gt; Sent: Sunday, July 13, 2008 6:11 PM<br>
&gt; To: Mondrian developer mailing list; mondrian@pentaho.org<br>
&gt; Subject: [Mondrian] how to integrate mondrian to jetspeed?</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; Hi, all</font></tt>
<br><tt><font size=2>&gt; I am now working on integration from mondrian
to jetspeed. But <br>
&gt; currently I meet a serious problem. </font></tt>
<br><tt><font size=2>&gt; Following is added in my web.xml</font></tt>
<br><tt><font size=2>&gt; &lt;filter&gt;</font></tt>
<br><tt><font size=2>&gt; &nbsp; &nbsp; &lt;filter-name&gt;JPivotController&lt;/filter-name&gt;</font></tt>
<br><tt><font size=2>&gt; &nbsp; &nbsp; &lt;filter-class&gt;com.tonbeller.wcf.controller.RequestFilter&lt;/filter-class&gt;</font></tt>
<br><tt><font size=2>&gt; &nbsp; &nbsp; &lt;init-param&gt;</font></tt>
<br><tt><font size=2>&gt; &nbsp; &lt;/filter&gt;</font></tt>
<br><tt><font size=2>&gt; &lt;filter-mapping&gt;</font></tt>
<br><tt><font size=2>&gt; &nbsp; &nbsp; &lt;filter-name&gt;JPivotController&lt;/filter-name&gt;</font></tt>
<br><tt><font size=2>&gt; &nbsp; &nbsp; &lt;url-pattern&gt;/testpage.jsp&lt;/url-pattern&gt;</font></tt>
<br><tt><font size=2>&gt; &nbsp; &lt;/filter-mapping&gt;</font></tt>
<br><tt><font size=2>&gt; And it works very well if this project is not
worked as a portlet in<br>
&gt; jetspeed. But if it works as a portlet in jetspeed, it always fails.<br>
&gt; The error message shows</font></tt>
<br><tt><font size=2>&gt; that the JPivotController doesn’t work. But
I don’t know why. I <br>
&gt; think may be I have written the wrong url-pattern. </font></tt>
<br><tt><font size=2>&gt; Is there any body have integrated Mondrian to
jetspeed successfully?<br>
&gt; Or have good idea for me.</font></tt>
<br><tt><font size=2>&gt; Very &nbsp;appreciated.</font></tt>
<br><tt><font size=2>&gt; &nbsp;_______________________________________________<br>
&gt; Mondrian mailing list<br>
&gt; Mondrian@pentaho.org<br>
&gt; http://lists.pentaho.org/mailman/listinfo/mondrian<br>
</font></tt>