<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3540653746353925941</id><updated>2024-10-01T23:31:46.683-07:00</updated><category term="Data Mining"/><category term="ETL"/><title type='text'>Business Intelligence with SpagoBI</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-954431145036903991</id><published>2010-10-31T12:33:00.000-07:00</published><updated>2010-10-31T12:53:39.059-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Mining"/><title type='text'>About Data Mining Concept (2)</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: medium;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12pt; line-height: 18pt;&quot;&gt;Data Mining&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 16px; line-height: 18px;&quot;&gt;Language&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12pt; line-height: 18pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 16px; font-weight: 800; line-height: 18px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 12pt; line-height: 115%;&quot;&gt;PMML&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 16px; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: 800;&quot;&gt;&amp;nbsp;(Predictive Model Markup Language) &lt;/span&gt;which provides a standard way to represent data mining models so that these can be shared between different statistical applications. PMML is an&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 16px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%; text-decoration: none;&quot;&gt;XML&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 16px; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;-based language developed by the Data Mining Group (DMG), an independent group composed of many data mining companies.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 16px; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18pt; margin-bottom: .0001pt; margin-bottom: 0in; mso-line-height-rule: exactly;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;R (Programming Language)&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: 18px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;R&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;is a&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #0645ad; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;programming language&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;and software environment for&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #0645ad; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;statistical&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;computing and graphics. The R language has become a&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;i&gt;de facto&lt;/i&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;standard among statisticians for the development of statistical software,&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;and is widely used for statistical software development and data analysis.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; line-height: normal;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 18pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Predictive Modeling&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;line-height: 18pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;Predictive modeling&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;is the process by which&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt; a&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;model&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;is created or chosen to try to best predict the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;probability&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;of an outcome.&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;In many cases the model is chosen on the basis of&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;detection theory&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;to try to guess the probability of an outcome given a set amount of input data&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 13.0pt; margin-bottom: .0001pt; margin: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;Models or classifiers can use one or more&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;classifiers&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;in trying to determine the probability of a set of data belonging to another set. Here are some modeling technologies:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3 style=&quot;line-height: 14.55pt; margin-bottom: .05in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Symbol; font-size: 10pt; font-weight: normal;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Naive Bayes&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 14.55pt; margin-bottom: .05in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Symbol; font-size: 10pt; font-weight: normal;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;K-nearest&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt; neighbor algorithm&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 14.55pt; margin-bottom: .05in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Symbol; font-size: 10pt; font-weight: normal;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Majority classifier&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 14.55pt; margin-bottom: .05in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l1 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Symbol;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;·&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Symbol; font-weight: normal; font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Support vector machines&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 14.55pt; margin-bottom: .05in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; text-indent: -.25in;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt; font-weight: normal;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Logistic regression&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 14.55pt; margin-bottom: .05in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo2; text-indent: -.25in;&quot;&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10pt; font-weight: normal;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Uplift Modeling&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;line-height: 14.0pt; margin-bottom: 6.0pt; margin-left: 1.0in; margin-right: 0in; margin-top: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0645ad; font-family: Arial, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
（To be continued）</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/954431145036903991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/10/about-data-mining-concept-2.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/954431145036903991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/954431145036903991'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/10/about-data-mining-concept-2.html' title='About Data Mining Concept (2)'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-3604726160230943361</id><published>2010-10-23T20:29:00.000-07:00</published><updated>2010-10-31T12:24:39.292-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Mining"/><title type='text'>About Data Mining Concept (1)</title><content type='html'>Reader attention: This article is presented as below based on my personal understanding of data processing and data miming. I believe that readers from different background or business domains may have differential understandings, but the basic ideas should be very close.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.55pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Data Analysis&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6.0pt;&quot;&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 12pt;&quot;&gt;Analysis of data&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;is a process of inspecting, cleaning, transforming, and modeling&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt; text-decoration: none;&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;with the goal of highlighting useful&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;information&lt;/span&gt;&lt;span class=&quot;apple-style-span&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;, suggesting conclusions, and supporting decision making.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 115%;&quot;&gt;Data Analysis involves the following activities or technologies:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 18.0pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Symbol; font-size: 9.5pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #002060; font-family: Arial, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;Data mining&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;focusing on data modeling and knowledge discovery for predictive rather than purely descriptive purposes, or in another term, predicative analysis.&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in; margin-left: 0.5in; margin-right: 0in; margin-top: 0in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Symbol; font-size: 9.5pt; line-height: 18pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #002060; font-family: Arial, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;Business intelligence reporting&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;apple-converted-space&quot; style=&quot;line-height: 18pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;focusing on business information extraction, data aggregation, and presentation (like by OLAP or Graph), in a business&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 13px; line-height: 24px;&quot;&gt;environment where business rules are quite clear&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9.5pt; line-height: 18pt;&quot;&gt;. while when we talk about Business Intelligence, it&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 24px;&quot;&gt;usually&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9.5pt; line-height: 18pt;&quot;&gt;&amp;nbsp;refers to all the technologies or approaches used in the Data Analysis in general.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 18.0pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Symbol; font-size: 9.5pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #002060; font-family: Arial, sans-serif; font-size: 9pt;&quot;&gt;Statistical applications&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;, maybe divided into &lt;/span&gt;&lt;span style=&quot;color: #0645ad; font-family: Arial, sans-serif; font-size: 9.5pt; text-decoration: none;&quot;&gt;descriptive statistics&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;,&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0645ad; font-family: Arial, sans-serif; font-size: 9.5pt; text-decoration: none;&quot;&gt;exploratory data analysis (EDA)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;, and&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0645ad; font-family: Arial, sans-serif; font-size: 9.5pt; text-decoration: none;&quot;&gt;confirmatory data analysis (CDA)&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;EDA focuses on discovering new features in the data and CDA on confirming or falsifying existing hypotheses.&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in; margin-left: 0.5in; margin-right: 0in; margin-top: 0in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Symbol; font-size: 9.5pt; line-height: 18pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;line-height: 18pt;&quot;&gt;&lt;span style=&quot;color: #002060; font-family: Arial, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;Predictive analytics&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;apple-converted-space&quot; style=&quot;line-height: 18pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9.5pt; line-height: 18pt;&quot;&gt;focusing on application of statistical or structural models for predictive forecasting or classification, in an&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 24px;&quot;&gt;environment&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9.5pt; line-height: 18pt;&quot;&gt;&amp;nbsp;where business rules or patterns are not clear&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in; margin-left: 0.5in; margin-right: 0in; margin-top: 0in; text-indent: -0.25in;&quot;&gt;&lt;span style=&quot;color: black; font-family: Symbol; font-size: 9.5pt; line-height: 18pt;&quot;&gt;·&lt;span style=&quot;font: normal normal normal 7pt/normal &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;line-height: 18pt;&quot;&gt;&lt;span style=&quot;color: #002060; font-family: Arial, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;Data integration (&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;ETL&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #002060; font-family: Arial, sans-serif; font-size: 9pt; text-decoration: none;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;apple-converted-space&quot; style=&quot;line-height: 18pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;is a pre-process of preparing data for data analysis, while&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0645ad; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt; text-decoration: none;&quot;&gt;data visualization&lt;/span&gt;&lt;span class=&quot;apple-converted-space&quot; style=&quot;line-height: 18pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;and&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0645ad;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9.5pt; line-height: 18pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0645ad;&quot;&gt;data dissemination &lt;/span&gt;are the main&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 24px;&quot;&gt;delivery&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 9.5pt; line-height: 18pt;&quot;&gt;&amp;nbsp;of data analysis results&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt; line-height: 18pt;&quot;&gt;.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: Arial, sans-serif; font-family: Arial, sans-serif; line-height: 18pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;b style=&quot;color: #000066; font-weight: 800; line-height: 18pt;&quot;&gt;&lt;span style=&quot;color: #000066; font-family: Arial, sans-serif; font-size: 12pt;&quot;&gt;Data Mining&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt; is a process of analysis against large data population to find out useful patterns. The information in the patterns is important to business.&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 9.5pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;  Data mining uses the following &lt;b&gt;analysis technologies&lt;/b&gt;: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;line-height: 18pt;&quot;&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; line-height: 18pt;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;Artificial neural networks:&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; Non-linear predictive models that learn through training and resemble biological neural networks in structure.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; line-height: 18pt;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;Genetic algorithms:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: #333333;&quot;&gt; &lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Optimization techniques that use processes such as genetic combination, mutation, and natural selection in a design based on the concepts of natural evolution.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;Decision trees:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: #333333;&quot;&gt; &lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Tree-shaped structures that represent sets of decisions. These decisions generate rules for the classification of a dataset. Specific decision tree methods include Classification and Regression Trees (CART) and Chi Square Automatic Interaction Detection (CHAID). CART and CHAID are decision tree techniques used for classification of a dataset. They provide a set of rules that you can apply to a new (unclassified) dataset to predict which records will have a given outcome. CART segments a dataset by creating 2-way splits while CHAID segments using chi square tests to create multi-way splits. CART typically requires less data preparation than CHAID.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;Nearest neighbor method:&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;color: #333333;&quot;&gt; &lt;/b&gt;&lt;span style=&quot;color: #333333;&quot;&gt;A technique that classifies each record in a dataset based on a combination of the classes of the&amp;nbsp;k-record(s) most similar to it in a historical dataset (where&amp;nbsp;k&amp;nbsp;1).&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;Rule induction:&lt;/span&gt; &lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;The extraction of useful if-then rules from data based on statistical significance.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 19px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;Data visualization:&lt;/span&gt; &lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;The visual interpretation of complex relationships in multidimensional data. Graphics tools are used to illustrate data relationships.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.55pt; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #000066; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Data Mining Process&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 16.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;1)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;Pre-processing&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A target data set must be assembled. The &lt;u&gt;target dataset&lt;/u&gt; must be large enough to contain these patterns while remaining concise enough to be mined in an acceptable timeframe. A common source for data is a &lt;u&gt;data mart&lt;/u&gt; or&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;data warehouse&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-size: 13px;&quot;&gt;The target set is then cleaned. &lt;u&gt;Cleaning&lt;/u&gt; removes the observations with noise and missing data.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The clean data are reduced into&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: windowtext; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-bidi-font-size: 11.0pt; mso-bidi-font-weight: bold; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;feature vectors&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;, one vector per observation. A feature vector is a summarized version of the raw data observation. The feature(s) selected will depend on what the objective(s) is/are; obviously, selecting the &quot;right&quot; feature(s) is fundamental to successful data mining.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The feature vectors are divided into two sets, the &quot;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;training set&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&quot; and the &quot;&lt;/span&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;test set&lt;/span&gt;&lt;/u&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&quot;. The training set is used to &quot;train&quot; the data mining algorithm(s), while the test set is used to verify the accuracy of any patterns found.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;2)&amp;nbsp;Data mining&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: 6.0pt;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Data mining commonly involves four classes of tasks:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.55pt; margin-bottom: 3.0pt; margin-left: 81.0pt; margin-right: 0in; margin-top: 3.0pt; mso-list: l0 level1 lfo1; tab-stops: .5in; text-indent: -63.0pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 9.5pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; text-decoration: none; text-underline: none;&quot;&gt;Clustering&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;- the task of discovering groups and structures in the data that are in some way or another &quot;similar&quot;, without using known structures in the data.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.55pt; margin-bottom: 3.0pt; margin-left: 1.5in; margin-right: 0in; margin-top: 3.0pt; mso-list: l0 level1 lfo1; tab-stops: .5in; text-indent: -1.25in;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 9.5pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; text-decoration: none; text-underline: none;&quot;&gt;Classification&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;-&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;the task of dividing records into predefined groups, by assigning a discrete label value to&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.55pt; margin-bottom: 3.0pt; margin-left: 1.5in; margin-right: 0in; margin-top: 3.0pt; mso-list: l0 level1 lfo1; tab-stops: .5in; text-indent: -1.25in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;an unlabeled record.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.55pt; margin-bottom: 3.0pt; margin-left: 81.0pt; margin-right: 0in; margin-top: 3.0pt; mso-list: l0 level1 lfo1; tab-stops: .5in; text-indent: -63.0pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 9.5pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; text-decoration: none; text-underline: none;&quot;&gt;Regression&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;-&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Attempts to find a function which models the data with the least error, it&#39;s supervised &amp;nbsp; modeling task similar to classification, but the label is not discrete.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.55pt; margin-bottom: 3.0pt; margin-left: 166.3pt; margin-right: 0in; margin-top: 3.0pt; mso-list: l0 level1 lfo1; tab-stops: .5in; text-indent: -148.3pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 9.5pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; text-decoration: none; text-underline: none;&quot;&gt;Association rule learning&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;-&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Searches for relationships between variables.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.0pt; margin-bottom: 3.0pt; margin-left: 166.3pt; margin-right: 0in; margin-top: 3.0pt; mso-list: l0 level1 lfo1; tab-stops: .5in; text-indent: -148.3pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Visualization&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.0pt; margin-bottom: 6.0pt; margin-left: 166.3pt; margin-right: 0in; margin-top: 3.0pt; mso-list: l0 level1 lfo1; tab-stops: .5in; text-indent: -148.3pt;&quot;&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=&quot;color: #333333; font-family: Symbol; font-size: 10.0pt; mso-bidi-font-family: Symbol; mso-bidi-font-size: 9.0pt; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;·&lt;span style=&quot;font: 7.0pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Feature Selection&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #073763;&quot;&gt;3)&amp;nbsp;Results validatio&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;n&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The final step of knowledge discovery from data is to verify the patterns produced by the data mining algorithms occur in the wider data set. Not all patterns found by the data mining algorithms are necessarily valid. It is common for the data mining algorithms to find patterns in the training set which are not present in the general data set, this is called&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;overfitting&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;. To overcome this, the evaluation uses a&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;test set&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;of data which the data mining algorithm was not trained on. The learnt patterns are applied to this test set and the resulting output is compared to the desired output. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 14.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;A number of statistical methods may be used to evaluate the algorithm such as&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ROC curves&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: double windowtext 2.25pt; border: none; mso-element: para-border-div; padding: 0in 0in 1.0pt 0in;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;border: none; line-height: 14.0pt; margin-bottom: 6.0pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt; mso-border-bottom-alt: double windowtext 2.25pt; mso-padding-alt: 0in 0in 1.0pt 0in; padding: 0in;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 9.5pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;If the learnt patterns do not meet the desired standards, then it is necessary to reevaluate and change the preprocessing and data mining. If the learnt patterns do meet the desired standards then the final step is to interpret the learnt patterns and turn them into knowledge.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
(To be continued)</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/3604726160230943361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/10/about-data-mining-concept-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/3604726160230943361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/3604726160230943361'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/10/about-data-mining-concept-1.html' title='About Data Mining Concept (1)'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-1260889601410857919</id><published>2010-09-08T01:02:00.000-07:00</published><updated>2010-09-11T20:26:11.400-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ETL"/><title type='text'>How to Implement ETL Process using Talend + SpagoBI? (2)</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color:#3333FF;&quot;&gt;&lt;div&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color:#3333FF;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;3. Config ETL Job from SpagoBI&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1) In SpagoBI web console, click &quot;User menu&quot; --&gt; &quot;Documents execution&quot;:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1S3ctI-ck2a9P7JYDfEWK42NQbjxbvpzEY1xr_aEp-9R42JavBZ_8q3nmaxEYdRK-WnDp_RtTwLBt-EtNM7GK7RO8bt7XSk-XKSU1hs5lW5Z6A2iVlLz6NH77ssfAg1eESkePZQv_ywY/s1600/ETL-11.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 194px; height: 176px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1S3ctI-ck2a9P7JYDfEWK42NQbjxbvpzEY1xr_aEp-9R42JavBZ_8q3nmaxEYdRK-WnDp_RtTwLBt-EtNM7GK7RO8bt7XSk-XKSU1hs5lW5Z6A2iVlLz6NH77ssfAg1eESkePZQv_ywY/s400/ETL-11.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511683248268016610&quot; /&gt;&lt;/a&gt;&lt;br /&gt;We found that the newly deployed ETL job is already there:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdPxEgFy-LzLPpHiHtA4ksm_lDbAjZkY6EH_4XefzB0g8eZcl7RKTbbcwiKmeBesr3oKLpFi11BhY63uIdID-nAKVnxmi1Pj1lwuN9s81WA6vaw1mGFVBB1HD2Is06bCLtGSD73kGaImE/s1600/ETL-13.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 309px; height: 201px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdPxEgFy-LzLPpHiHtA4ksm_lDbAjZkY6EH_4XefzB0g8eZcl7RKTbbcwiKmeBesr3oKLpFi11BhY63uIdID-nAKVnxmi1Pj1lwuN9s81WA6vaw1mGFVBB1HD2Is06bCLtGSD73kGaImE/s400/ETL-13.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511684766141131938&quot; /&gt;&lt;/a&gt;&lt;br /&gt;This is because the following settings in the file &quot;engine-config.xml&quot; at the folder &quot;tomcat_home/webapps/SpagoBITalendEngine/WEB-INF/classes/&quot;:&lt;br /&gt;&lt;pre style=&quot;overflow: scroll;max-height: 600px; background-color: #FDEDBB;font-size: small;black;width: 570px;&quot;&gt;&lt;br /&gt;&amp;lt;spagobi_autopublish&amp;gt;true&amp;lt;/spagobi_autopublish&amp;gt;&lt;br /&gt;&amp;lt;spagobi_functionality_label&amp;gt;ETL&amp;lt;/spagobi_functionality_label&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;2) Create a &quot;Analytical Driver&quot; for the context variable (parameter) required by the ETL job&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMdnyrJENgvRdsg4bEnSRF_asLkmdOBJmPHhwpBSJVHffPhM4qoSPyZEo5WOXAUEXWd59BQ2WKAxADHI_BUjtS_vXOpcC4C0k_S5N60GsYKN0hwxATS7ClBPa8r1So6WaEhpXmTNWji2k/s1600/ETL-14.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 479px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMdnyrJENgvRdsg4bEnSRF_asLkmdOBJmPHhwpBSJVHffPhM4qoSPyZEo5WOXAUEXWd59BQ2WKAxADHI_BUjtS_vXOpcC4C0k_S5N60GsYKN0hwxATS7ClBPa8r1So6WaEhpXmTNWji2k/s400/ETL-14.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511690198346434610&quot; /&gt;&lt;/a&gt;&lt;br /&gt;And edit the ETL job detail to associate the analytical driver with the context variable &quot;v_lastname&quot; (need to be exactly the same with that defined in ETL job):&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX2PLaUuwCh2CF06KNLZzuqAVpqTww9qTB_tQ17lY3ckwMlV8psRI9mdMVAvwe5wvzruZi_SbXX_VJTGlv3eDs5vJsJ-KmcRiVrmEfTUXiTEgRqVXMMds-pzVRtaNWB-aHLW1ajoyp2hs/s1600/ETL-12.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 519px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX2PLaUuwCh2CF06KNLZzuqAVpqTww9qTB_tQ17lY3ckwMlV8psRI9mdMVAvwe5wvzruZi_SbXX_VJTGlv3eDs5vJsJ-KmcRiVrmEfTUXiTEgRqVXMMds-pzVRtaNWB-aHLW1ajoyp2hs/s400/ETL-12.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511694983325368162&quot; /&gt;&lt;/a&gt;&lt;br /&gt;3) Save the changes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color:#3333FF;&quot;&gt;4. Execute the ETL Job within SpagoBI&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Now, after the settings are done, we can execute the ETL job from within SpagoBI server&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLJUHegOWDJwx_esspibb_SRL8mvL-OXJug_c5NFdez0QebV7ygpaNk4zPxmC8Tv6J8-hxlAx-cUUdBovhfhuYs7eOOrZAX39DIrSxLKkN7KnQqqjSwNG_jLxjUxYWwnTtAJ1y38slvXs/s1600/ETL-15.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 209px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLJUHegOWDJwx_esspibb_SRL8mvL-OXJug_c5NFdez0QebV7ygpaNk4zPxmC8Tv6J8-hxlAx-cUUdBovhfhuYs7eOOrZAX39DIrSxLKkN7KnQqqjSwNG_jLxjUxYWwnTtAJ1y38slvXs/s400/ETL-15.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511697931443226642&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Fill the value for &quot;v_lastname&quot; and execute the job:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirQ59KakK7yr3PNDQjHOFRfzu6wYpmWix9kHHgYC-Y4brgVHVoU7cXnWfp8lYb13e8h74eDf92Rz-S6yVH9D6SjonjYTCrL34Z2czCZXg0yD1WEY69UuuNKrk_EG8oXpwXq3_YRbv036w/s1600/ETL-16.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 211px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirQ59KakK7yr3PNDQjHOFRfzu6wYpmWix9kHHgYC-Y4brgVHVoU7cXnWfp8lYb13e8h74eDf92Rz-S6yVH9D6SjonjYTCrL34Z2czCZXg0yD1WEY69UuuNKrk_EG8oXpwXq3_YRbv036w/s400/ETL-16.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511703743775555650&quot; /&gt;&lt;/a&gt;&lt;br /&gt;ETL process started:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7X9ERs0yc32c_GLltJlpfpvPutPbaFHdhQt3ZyrysvUeZKHvo1wcP90CAM9NjbtIj2K8sg-E3-X5sLqlyfGV93-yAjVikRN4N0jqOD5KpPDhvSgpGEcl7t_AWQxrc5BbJo3XphAjjDv4/s1600/ETL-17.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 292px; height: 71px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7X9ERs0yc32c_GLltJlpfpvPutPbaFHdhQt3ZyrysvUeZKHvo1wcP90CAM9NjbtIj2K8sg-E3-X5sLqlyfGV93-yAjVikRN4N0jqOD5KpPDhvSgpGEcl7t_AWQxrc5BbJo3XphAjjDv4/s400/ETL-17.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511700806951582226&quot; /&gt;&lt;/a&gt;&lt;br /&gt;For more detail about the executed ETL job, we can check it&#39;s event (&quot;User menus&quot; --&gt; &quot;Events&quot;):&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtw1HDWeYf2uuMnFre_jaUGQZ1ySnVSahy8lo3-2fj67h9LpeLOWFIi6bMVpJuxIKbigNr1zMGD4f4xLfxpWU_J02fOj-njwAbpv7d-uGfijW5NbWSwZOq7lVuZsxOJu6XIek4lNTKKps/s1600/ETL-18.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 357px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtw1HDWeYf2uuMnFre_jaUGQZ1ySnVSahy8lo3-2fj67h9LpeLOWFIi6bMVpJuxIKbigNr1zMGD4f4xLfxpWU_J02fOj-njwAbpv7d-uGfijW5NbWSwZOq7lVuZsxOJu6XIek4lNTKKps/s400/ETL-18.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511921442358283810&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Or, by checking the log file at: tomcat_home/logs/SpagoBITalendEngine.log&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color:#3333FF;&quot;&gt;5. Schedule the ETL Job using SpagoBI Scheduler&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1) Click &quot;User menus&quot; --&gt; &quot;Documents execution&quot; and modify ETL document detail&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqGrlmCO6hp4KuQvbokMsV862vOVKZYAhS7VQAHxXdCpuybjNxfC07baAvNQwZjeU5ZOogjfmBC-f0JQQnBx6bAFcG4kCtzYQjxZ9C-TVGroZC9yI4AmC6CPdW8x22qbK4yS8uI0bNDds/s1600/ETL-19.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 191px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqGrlmCO6hp4KuQvbokMsV862vOVKZYAhS7VQAHxXdCpuybjNxfC07baAvNQwZjeU5ZOogjfmBC-f0JQQnBx6bAFcG4kCtzYQjxZ9C-TVGroZC9yI4AmC6CPdW8x22qbK4yS8uI0bNDds/s400/ETL-19.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511925458751503442&quot; /&gt;&lt;/a&gt;&lt;br /&gt;2) Change the document state to &quot;Released&quot;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGNLbQQUvdZDAiln2tAgobC-l7Zi7TQdNBvEw1kvTQ5BbgNiA70a4Fppv2qGAmRLKdgwvgJzcPz-f_Jlb82MuRmdh5vM63eH1mBzJHcktg9CN4fizTZkPQFQpjWZCGuX47sjbxAm3lXSE/s1600/ETL-12.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 519px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGNLbQQUvdZDAiln2tAgobC-l7Zi7TQdNBvEw1kvTQ5BbgNiA70a4Fppv2qGAmRLKdgwvgJzcPz-f_Jlb82MuRmdh5vM63eH1mBzJHcktg9CN4fizTZkPQFQpjWZCGuX47sjbxAm3lXSE/s400/ETL-12.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511926197945831090&quot; /&gt;&lt;/a&gt;Save the change.&lt;br /&gt;&lt;br /&gt;3) Click menu &quot;Tools&quot; --&gt; &quot;Scheduler&quot;, and click the button &quot;New Activity&quot; to add a new activity:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXCJEBX43FdEbpS3URNxyDl87i3WofsrkzU3cfYy28XCbLLwwNyIeIuyQ7iv4_VGIU3juefjYsL0pe_kOzLCZtzcL6iO7SfctvjSUfHES0yWU1pmsge192Q97fBqcilpIoLpOUrtPQ6Q8/s1600/ETL-20.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 351px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXCJEBX43FdEbpS3URNxyDl87i3WofsrkzU3cfYy28XCbLLwwNyIeIuyQ7iv4_VGIU3juefjYsL0pe_kOzLCZtzcL6iO7SfctvjSUfHES0yWU1pmsge192Q97fBqcilpIoLpOUrtPQ6Q8/s400/ETL-20.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511928858189165154&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Also set the way of how to assign values to parameter, then save the activity.&lt;br /&gt;&lt;br /&gt;4) Schedule the activity&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD7XuYD2X8sGwsF_Oc-xWNZCUhMhAU5VAsK8NEzpAvZmRm6srPVG21UGORHFurDmulU5HtHv8k9VMhMQbGqT68fSZLD8FH5fZPX564_-mrMEYAbu8tF9wywECpDWw5i76ogrmr0SXYfhc/s1600/ETL-22.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 114px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD7XuYD2X8sGwsF_Oc-xWNZCUhMhAU5VAsK8NEzpAvZmRm6srPVG21UGORHFurDmulU5HtHv8k9VMhMQbGqT68fSZLD8FH5fZPX564_-mrMEYAbu8tF9wywECpDWw5i76ogrmr0SXYfhc/s400/ETL-22.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511932085282384818&quot; /&gt;&lt;/a&gt;&lt;br /&gt;And create a new schedule for this ETL activity, save the settings, and exit.&lt;br /&gt;So far, the ETL job is scheduled to run.&lt;br /&gt;&lt;br /&gt;5) Check the execution of scheduled job.&lt;br /&gt;Click &quot;User menu&quot; --&gt; &quot;Events&quot; to see events lists, also can check the details of start or end execution of scheduled job.&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR-pP28RMdA2kzXBH6HhyphenhyphenO0zSkUlNzfRZRMFci-X7F4gMWeZwb4xBqcw_AnP-VOpoAnCimRoadLbf2mwfWHLCRA7LFSIPEJOhS6qlGzzd8aOZcUeh1as5bujO13oPwsUJ5dhRTFX6O9_o/s1600/ETL-23.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 241px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR-pP28RMdA2kzXBH6HhyphenhyphenO0zSkUlNzfRZRMFci-X7F4gMWeZwb4xBqcw_AnP-VOpoAnCimRoadLbf2mwfWHLCRA7LFSIPEJOhS6qlGzzd8aOZcUeh1as5bujO13oPwsUJ5dhRTFX6O9_o/s400/ETL-23.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5511934038996845714&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(complete)</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/1260889601410857919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-implement-etl-process-using_31.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/1260889601410857919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/1260889601410857919'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-implement-etl-process-using_31.html' title='How to Implement ETL Process using Talend + SpagoBI? (2)'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1S3ctI-ck2a9P7JYDfEWK42NQbjxbvpzEY1xr_aEp-9R42JavBZ_8q3nmaxEYdRK-WnDp_RtTwLBt-EtNM7GK7RO8bt7XSk-XKSU1hs5lW5Z6A2iVlLz6NH77ssfAg1eESkePZQv_ywY/s72-c/ETL-11.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-3796917890394555713</id><published>2010-09-08T01:01:00.000-07:00</published><updated>2010-09-18T08:48:54.009-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ETL"/><title type='text'>How to Implement ETL Process using Talend + SpagoBI? (1)</title><content type='html'>Talend Open Studio is an open source data integration design tool. It can be used to solve these challenges in complicate enterprise environment: database synchronization or replication; data exchange; ETL (Extract Transform Load) for analytics; Data migration; Complex data transformation and loading; Data quality.&lt;br /&gt;
&lt;br /&gt;
SpagoBI has an ETL engine based on Talend, called SpagoBITalendEngine. The SpagoBI environment provides an server context to schedule or execute ETL process application (which is exported from Talend open studio).&lt;br /&gt;
&lt;br /&gt;
In this short tutorial, I demonstrate using Talend open studio (TOS) to design a simple ETL job to extract data from two Oracle tables, perform data transformation, and load these data into one MySQL table. After the ETL job is tested on TOS, the final job script is exported. The exported job script is a standalone application (in Java or Perl), which contains all the transformation logic and metadata information, and can be executed out side of TOS.&lt;br /&gt;
&lt;br /&gt;
In the following demo, the ETL job is exported/deployed into SpagoBI server, using the deploy tool provided by TOS. On SpagoBI, an ETL document is created and tested, then, it can be released to SpagoBI scheduler.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Environment&lt;br /&gt;
============&lt;br /&gt;
Java: JDK 1.6.0_20&lt;br /&gt;
SpagoBI: version 2.6&lt;br /&gt;
Database 1: Oracle 11g R2 + OE (Order Entry) schema&lt;br /&gt;
Database 2: MySQL 5.1.48&lt;br /&gt;
App Server: Tomcat 6.0.28&lt;br /&gt;
Talend: Open Studio 4.0.2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3333ff;&quot;&gt;1. Design ETL Process using Talend Open Studio (TOS)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1) Download and install TOS from &lt;a href=&quot;http://www.talend.com/&quot;&gt;http://www.talend.com/&lt;/a&gt;; for how to use TOS , please see TOS user manual for detail.&lt;br /&gt;
&lt;br /&gt;
2) Define the data source (Oracle) connection and data target (MySQL) connection in the repository of TOS, as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisbGtIzCFyJb_btqcoL71sNvOXMmb_fBbY8ZPx6we6xOFGZjKqyHYMUf5DQ9n4qaWUFb0d-uxkXSpSRXAyga2gadkgHraEBu-HoVP21UNMCcWYdrf25ULQ4Rb7qtAKckCYOkEqkcDLQ_M/s1600/ETL-2.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5511556503342089362&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisbGtIzCFyJb_btqcoL71sNvOXMmb_fBbY8ZPx6we6xOFGZjKqyHYMUf5DQ9n4qaWUFb0d-uxkXSpSRXAyga2gadkgHraEBu-HoVP21UNMCcWYdrf25ULQ4Rb7qtAKckCYOkEqkcDLQ_M/s400/ETL-2.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 269px; margin: 0px auto 10px; text-align: center; width: 265px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
and &quot;Retrieval Schema&quot; to find out the two source tales (&quot;ORDERS&quot;, &quot;CUSTOMERS&quot;) and one target table (&quot;ORDR_CUST&quot;);&lt;br /&gt;
&lt;br /&gt;
3) Design the ETL flow&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpKzGYH-QA8tPhUUnhagJsWNvzR1WBjeh-LGguCvcudZDsI4NyvByVsjrHVBOPHKXo8s8Nru5O7uyQIVDB5Sxu0Ggsf28LQmP1GZeJPjEcN9FeHEWQqya9F0W8e_BQCwhKLKpdtaX_-3w/s1600/ETL-3.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5511559211721143538&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpKzGYH-QA8tPhUUnhagJsWNvzR1WBjeh-LGguCvcudZDsI4NyvByVsjrHVBOPHKXo8s8Nru5O7uyQIVDB5Sxu0Ggsf28LQmP1GZeJPjEcN9FeHEWQqya9F0W8e_BQCwhKLKpdtaX_-3w/s400/ETL-3.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 251px; margin: 0px auto 10px; text-align: center; width: 600px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
and config the tMap component to embed the transformation logic&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia4Ds3d8xeacyopbd4P_HH_zG0RIhFQOMcsAxS6XbDo2GttJjnMXknar_girvnN9079o_A8-kAQLXO1KLqkV9pHlnCVuG7teM_D3nQKX54_faVB_P6YAYu0LFCEzKAxh2q0nsooSfG484/s1600/ETL-4.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5511560892941021026&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia4Ds3d8xeacyopbd4P_HH_zG0RIhFQOMcsAxS6XbDo2GttJjnMXknar_girvnN9079o_A8-kAQLXO1KLqkV9pHlnCVuG7teM_D3nQKX54_faVB_P6YAYu0LFCEzKAxh2q0nsooSfG484/s400/ETL-4.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 290px; margin: 0px auto 10px; text-align: center; width: 600px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
4) Create a context variable &quot;v_lastname&quot; to restrict the data retrieved from table &quot;CUSTOMERS&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxuBexaL8OOXHeqssK-68JaXB4I-GhuCL3y_-eJ7SZS3s8h2VIKOMw1zQTuGCtbsApOIKQnqoq4ynjpJJjz6S3YyS7Pqj1TGWUNXZdA9ly5qz728V5pStVI7yxwTJIwa8mZumLPdmiWYk/s1600/ETL-5.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5511564308806291634&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxuBexaL8OOXHeqssK-68JaXB4I-GhuCL3y_-eJ7SZS3s8h2VIKOMw1zQTuGCtbsApOIKQnqoq4ynjpJJjz6S3YyS7Pqj1TGWUNXZdA9ly5qz728V5pStVI7yxwTJIwa8mZumLPdmiWYk/s400/ETL-5.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 108px; margin: 0px auto 10px; text-align: center; width: 500px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVgIE8P8pOk8hN_-N7b2UpHBgbRpxZnaVJJUjxn3M2KnMUAboMyuy8pm4ixuMPTPpZ-XxPwPIRO6zavTHtTwwm7kSOBoa77lH7IAYeb0uuNRoY7XHBZYOUBXBjT9Wl2LxTiacZcz_KXDw/s1600/ETL-6.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5511564411035403346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVgIE8P8pOk8hN_-N7b2UpHBgbRpxZnaVJJUjxn3M2KnMUAboMyuy8pm4ixuMPTPpZ-XxPwPIRO6zavTHtTwwm7kSOBoa77lH7IAYeb0uuNRoY7XHBZYOUBXBjT9Wl2LxTiacZcz_KXDw/s400/ETL-6.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 135px; margin: 0px auto 10px; text-align: center; width: 500px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim3RYOxK3rnur817hD7zeN_c2BNCdsve5qYT22UqXYCjLZ6YqNnh7o5EwPpb4vgKHT9eXyEcaZZFGUYfCBarOWMVtcCoKjhmCAWNISUD70SG_oC8wpWD10ZA6hHyCsx5E3yRQND3piqQ8/s1600/ETL-7.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5511567049003022386&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEim3RYOxK3rnur817hD7zeN_c2BNCdsve5qYT22UqXYCjLZ6YqNnh7o5EwPpb4vgKHT9eXyEcaZZFGUYfCBarOWMVtcCoKjhmCAWNISUD70SG_oC8wpWD10ZA6hHyCsx5E3yRQND3piqQ8/s400/ETL-7.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 300px; margin: 0px auto 10px; text-align: center; width: 500px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
5) Make sure that both the source and target databases are running. Run the ETL job from within the TOS. Check the target database (MySQL) table &quot;ORDR_CUST&quot; to verify that it has been populated or refreshed.&lt;br /&gt;
&lt;br /&gt;
So far so good, the ETL job is designed and tested good on TOS.&lt;br /&gt;
From the next step, we will deploy the ETL job to SPagoBI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3333ff;&quot;&gt;2. Deploy to SpagoBI Server&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1) Make sure that SpagoBI server is running.&lt;br /&gt;
&lt;br /&gt;
2) Config the TOS deploy tool&lt;br /&gt;
On TOS, select &quot;Windows&quot; --&amp;gt; &quot;Preferences&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPlecizj-EEDaX__5Mq07XqZVWAn4s8cSD1trWBwgo3GQl6Kd4g_BEQfkSKoceevNfkeXwB_AO5MR5tHOThx3H_RGSrpaQk0XlsJQ3oD-EM1rs1uwAmSrf_O6Rh_sdb41VmaEfBXGqxkk/s1600/ETL-8.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5511571667416675266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPlecizj-EEDaX__5Mq07XqZVWAn4s8cSD1trWBwgo3GQl6Kd4g_BEQfkSKoceevNfkeXwB_AO5MR5tHOThx3H_RGSrpaQk0XlsJQ3oD-EM1rs1uwAmSrf_O6Rh_sdb41VmaEfBXGqxkk/s400/ETL-8.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 408px; margin: 0px auto 10px; text-align: center; width: 600px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
3) Run the TOS deploy tool&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioH4r9TYUIzGDSq6JGFQ5VDv2Pk-2BZZacoEsp3r9Dolxk0qOZaBDiO2qZGzCp_9_5fFXDjrSRoElp19KVXVY-pVvGzaUZdSlHmtX3B-E0QJTHDPmjIYm_idg5AGIDfqyfvi5hP7YzN28/s1600/ETL-9.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5511573089279775250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioH4r9TYUIzGDSq6JGFQ5VDv2Pk-2BZZacoEsp3r9Dolxk0qOZaBDiO2qZGzCp_9_5fFXDjrSRoElp19KVXVY-pVvGzaUZdSlHmtX3B-E0QJTHDPmjIYm_idg5AGIDfqyfvi5hP7YzN28/s400/ETL-9.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 400px; margin: 0px auto 10px; text-align: center; width: 276px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPrCyGY2sejGYNbQyfY-VQzUbGgjpl4ibP_9WDk81oV7xlnH-tOBftOY5vW9wXVyS5kZtwv1UdY2B2e5y4_O7jDUfhuZNfBU8E3hXGEeWeSQnNqBi8hu2Oie8ceV1sPvBB4Ri1tyxSEA0/s1600/ETL-10.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5511573207927193010&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPrCyGY2sejGYNbQyfY-VQzUbGgjpl4ibP_9WDk81oV7xlnH-tOBftOY5vW9wXVyS5kZtwv1UdY2B2e5y4_O7jDUfhuZNfBU8E3hXGEeWeSQnNqBi8hu2Oie8ceV1sPvBB4Ri1tyxSEA0/s400/ETL-10.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 289px; margin: 0px auto 10px; text-align: center; width: 400px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
4) ETL job is successfully deployed to SpagoBI server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(to be continued)</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/3796917890394555713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-implement-etl-process-using.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/3796917890394555713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/3796917890394555713'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-implement-etl-process-using.html' title='How to Implement ETL Process using Talend + SpagoBI? (1)'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisbGtIzCFyJb_btqcoL71sNvOXMmb_fBbY8ZPx6we6xOFGZjKqyHYMUf5DQ9n4qaWUFb0d-uxkXSpSRXAyga2gadkgHraEBu-HoVP21UNMCcWYdrf25ULQ4Rb7qtAKckCYOkEqkcDLQ_M/s72-c/ETL-2.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-7517218645033822642</id><published>2010-08-14T13:36:00.001-07:00</published><updated>2010-08-16T09:16:20.012-07:00</updated><title type='text'>How to Build OLAP Application Using Mondrian + XMLA + SpagoBI? (3)</title><content type='html'>&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;5. Config XMLAEngine to Access OLAP Server via XMLA&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;On previous section, we have deployed OLAP schema file on Mondrian OLAP server and tested the OLAP cube from XMLA interface.&lt;br /&gt;&lt;br /&gt;At this section, we will config the OLAP schema on SpagoBI environment to enable the OLAP front-end tool (SpagoBI) to perform OLAP analysis against Mondrian OLAP server.&lt;br /&gt;&lt;br /&gt;1) Install and config the SpagoBI XMLAEngine; for detail information, please refer to the document about &lt;a href=&quot;https://wiki.spagobi.org/xwiki/bin/view/spagobi_server/XMLAEngine&quot;&gt;XMLAEngine&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;2) Edit the file &quot;engine-config.xml&quot; (under: TOMCAT_HOME/webapps/SpagoBIXmlaEngine/WEBINF/classes/). Make it looks like:&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;overflow: scroll;max-height: 600px; background-color: #FDEDBB;font-size: small;black;width: 570px;&quot;&gt;&lt;br /&gt;&amp;lt;ENGINE-CONFIGURATION&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;CONNECTIONS-CONFIGURATION defaultConnectionName=&quot;mondrianXMLA&quot; &amp;gt;    &lt;br /&gt;&amp;lt;CONNECTION name=&quot;mondrianXMLA&quot;  type=&quot;xmla&quot;&lt;br /&gt; xmlaServerUrl=&quot;http://localhost:8080/mondrian/xmla&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/CONNECTIONS-CONFIGURATION&amp;gt;&lt;br /&gt;   &lt;br /&gt;    ...&lt;br /&gt;&lt;br /&gt;&amp;lt;SCHEMAS&amp;gt;&lt;br /&gt;&amp;lt;SCHEMA catalogUri=&quot;/WEB-INF/queries/SalesHistory.xml&quot; name=&quot;SalesHistory&quot; /&amp;gt;&lt;br /&gt;&amp;lt;/SCHEMAS&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/ENGINE-CONFIGURATION&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;3) Save the changes and re-start the Tomcat server;&lt;br /&gt;&lt;br /&gt;4) To test that the &quot;SalesHistory&quot; OLAP schema on Mondrian server is visible from SpagoBI environment via XMLA interface, modify the file &quot;xmla.jsp&quot; under: TOMCAT_HOME/webapps/SpagoBIJPXMLAEngine/WEB-INF/queries;&lt;br /&gt;&lt;br /&gt;Replace the MDX query with the following one:&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;overflow: scroll;max-height: 600px; background-color: #FDEDBB;font-size: small;black;width: 570px;&quot;&gt;&lt;br /&gt;SELECT {[Measures].[Quantity Sold], [Measures].[Amount Sold]} ON columns,&lt;br /&gt;Hierarchize({([Gender].[All Genders], [Location].[All Locations])}) ON rows FROM [Sales]&lt;br /&gt;WHERE ([Time].[All Times])&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Save the change, and click the following URL:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://localhost:8080/SpagoBIJPXMLAEngine/testpage.jsp?query=xmla&quot;&gt;http://localhost:8080/SpagoBIJPXMLAEngine/testpage.jsp?query=xmla&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We should see the same display as:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic1ojoAxAsE6dWXeCM-Pk-wFp3U953ip0rXdME6Megh-lTpInZ1zTSzYUeQun1UEOihh6JqHtDDVb6ZPk1G__CsZ6vcWDvYWxaELcelw7x-2JUBvJIN4W3JdTwQa5tdsG1tCrZkVRN-Hc/s1600/Schema-test-3.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 266px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic1ojoAxAsE6dWXeCM-Pk-wFp3U953ip0rXdME6Megh-lTpInZ1zTSzYUeQun1UEOihh6JqHtDDVb6ZPk1G__CsZ6vcWDvYWxaELcelw7x-2JUBvJIN4W3JdTwQa5tdsG1tCrZkVRN-Hc/s400/Schema-test-3.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5505370719860523682&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;6. Build OLAP Document from SpagoBI&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;We have configured and confirmed that everything is working so far. The last thing to do is to create an OLAP document from SpagoBI dashboard. This OLAP document will be used by users to perform OLAP analysis against the OLAP cube (and data warehouse) we defined before.&lt;br /&gt;&lt;br /&gt;1) Insert an OLAP document by clicking the &quot;Insert&quot; button:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht7lZIAF3marxQGUW2XueWnpG5GeUxMz9JVoARLFHAkiiY2g_qbDBaFcQK_GW33eavR5hZmzX1913PmxVtDwEQgxpGS-NCSM-wWpyUhpPuvAtJB0iC9MYIEk4rZ_g1QG4M6d6a7z4HMRc/s1600/OLAP-doc-1.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 342px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht7lZIAF3marxQGUW2XueWnpG5GeUxMz9JVoARLFHAkiiY2g_qbDBaFcQK_GW33eavR5hZmzX1913PmxVtDwEQgxpGS-NCSM-wWpyUhpPuvAtJB0iC9MYIEk4rZ_g1QG4M6d6a7z4HMRc/s400/OLAP-doc-1.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5506026949966691954&quot; /&gt;&lt;/a&gt;&lt;br /&gt;2) Config the document detail page as shown below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhP-Mp_vRUV5XYvivhBkvLlKO8bR2V-dIugFGX3Ez1YPGqkO6P_Or5G_vifcMS257PnQsJ0IjMcV34nd78WFmhgelGKm798vsSHs1BBRlBBTqgPwz5f1iNmeTCYe6Uq12vZ_H8x52D9U4/s1600/OLAP-doc-2.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 448px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhP-Mp_vRUV5XYvivhBkvLlKO8bR2V-dIugFGX3Ez1YPGqkO6P_Or5G_vifcMS257PnQsJ0IjMcV34nd78WFmhgelGKm798vsSHs1BBRlBBTqgPwz5f1iNmeTCYe6Uq12vZ_H8x52D9U4/s400/OLAP-doc-2.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5506030778778068242&quot; /&gt;&lt;/a&gt;&lt;br /&gt;3) Save the document, and click the &quot;Template Build&quot; button to config &amp;amp; save a template file:&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYFXoh_2P615YLoy3VuaRhEfG0xpxxucCgvVa21RAJfHfgAHTSZRYsEU6xyhGGNDy0ISJIvSue1ARYJfAFxH7rR4V4oDUX-gnhYl0QN2ixgUS6aX0fVQX9llcaJIXk313y9NyS_ijFzQM/s1600/OLAP-doc-4.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 449px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYFXoh_2P615YLoy3VuaRhEfG0xpxxucCgvVa21RAJfHfgAHTSZRYsEU6xyhGGNDy0ISJIvSue1ARYJfAFxH7rR4V4oDUX-gnhYl0QN2ixgUS6aX0fVQX9llcaJIXk313y9NyS_ijFzQM/s400/OLAP-doc-4.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5506034675283731186&quot; /&gt;&lt;/a&gt;&lt;br /&gt;4) Save the template (or add parameters if need):&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj1oEMXfvod3wartDkyyNMpSRA0dOYazz4PIgCsHeTIUuiBPpt3wz5GwtT315IkTCOciSTunXQrHLr_sjls21jMgBKuwXFHroY2fXhXje8EYJRNpbbcOwi37QgwX4_BgYX7YrQniv7_fM/s1600/OLAP-doc-5.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 450px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj1oEMXfvod3wartDkyyNMpSRA0dOYazz4PIgCsHeTIUuiBPpt3wz5GwtT315IkTCOciSTunXQrHLr_sjls21jMgBKuwXFHroY2fXhXje8EYJRNpbbcOwi37QgwX4_BgYX7YrQniv7_fM/s400/OLAP-doc-5.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5506037963702239730&quot; /&gt;&lt;/a&gt;&lt;br /&gt;5) Execute the newly build OLAP document (application).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(Complete)</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/7517218645033822642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-build-olap-application-using_14.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/7517218645033822642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/7517218645033822642'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-build-olap-application-using_14.html' title='How to Build OLAP Application Using Mondrian + XMLA + SpagoBI? (3)'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic1ojoAxAsE6dWXeCM-Pk-wFp3U953ip0rXdME6Megh-lTpInZ1zTSzYUeQun1UEOihh6JqHtDDVb6ZPk1G__CsZ6vcWDvYWxaELcelw7x-2JUBvJIN4W3JdTwQa5tdsG1tCrZkVRN-Hc/s72-c/Schema-test-3.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-2811183584577492138</id><published>2010-08-13T08:13:00.000-07:00</published><updated>2010-08-14T20:00:41.236-07:00</updated><title type='text'>How to Build OLAP Application Using Mondrian + XMLA + SpagoBI? (2)</title><content type='html'>&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;3. Design Aggregation Tables&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When the fact table contains huge number of rows, then the query to calculate at higher dimension levels will take longer time, because of the need to scan full dataset; another reason is with how ROLAP works, without aggreation (pre-calculation), ROLAP will read detail data from database tables and calculate on the fly.&lt;br /&gt;&lt;br /&gt;To solve the performance issue with huge fact tables, we can build aggregate tables which contain pre-calculated summary data. The build of aggregate tables should be a part of the ETL process that populate / refresh  the data warehouse.&lt;br /&gt;&lt;br /&gt;We will use &quot;Aggregation Designer&quot; to help design the aggregate tables.&lt;br /&gt;&lt;br /&gt;1) Start &quot;Pentaho Aggregation Designer&quot;; (can be downloaded from &lt;a href=&quot;http://mondrian.pentaho.com/&quot;&gt;http://mondrian.pentaho.com&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;2) Config the &quot;Database Properties&quot;; In this sample, we use Oracle database.&lt;br /&gt;&lt;br /&gt;3) Connect to Data Source, using the OLAP schema file that we created before, as shown below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXyD9Y9OBBe-SVNjIypWXQ7VonPHm-qbh6Y5Rv_QcTabgOWr-OEMFkWeHp0dQ8yZG_ydv1W2XUejJdmbf2DOhr1BBIb49YmQRO67UHWZqq9UEiUKWFDRLPpmrwTwzidLRLl2Kq3axeL-c/s1600/agg-designer-1.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 424px; height: 600px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXyD9Y9OBBe-SVNjIypWXQ7VonPHm-qbh6Y5Rv_QcTabgOWr-OEMFkWeHp0dQ8yZG_ydv1W2XUejJdmbf2DOhr1BBIb49YmQRO67UHWZqq9UEiUKWFDRLPpmrwTwzidLRLl2Kq3axeL-c/s400/agg-designer-1.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5505334989160707410&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4) then click &quot;Connect&quot; button. Once the schema has been consumed and parsed, the Aggregation Designer performs a series of validations to ensure the database is suitable for creation and the validation result is displayed.&lt;br /&gt;&lt;br /&gt;5) we can use &quot;Aggregation Designer&quot; in two ways - Manual or Automated (Advisor). For demo purpose, I manually created two Aggregations.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidVPelhpFdk-KlTBgU_IbKI9LIftF8YUVBER8ggsRWbENTHYD6JufbfMynu4VBiMZkoEdg7AMkcy2zy8yvN08uzviVGmJOofh9Pq_GEOBjOhe6TLa8sOx4SadfoPOlpNAJxEvRH7K7EWM/s1600/agg-designer-2.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 312px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidVPelhpFdk-KlTBgU_IbKI9LIftF8YUVBER8ggsRWbENTHYD6JufbfMynu4VBiMZkoEdg7AMkcy2zy8yvN08uzviVGmJOofh9Pq_GEOBjOhe6TLa8sOx4SadfoPOlpNAJxEvRH7K7EWM/s400/agg-designer-2.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5505339664842672114&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6) to export the aggregation design, click &quot;Export&quot; button.&lt;br /&gt;From the &quot;Export and Publish&quot; window, we can Preview the scripts for creating the aggregation tables; Create the aggregation tables; or Populate the aggregation tables; or Export (save) the Mondrian Schema file (with definition for aggregations) for deploy on Mondrian OLAP server.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKijows0hndG6bhIBZwUloAvvG70kM5LR4ng94cmlHJxuZAxyBIgeesgeAlHLwb3q2ozMztwyCqJzgyjkHuM-1pWx88InAgRp0BZuXAyFFlepPafDjgv1h3Qw5_glzdUHWTYD2lVFrco/s1600/agg-designer-3.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 363px; height: 400px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAKijows0hndG6bhIBZwUloAvvG70kM5LR4ng94cmlHJxuZAxyBIgeesgeAlHLwb3q2ozMztwyCqJzgyjkHuM-1pWx88InAgRp0BZuXAyFFlepPafDjgv1h3Qw5_glzdUHWTYD2lVFrco/s400/agg-designer-3.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5505342652437491682&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;4. Deploy Schema File in Mondrian&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Suppose that Mondrian OLAP server is setup. (for how to install &amp;amp; config Mondrian OLAP server, please see my other article.)&lt;br /&gt;&lt;br /&gt;1) Put the schema file &quot;SalesHistory.xml&quot; under: TOMCAT_HOME/webapps/mondrian/WEB-INF/queries;&lt;br /&gt;&lt;br /&gt;2) Create file &quot;datasources.xml&quot; under: TOMCAT_HOME/webapps/mondrian/WEB-INF. This file may look like this:&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;overflow: scroll;max-height: 600px; background-color: #FDEDBB;font-size: small;black;width: 700px;&quot;&gt;&lt;br /&gt;&amp;lt;DataSources&amp;gt;&lt;br /&gt;&amp;lt;DataSource&amp;gt;&lt;br /&gt;    &amp;lt;DataSourceName&amp;gt;Provider=Mondrian;DataSource=MondrianFoodMart;&amp;lt;/DataSourceName&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;DataSourceDescription&amp;gt;Mondrian FoodMart Data Warehouse&amp;lt;/DataSourceDescription&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;URL&amp;gt;http://localhost:8080/mondrian/xmla&amp;lt;/URL&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;DataSourceInfo&amp;gt;Provider=mondrian;Jdbc=jdbc:oracle:thin:@localhost:1521:orcl1;&lt;br /&gt;            JdbcUser=sh;JdbcPassword=xxx;JdbcDrivers=oracle.jdbc.OracleDriver;&lt;br /&gt;            Catalog=/WEB-INF/queries/SalesHistory.xml&lt;br /&gt;     &amp;lt;/DataSourceInfo&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;ProviderName&amp;gt;Mondrian&amp;lt;/ProviderName&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;ProviderType&amp;gt;MDP&amp;lt;/ProviderType&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;AuthenticationMode&amp;gt;Unauthenticated&amp;lt;/AuthenticationMode&amp;gt;&lt;br /&gt;&lt;br /&gt;    &amp;lt;Catalogs&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;Catalog name=&quot;SalesHistory&quot;&amp;gt;&lt;br /&gt;             &amp;lt;DataSourceInfo&amp;gt;Provider=mondrian;Jdbc=jdbc:oracle:thin:@localhost:1521:orcl1;&lt;br /&gt;                  JdbcUser=sh;JdbcPassword=xxx;JdbcDrivers=oracle.jdbc.OracleDriver;&lt;br /&gt;                  Catalog=/WEB-INF/queries/SalesHistory.xml&lt;br /&gt;             &amp;lt;/DataSourceInfo&amp;gt;&lt;br /&gt;             &amp;lt;Definition&amp;gt;/WEB-INF/queries/SalesHistory.xml&amp;lt;/Definition&amp;gt;&lt;br /&gt;        &amp;lt;/Catalog&amp;gt;&lt;br /&gt;&lt;br /&gt;     &amp;lt;/Catalogs&amp;gt;&lt;br /&gt;&amp;lt;/DataSource&amp;gt;&lt;br /&gt;&amp;lt;/DataSources&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;3) modify the file &quot;mondrian.properties&quot; under: TOMCAT_HOME/webapps/mondrian/WEB-INF/classes &lt;div&gt;&lt;br /&gt;Add the following two lines to allow the use of aggregates:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000066;&quot;&gt;mondrian.rolap.aggregates.Use=true&lt;br /&gt;mondrian.rolap.aggregates.Read=true&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4) re-start the Tomcat server;&lt;br /&gt;&lt;br /&gt;5) to test that the deployed OLAP schema is working, modify the file &quot;xmla.jsp&quot; under: TOMCAT_HOME/webapps/mondrian/WEB-INF/queries;&lt;br /&gt;&lt;br /&gt;Replace the MDX query with the following one:&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;overflow: scroll;max-height: 600px; background-color: #FDEDBB;font-size: small;black;width: 700px;&quot;&gt;&lt;br /&gt;SELECT {[Measures].[Quantity Sold], [Measures].[Amount Sold]} ON columns,&lt;br /&gt;Hierarchize({([Gender].[All Genders], [Location].[All Locations])}) ON rows FROM [Sales]&lt;br /&gt;WHERE ([Time].[All Times])&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Save the change, and click the following:&lt;br /&gt;&lt;br /&gt;http://localhost:8080/mondrian/testpage.jsp?query=xmla&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic1ojoAxAsE6dWXeCM-Pk-wFp3U953ip0rXdME6Megh-lTpInZ1zTSzYUeQun1UEOihh6JqHtDDVb6ZPk1G__CsZ6vcWDvYWxaELcelw7x-2JUBvJIN4W3JdTwQa5tdsG1tCrZkVRN-Hc/s1600/Schema-test-3.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 266px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic1ojoAxAsE6dWXeCM-Pk-wFp3U953ip0rXdME6Megh-lTpInZ1zTSzYUeQun1UEOihh6JqHtDDVb6ZPk1G__CsZ6vcWDvYWxaELcelw7x-2JUBvJIN4W3JdTwQa5tdsG1tCrZkVRN-Hc/s400/Schema-test-3.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5505370719860523682&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(to be continued)&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/2811183584577492138/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-build-olap-application-using_13.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/2811183584577492138'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/2811183584577492138'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-build-olap-application-using_13.html' title='How to Build OLAP Application Using Mondrian + XMLA + SpagoBI? (2)'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXyD9Y9OBBe-SVNjIypWXQ7VonPHm-qbh6Y5Rv_QcTabgOWr-OEMFkWeHp0dQ8yZG_ydv1W2XUejJdmbf2DOhr1BBIb49YmQRO67UHWZqq9UEiUKWFDRLPpmrwTwzidLRLl2Kq3axeL-c/s72-c/agg-designer-1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-270495592869085703</id><published>2010-08-09T06:44:00.000-07:00</published><updated>2010-08-14T12:36:35.929-07:00</updated><title type='text'>How to Build OLAP Application Using Mondrian + XMLA + SpagoBI? (1)</title><content type='html'>Mondrian is an OLAP (Online Analytical Processing) server that enables business users to analyze large quantities of data in real-time. Users explore business data by drilling into and cross-tabulating information with speed-of-thought response times to complex analytical queries.&lt;br /&gt;&lt;br /&gt;XMLA (XML for Analysis) is the industry standard for data access in analytical systems, such as OLAP and Data Mining. XMLA is based on other industry standards such as XML, SOAP and HTTP. In this tutorial, we use Mondrian OLAP server as XMLA provider.&lt;br /&gt;&lt;br /&gt;SpagoBI use SpagoBIXMLAEngine to query external XMLA compliant server like Mondrian OLAP server.&lt;br /&gt;&lt;br /&gt;This tutorial demonstrate the steps to build the OLAP application using Mondrian OLAP server as XMLA provider and SpagoBI as reporting frontend.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Environment&lt;br /&gt;============&lt;br /&gt;SpagoBI: version 2.6&lt;br /&gt;Mondrian: 3.2.0.13661&lt;br /&gt;Schema Workbench: 3.2.0&lt;br /&gt;Aggregation Designer: 1.2.0&lt;br /&gt;Database: Oracle 11g R2 + SH (Sales History) schema&lt;br /&gt;Java: JDK 1.6&lt;br /&gt;App Server: Tomcat 6.0.28&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;&lt;b&gt;1. Prepare Data Warehouse&lt;/b&gt;&lt;/span&gt;&lt;div&gt;&lt;br /&gt;We use the Oracle sample database SH (Sales History) as our data warehouse.&lt;br /&gt;The SH tables are in snowflake schema, as shown below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSxrwd2QKymy9ZNTYxsRkjNvmpU4dMjYRBNh2CYjKbY9q6n-OoAoQIBos89tR3Ai2hS6l-X78NMBC6SY4QPK1uBX9rZv2jgSUYVgh4_seCAE1TxVp8WYyMQGwysYFETASe9__GD-BE_WU/s1600/SH-schema.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 560px; height: 465px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSxrwd2QKymy9ZNTYxsRkjNvmpU4dMjYRBNh2CYjKbY9q6n-OoAoQIBos89tR3Ai2hS6l-X78NMBC6SY4QPK1uBX9rZv2jgSUYVgh4_seCAE1TxVp8WYyMQGwysYFETASe9__GD-BE_WU/s400/SH-schema.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5504852478726112082&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000066;&quot;&gt;&lt;b&gt;2. Build OLAP Model&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;In Mondrian, we use schema file (in XML format) to define the OLAP model.  The schema file contains a logical model, consisting of cubes, hierarchies, and members, and a mapping of this model onto a physical model.&lt;br /&gt;&lt;br /&gt;There are two ways to build the schema file: 1) by using a text editor; or 2) by using schema workbench. In this demonstration, We use schema workbench  to build the OLAP logical model. To learn more about the Mondrian schema syntax and how to use Mondrian Schema Workbench, please goto &lt;a href=&quot;http://mondrian.pentaho.com/&quot;&gt;http://mondrian.pentaho.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0d6XhKXkOGPO8ZS-Mw-MxihZ9p_XdXRVWUCV3pDjxMQ8RibVph6OCmgNLt_ddicqOi_lzvKDzayfuPQkmT9HTAs_WyG7pr5Ej0saVfNzCXKDP5b_3AfkXfbfvlf5VDJjzPS26koSAJu0/s1600/schema-workbench.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 412px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0d6XhKXkOGPO8ZS-Mw-MxihZ9p_XdXRVWUCV3pDjxMQ8RibVph6OCmgNLt_ddicqOi_lzvKDzayfuPQkmT9HTAs_WyG7pr5Ej0saVfNzCXKDP5b_3AfkXfbfvlf5VDJjzPS26koSAJu0/s400/schema-workbench.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5504884051950618818&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We can test the above schema by executing MDX query:&lt;br /&gt;First, start the &quot;MDX Query&quot; window:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZOgUDabdq5YGozO2lsWNctCy67JSCBlG5YT4bCjCrqroyYPZrzJVoM6ZcWJT9QHLHxEOjeLhU74PFwNoqwPvfBfBJkFLXvOdub4fiagkeWB14ECDTeSsy7E13Yw_ENyBNZJDaWin3WZw/s1600/Schema-test-1.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 242px; height: 111px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZOgUDabdq5YGozO2lsWNctCy67JSCBlG5YT4bCjCrqroyYPZrzJVoM6ZcWJT9QHLHxEOjeLhU74PFwNoqwPvfBfBJkFLXvOdub4fiagkeWB14ECDTeSsy7E13Yw_ENyBNZJDaWin3WZw/s400/Schema-test-1.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5504908296012198834&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then, test the OLAP schema as shown:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwglX1UTOOCVxbkYcHXC_oOuOPY12i06bemDkUGx2ETcsn5olQeDuI_2bEJngzfaG_9m8kJXmdIOYK2ztxFzgt-hHTpVOw0T-jusqC-g7M0V1CcY8iiOznGeQOp_DbEpkg_FEQv_-4Ij8/s1600/Schema-test-2.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 600px; height: 404px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwglX1UTOOCVxbkYcHXC_oOuOPY12i06bemDkUGx2ETcsn5olQeDuI_2bEJngzfaG_9m8kJXmdIOYK2ztxFzgt-hHTpVOw0T-jusqC-g7M0V1CcY8iiOznGeQOp_DbEpkg_FEQv_-4Ij8/s400/Schema-test-2.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5504911909214093218&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Finally, save the schema file as &quot;SalesHistory.xml&quot; and exit Schema Workbench.&lt;br /&gt;&lt;br /&gt;Below is the detail schema file:&lt;br /&gt;&lt;br /&gt;&lt;pre style=&quot;overflow: scroll;max-height: 600px; background-color: #FDEDBB;font-size: small;black;width: 700px;&quot;&gt;&lt;br /&gt;&amp;lt;Schema name=&quot;SalesHistory&quot;&amp;gt;&lt;br /&gt; &amp;lt;Cube name=&quot;Sales&quot; cache=&quot;true&quot; enabled=&quot;true&quot;&amp;gt;&lt;br /&gt;   &amp;lt;Table name=&quot;SALES&quot; schema=&quot;SH&quot;&amp;gt;&lt;br /&gt;   &amp;lt;/Table&amp;gt;&lt;br /&gt;   &amp;lt;Dimension type=&quot;StandardDimension&quot; foreignKey=&quot;CUST_ID&quot; name=&quot;Gender&quot;&amp;gt;&lt;br /&gt;     &amp;lt;Hierarchy hasAll=&quot;true&quot; allMemberName=&quot;All Genders&quot; primaryKey=&quot;CUST_ID&quot;&amp;gt;&lt;br /&gt;       &amp;lt;Table name=&quot;CUSTOMERS&quot; schema=&quot;SH&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Table&amp;gt;&lt;br /&gt;       &amp;lt;Level name=&quot;Gender&quot; column=&quot;CUST_GENDER&quot; type=&quot;String&quot;&lt;br /&gt;              uniqueMembers=&quot;true&quot; levelType=&quot;Regular&quot; hideMemberIf=&quot;Never&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Level&amp;gt;&lt;br /&gt;     &amp;lt;/Hierarchy&amp;gt;&lt;br /&gt;   &amp;lt;/Dimension&amp;gt;&lt;br /&gt;   &amp;lt;Dimension type=&quot;TimeDimension&quot; foreignKey=&quot;TIME_ID&quot; name=&quot;Time&quot;&amp;gt;&lt;br /&gt;     &amp;lt;Hierarchy hasAll=&quot;true&quot; primaryKey=&quot;TIME_ID&quot;&amp;gt;&lt;br /&gt;       &amp;lt;Table name=&quot;TIMES&quot; schema=&quot;SH&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Table&amp;gt;&lt;br /&gt;       &amp;lt;Level name=&quot;Year&quot; column=&quot;CALENDAR_YEAR&quot; type=&quot;Integer&quot; uniqueMembers=&quot;true&quot;&lt;br /&gt;              levelType=&quot;TimeYears&quot; hideMemberIf=&quot;Never&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Level&amp;gt;&lt;br /&gt;       &amp;lt;Level name=&quot;Quarter&quot; column=&quot;CALENDAR_QUARTER_NUMBER&quot; type=&quot;Integer&quot;&lt;br /&gt;              uniqueMembers=&quot;false&quot; levelType=&quot;TimeQuarters&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Level&amp;gt;&lt;br /&gt;       &amp;lt;Level name=&quot;Month&quot; column=&quot;CALENDAR_MONTH_NUMBER&quot; uniqueMembers=&quot;false&quot;&lt;br /&gt;              type=&quot;Integer&quot; levelType=&quot;TimeMonths&quot; hideMemberIf=&quot;Never&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Level&amp;gt;&lt;br /&gt;       &amp;lt;Level name=&quot;Day&quot; column=&quot;DAYS_IN_CAL_MONTH&quot; type=&quot;Integer&quot;&lt;br /&gt;              uniqueMembers=&quot;false&quot; levelType=&quot;TimeDays&quot; hideMemberIf=&quot;Never&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Level&amp;gt;&lt;br /&gt;     &amp;lt;/Hierarchy&amp;gt;&lt;br /&gt;   &amp;lt;/Dimension&amp;gt;&lt;br /&gt;   &amp;lt;Dimension type=&quot;StandardDimension&quot; foreignKey=&quot;CUST_ID&quot; name=&quot;Location&quot;&amp;gt;&lt;br /&gt;     &amp;lt;Hierarchy hasAll=&quot;true&quot; primaryKey=&quot;CUST_ID&quot; primaryKeyTable=&quot;CUSTOMERS&quot;&amp;gt;&lt;br /&gt;       &amp;lt;Join leftKey=&quot;COUNTRY_ID&quot; rightKey=&quot;COUNTRY_ID&quot;&amp;gt;&lt;br /&gt;         &amp;lt;Table name=&quot;CUSTOMERS&quot; schema=&quot;SH&quot;&amp;gt;&lt;br /&gt;         &amp;lt;/Table&amp;gt;&lt;br /&gt;         &amp;lt;Table name=&quot;COUNTRIES&quot; schema=&quot;SH&quot;&amp;gt;&lt;br /&gt;         &amp;lt;/Table&amp;gt;&lt;br /&gt;       &amp;lt;/Join&amp;gt;&lt;br /&gt;       &amp;lt;Level name=&quot;Country&quot; table=&quot;COUNTRIES&quot; column=&quot;COUNTRY_NAME&quot; type=&quot;String&quot;&lt;br /&gt;              uniqueMembers=&quot;true&quot; levelType=&quot;Regular&quot; hideMemberIf=&quot;Never&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Level&amp;gt;&lt;br /&gt;       &amp;lt;Level name=&quot;State&quot; table=&quot;CUSTOMERS&quot; column=&quot;CUST_STATE_PROVINCE&quot; type=&quot;String&quot;&lt;br /&gt;              uniqueMembers=&quot;true&quot; levelType=&quot;Regular&quot; hideMemberIf=&quot;Never&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Level&amp;gt;&lt;br /&gt;       &amp;lt;Level name=&quot;City&quot; table=&quot;CUSTOMERS&quot; column=&quot;CUST_CITY&quot; type=&quot;String&quot;&lt;br /&gt;              uniqueMembers=&quot;true&quot; levelType=&quot;Regular&quot; hideMemberIf=&quot;Never&quot;&amp;gt;&lt;br /&gt;       &amp;lt;/Level&amp;gt;&lt;br /&gt;     &amp;lt;/Hierarchy&amp;gt;&lt;br /&gt;   &amp;lt;/Dimension&amp;gt;&lt;br /&gt;   &amp;lt;Measure name=&quot;Quantity Sold&quot; column=&quot;QUANTITY_SOLD&quot; datatype=&quot;Numeric&quot;&lt;br /&gt;            formatString=&quot;#,###&quot; aggregator=&quot;sum&quot; visible=&quot;true&quot;&amp;gt;&lt;br /&gt;   &amp;lt;/Measure&amp;gt;&lt;br /&gt;   &amp;lt;Measure name=&quot;Amount Sold&quot; column=&quot;AMOUNT_SOLD&quot; datatype=&quot;Numeric&quot;&lt;br /&gt;            formatString=&quot;#,###.##&quot; aggregator=&quot;sum&quot; visible=&quot;true&quot;&amp;gt;&lt;br /&gt;   &amp;lt;/Measure&amp;gt;&lt;br /&gt; &amp;lt;/Cube&amp;gt;&lt;br /&gt;&amp;lt;/Schema&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;(to be continued)&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/270495592869085703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-build-olap-application-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/270495592869085703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/270495592869085703'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/08/how-to-build-olap-application-using.html' title='How to Build OLAP Application Using Mondrian + XMLA + SpagoBI? (1)'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSxrwd2QKymy9ZNTYxsRkjNvmpU4dMjYRBNh2CYjKbY9q6n-OoAoQIBos89tR3Ai2hS6l-X78NMBC6SY4QPK1uBX9rZv2jgSUYVgh4_seCAE1TxVp8WYyMQGwysYFETASe9__GD-BE_WU/s72-c/SH-schema.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-552914758623123217</id><published>2010-07-08T06:35:00.002-07:00</published><updated>2010-07-08T11:21:55.813-07:00</updated><title type='text'>How to Install &amp; Config Mondrian OLAP Server? (1)</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Mondrian is an OLAP server written in Java. It enables you to interactively analyze very large datasets stored in SQL databases without writing SQL.&lt;br /&gt;&lt;br /&gt;SpagoBI uses SpagoBIXMLAEngine to access XMLA compliant server like Mondiran OLAP server.&lt;br /&gt;&lt;br /&gt;This article records the detail of installing and configuring Mondrian OLAP server on the following environment. The solution below solved the reported issues that mondrian don&#39;t work well with JDK 1.6. You can find these issues at &lt;a href=&quot;http://pentaho-en.phi-integration.com/mondrian/configuring-mondrian-sample/jpivot-pivot-table-by-xmla&quot;&gt;here&lt;/a&gt; or &lt;a href=&quot;http://pentaho-en.phi-integration.com/troubleshoot/jpivot-pivot-table-by-xmla--jdk-1-6--tomcat-6-0-16-and-windows-xp&quot;&gt;there&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Environment&lt;br /&gt;============&lt;br /&gt;SpagoBI: version 2.5&lt;br /&gt;OS Server: Windows server 2008 R2 (x64)&lt;br /&gt;App Server: Tomcat 6.0.26&lt;br /&gt;Database: MySQL 5.1.48&lt;br /&gt;Java: JDK 1.6 or JDK 1.5&lt;br /&gt;Mondrian: 3.2.0.13661&lt;br /&gt;Axis: 1.4&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;b&gt;Prepare Works&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Download Tomcat server 6.0.26 from &lt;/span&gt;&lt;a href=&quot;http://tomcat.apache.org/download-60.cgi&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;, and unzip to local folder &lt;/span&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;b&gt;tomcat_home&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;b&gt;/&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Download MySQL server 5 and jdbc driver (&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;mysql-connector-java-5.1.12-bin.jar&lt;/span&gt;) from &lt;/span&gt;&lt;a href=&quot;http://dev.mysql.com/downloads/mysql/&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;, and setup by following MySQL documentation;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Download Mondrian 3.2.0.13661 from &lt;/span&gt;&lt;a href=&quot;http://sourceforge.net/projects/mondrian/&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;, and unzip to local folder &lt;/span&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;b&gt;mondrian-3.2.0.13661/&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Download Apache Axis 1.4 from &lt;/span&gt;&lt;a href=&quot;http://ws.apache.org/axis/&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;, and unzip to local folder &lt;/span&gt;&lt;span style=&quot;font-style:italic;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;axis-1_4/&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;b&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;Setup the Test Data in MySQL&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Please follow the official &lt;/span&gt;&lt;a href=&quot;http://mondrian.pentaho.org/documentation/installation.php&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Mondrian installation guide&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; to install the test database &quot;foodmart&quot; into MySQL database.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Deploy Mondrian Web Application to Tomcat&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:medium;&quot;&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Explode the war file&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;mondrian-3.2.0.13661/lib/mondrian.war&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;) to the  folder at&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;tomcat_home/webapps/mondrian&lt;/span&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Delete the following jar files:&lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;  &quot;&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;saaj-api.jar&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;saaj-ri.jar&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;xalan.jar&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;from the folder:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;tomcat_home/webapps/mondrian/WEB-INF/lib&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Copy from the folder &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;  &quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;axis-1_4/lib&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;  these jar files:&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:18px;&quot;&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;axis.jar&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;commons-discovery-0.2.jar&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;saaj.jar&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;jaxrpc.jar&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;wsdl4j-1.5.1.jar&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;/span&gt; to the folder:&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;tomcat_home/webapps/mondrian/WEB-INF/lib&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Also copy MySQL jdbc driver jar file to the folder ; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;tomcat_home/webapps/mondrian/WEB-INF/lib&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Modify the file &lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;mondrian.properties&lt;/span&gt; from the folder&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-family:&#39;courier new&#39;;&quot;&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;tomcat_home/webapps/mondrian/WEB-INF&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Modify the file &lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;datasources.xml &lt;/span&gt;&lt;/span&gt;from the folder&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;i&gt;tomcat_home/webapps/mondrian/WEB-INF&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Modify the file &lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;web.xml&lt;/span&gt; from the above same folder;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Modify the &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;fourhier.jsp, mondrian.jsp, colors.jsp, testrole.jar, &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;and &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;arrows.jsp&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot; font-weight: normal;  &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; files as specified in mondrian installation guide from the folder:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;b&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;tomcat_home/webapps/mondrian/WEB-INF/queries&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Start MySQL Database&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Start Tomcat server&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#3333FF;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Hit&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://localhost:8080/mondrian&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;http://localhost:8080/mondrian&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:arial;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/552914758623123217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/07/how-to-install-config-mondrian-olap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/552914758623123217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/552914758623123217'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/07/how-to-install-config-mondrian-olap.html' title='How to Install &amp; Config Mondrian OLAP Server? (1)'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-1199594354153033325</id><published>2010-07-08T06:35:00.001-07:00</published><updated>2010-07-09T07:57:37.863-07:00</updated><title type='text'>How to Install &amp; Config Mondrian OLAP Server? (2)</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;In the first part of the article, I introduced the steps to setup &amp;amp; config the Mondrian OLAP server deploying on Tomcat (application) server, to run against the test database on MySQL (database) server.&lt;br /&gt;&lt;br /&gt;By clicking the URL http://localhost:8080/mondrian, you will see the following Mondrian examples page:&lt;br /&gt;&lt;br /&gt;By clicking each of the examples, manipulating the OLAP control panel provided by JPivot interface, you can navigate through the OLAP dimensions, drill through, and control the display layout.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;JPivot pivot table&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This example uses JPivot&#39;s interface (JSP tag - mondrianQuery) to send query to Mondrian&#39;s API (Mondrian query executor) to access Sales cube (whose schema information is defined in FoodMart.xml file).&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;select&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;{[Measures].[Unit Sales],  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;[Measures].[Store Cost], &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;[Measures].[Store Sales]} on columns, &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;{([Promotion Media].[All Media],  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;[Product].[All Products])} ON rows&lt;br /&gt;from &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Sales&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;JPivot pivot table by XMLA&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This example uses JPivot&#39;s interface (JSP tag - xmlaQuery) to access Sales cube via XML for Analysis interface (Mondrian as XMLA provider).&lt;br /&gt;&lt;br /&gt;This example use the same MDX query as above.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;JPivot with 4 hierarchies&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This example uses JPivot&#39;s interface (JSP tag - mondrianQuery) to send query to Mondrian&#39;s API (Mondrian query executor) to access Sales cube, but by 4 dimensions (Gender, Martial Status, Customers, Product), the MDX query as:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;select &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;{[Measures].[Unit Sales], &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[Measures].[Store Cost], &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[Measures].[Store Sales]} on columns,&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;{([Gender].[All Gender], &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[Marital Status].[All Marital Status],&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[Customers].[All Customers],&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[Product].[All Products] ) } on rows&lt;br /&gt;from &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;Sales &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;where &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;([Time].[1997])&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;JPivot with role &#39;California Manager&#39; set&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This example also uses JPivot&#39;s interface (JSP tag - mondrianQuery) to send query to Mondrian&#39;s API (Mondrian query executor) to access Sales cube with role limitation setting to &quot;California manager&quot;. So, it only show the data that&#39;s available to &quot;California manager&quot;.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;select&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;{[Measures].[Unit Sales], &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[Measures].[Store Cost], &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[Measures].[Store Sales]} on columns,&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;{([Marital Status].[All Marital Status], &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[Customers], &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;[Product].[All Products])} on rows&lt;br /&gt;from &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;Sales&lt;br /&gt;where &lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;([Time].[1997])&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;JPivot with arrows&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This example also uses JPivot&#39;s interface (JSP tag - mondrianQuery) to send query to Mondrian&#39;s API (Mondrian query executor) to access Sales cube with the following MDX query:&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;with member &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;[Measures].[ROI] as  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&#39;(([Measures].[Store Sales]-[Measures].[Store Cost])/          &lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;[Measures].[Store Cost])&#39;,  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;format_string = &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;IIf((((([Measures].[Store Sales]-[Measures].[Store Cost])&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;   &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;/[Measures].[Store Cost]) * 100.0) &gt; 150.0), &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;   &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&quot;|#.00%|arrow=&#39;up&#39;&quot;, &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;IIf((((([Measures].[Store Sales]-[Measures].[Store Cost])&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;   &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;/[Measures].[Store Cost]) * 100.0) &lt;&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;/i&gt;&lt;/div&gt;&lt;i&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;   &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&quot;|#.00%|arrow=&#39;down&#39;&quot;, &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&quot;|#.00%|arrow=&#39;none&#39;&quot;))&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;select &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;{[Measures].[ROI], &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;[Measures].[Store Cost],  &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;[Measures].[Store Sales]} ON columns, &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;{[Product].[All Products]} ON rows &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;from &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;[Sales] &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;where &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot; ;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;i&gt;[Time].[1997]&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;This example introduce the conditional style to ROI measure display with image.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;JPivot with colors&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;This example also uses JPivot&#39;s interface (JSP tag - mondrianQuery) to send query to Mondrian&#39;s API (Mondrian query executor) to access Sales cube with the following MDX query:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;i&gt;with member &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;i&gt;[Measures].[ROI] as &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;i&gt;&#39;(([Measures].[Store Sales]-[Measures].[Store Cost])/&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;i&gt;[Measures].[Store Cost])&#39;, &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;i&gt;format_string = &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;i&gt;IIf((((([Measures].[Store Sales]-[Measures].[Store Cost])/     &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;   &lt;/i&gt;&lt;/span&gt;&lt;i&gt;[Measures].[Store Cost]) * 100.0) &gt; 150.0),&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;   &lt;/i&gt;&lt;/span&gt;&lt;i&gt;&quot;|#.00%|style=&#39;green&#39;&quot;, &lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;  &lt;/i&gt;&lt;/span&gt;&lt;i&gt;IIf((((([Measures].[Store Sales]-[Measures].[Store Cost])/&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;   &lt;/i&gt;&lt;/span&gt;&lt;i&gt;[Measures].[Store Cost]) * 100.0) &lt;&gt;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;/i&gt;&lt;/div&gt;&lt;i&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt;   &lt;/i&gt;&lt;/span&gt;&lt;i&gt;&quot;|#.00%|style=&#39;red&#39;&quot;,    &quot;#.00%&quot;))&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;i&gt;select  &lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;i&gt;{[Measures].[ROI], &lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;i&gt;[Measures].[Store Cost], &lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;i&gt;[Measures].[Store Sales]} ON columns, &lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;   style=&quot;  ;font-family:&#39;courier new&#39;;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;i&gt;{[Product].[All Products]} ON rows&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;i&gt;from &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;i&gt;[Sales]&lt;br /&gt;where &lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-family:&#39;courier new&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;i&gt;[Time].[1997]&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;This example introduce the conditional style to ROI measure display with color.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;Various queries formatted using the Mondrian tag-library&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;br /&gt;This example shows the use of Mondrian MDX tag-library to transform &amp;amp; format    the data layout.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;Basic interface for ad hoc queries&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;br /&gt;This example provides a way to execute the ad-hoc MDX query against Mondrian OLAP server. MDXQueryServlet receives MDX queries, executes them, and formats the results in an HTML table.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#000099;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;XML for Analysis tester&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;br /&gt;&lt;br /&gt;This example provides another way to execute ad-hoc MDX query against Mondrian OLAP server via XML for Analysis interface. DefaultXmlaServlet receives MDX queries, executes them, and formats the results in an HTML table.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/i&gt;&lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/1199594354153033325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/07/how-to-install-config-mondrian-olap_08.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/1199594354153033325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/1199594354153033325'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/07/how-to-install-config-mondrian-olap_08.html' title='How to Install &amp; Config Mondrian OLAP Server? (2)'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-1961916000699229216</id><published>2010-06-29T06:03:00.000-07:00</published><updated>2010-06-29T07:40:29.796-07:00</updated><title type='text'>How to Implement Subreports using JasperReport and SpagoBI?</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#0000EE;&quot;&gt;&lt;u&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;color:#0000EE;&quot;&gt;&lt;u&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;This article records the steps to implement subreports and their master report using JasperReport (iReport) and deploy them to SpagoBI reporting server.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Both sub-reports and master report are reports. Sub-reports, like building blocks, can be insert into master report to generate complex reports. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;Environment&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;============&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;SpagoBI: version 2.5&lt;br /&gt;Data Source: OE example database on Oracle 11g R2&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;iReport : version 3.7.3&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span&gt;&lt;span&gt;  &lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;We are going to create Order (master) report to show order level data and Order Items  (sub-report) report to show order detail data. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;b&gt;1)  Create a sub-report to display the order items detail for one order.&lt;/b&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Open iReport, create the order items detail report -- “subreport_orderitems”&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Report Query:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvGyaSKiL2NRlIpdS3hc71S1Tm6sMWlj4A86ajDjUygdju2uP1n1HLLi_YEAh7suJp8K2WEtT47Op4b8Eb15annEB1UNlLjnDhoSScpUWE7z4N6OHRHlhlLNzBEN67XtudnlIjNx_50uA/s400/SR-query.jpg&quot; /&gt;&lt;/div&gt;&lt;div&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left:.5in&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Report Layout:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxBqULqGQTVGeeJUKF-N2gQHfvYXsRXBJey89UL6CfrVupZHGQJgLUk1nJK6-IUWvgTqOVTntaAzZFUMO7c2CakAxycOQv8j0YPlekUg8dfeCNsGu87u-HESNVFQbdg-voryYznVKaGc0/s400/SR-layout.jpg&quot; /&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;margin-left:.5in&quot;&gt;&lt;/p&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;2)&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; Create the master report to show order level data and insert the sub-report (detail) to show the order item level data. &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:180%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 18px;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Using iReport to create the master (order level) report -- “Master_Order” &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Report Query:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuBMYokg7AhToOJlCydF3BYmFTDRXq1-qzkKFiYuFArpd7vsPEDZrIEbOvZJ7swVfyFaiUHKKtVNU_WjauHqz9KErV0Wn082v_ghggKt1ChawWkQuEgjhmjRvwUQCA5OvXjLlvp9qpL9A/s400/MR-query.jpg&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; &quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Report Layout:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinYfgwiCIUamOb9UFX4TBTa7WVl-1kRfVYwfjJ7cWQGwwOuKe6xv817b2SJIPoBrDfoSQEgDjNei5AMlSCn3qQv4WCNNEPhhNbhDfWTPBgnlVV7dHEwgCbrHg2ApTQBZbtA6AOfkw5ivo/s400/MR-layout.jpg&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; white-space: pre; &quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Sub-report Parameter:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH82L7KjyNta1_6xnmwa6GPY9W0Eu-QuHw8uBIUEEFR5XXbpkDdVrNOVsAtHQGPcpxrH3s7vxdIl4AZ9ms6wYnQHxjQQYci8sa_Vw5RXeSB7ukq4jYTq6oReJIPG4Ec1ko0-gk8Gv_vWQ/s400/MR-par4sr.jpg&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Setup sub-report parameter(s) in master report will let master report know how to pass values to sub-0report. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:180%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Create a variable (parameter) -- “SBI_RESOURCE_PATH” &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;On SpagoBI reporting server, this variable will point to folder: &lt;/span&gt;&lt;i&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Tomcat_home/resources/img/&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; Later, we will copy resource files (needed by this example) to the above folder on SpagoBI server.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;On developer workstation (in iReport), we can set this variable a default value to point to a local folder where the image files reside.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Resource - Image Expression&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFy0nCuQDbOssuAhtBkZGEhKIIJFyF8kzYcgSBl6IJ1c92j1wdPrlFnrgCnlkyUrwe7QSHiu5MC9_yriII_cg5Uk9nypTWIKiE7VJOz6c2hIC8GQaU4GRVj9fPVN_BX7axXEX7i9-4_i4/s400/MR-image1.jpg&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; &quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;And&lt;/span&gt;&lt;/div&gt;&lt;span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2Hgxr1tX3ALmvu7hhdrB_bFwXjVDiIqo1Cp22DGc1xbmMFEV91f7pVVaue6TOTbaIQ1lH3ifpAKkuf4Zb6MP4QB-Nu3EHUEk8CR6smG6ecJLplq1Z-osjxNc440cUwaK9NLwsTHH5L6c/s400/MR-image2.jpg&quot; /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;  style=&quot;font-size:180%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 18px;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Subreport Expression:  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;The subreport file (“subreport_orderitems”) should be just referenced (or pointed) by its name in master report (“Master_Order”).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span&gt;&lt;span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9lWjue1G7M5vH4MgGeJWCcA1UyBdTy-0SUFBP9Zfiz3OZIE6XejN9Ly75CIFIEbhzQ54cvyXyHgbs_eCOXvv48PCZvuQf-RO_si-xFvwuHNRjdD6dBCGJvHJUZXgx8MZjgg_rL5FdpBM/s400/MR-image3.jpg&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; Finally, test the Master / subreport. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;3)  Prepare to deploy to SpagoBI reporting server  &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Copy the resource files (in this example, two image files “coffee.jpg” and “coffee_stain.png”) from your local developing environment to the folder on SpagoBI reporting server:  &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;i&gt;&lt;b&gt;Tomcat_home/resources/img/&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;4)  Deploy to SpagoBI reporting server&lt;/span&gt;&lt;/b&gt;&lt;span&gt;  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;First, add an analytical driver for the parameter (in this example, the parameter name is “p_OrderID”) used in the report, as below:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrfwQ0llzmtrcoh8xJu5yiMP9DvzXdmdXKpPDDkG11DBETJ7ILsiMs3eDCI3FO1NLh3eOd2FwoZTPn_6Rymc4HWE4jIPQAipAuPm9BkBfZkrQVUCbzBu6-DqT9-Uo_2zW1mw2X3kXAJFI/s400/MR-image4.jpg&quot; /&gt;&lt;/div&gt;&lt;span&gt;&lt;br /&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;You may also need to specify the “Roles Associations” and “Predefined Value Constraints” for this parameter.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrIbqGqlcwupr7HsOxJH2Ea5E9K9xH9iyEcyDAeMM54NsiOeQlr4_DaatG46ByRn-XA3uHb7bFl-3VqfNAwcP2vJjQZxy6oLeG0T3fxdF501XYFJ77tOWY9JDgyif7kjXZGK-yBmPOm5I/s400/MR-image5.jpg&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Click the “Save and return” button. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; white-space: pre; &quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Then, click “insert” button to insert the “Document” for sub-report:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYO3wl-6XnnzPvbE28TalD1_8ZV5Yl62PcUW4AhXuWA1K8qeWtPImskk6bQHQrKab4zT3LDvMStYJKstFHjx5OENrSwqBs6ta8G0a5HcbK19vw-oBI0iBdADaf2esGmEfMI-Tog5LScZU/s400/MR-image7-1.jpg&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBffAkUJYcl4W-sO_rBh_0NJAHb_vF9k11g_xY_7mskzyb4ten-S2MEau0dLZw_pwgeR-YfIRtPXZqT_WypH0PUOjU1OJWnSJkNJ9-oCAzBHmP2_fdAiWjv-DgPNmYTpF5aN_Ms4ydQS0/s400/MR-image6-2.jpg&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Click the “Save and return” button.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; Next, click “insert” button to insert a “Document” for the Master report:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeEcc9zbhsj7n4cYzp1aplvhjWc9e8fgqNw9bidGbRdl9G9mcpSoEqhpP-e5p6cjWTB0INKZnpg3I5D_eiPKWAHc6CxJWKRQFNram_5ruZIhq4-XpA8AI9brD36eZFnho0Of4RORvDMb0/s400/MR-image6-1.jpg&quot; /&gt;&lt;/div&gt;&lt;span&gt;&lt;span&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBffAkUJYcl4W-sO_rBh_0NJAHb_vF9k11g_xY_7mskzyb4ten-S2MEau0dLZw_pwgeR-YfIRtPXZqT_WypH0PUOjU1OJWnSJkNJ9-oCAzBHmP2_fdAiWjv-DgPNmYTpF5aN_Ms4ydQS0/s400/MR-image6-2.jpg&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Click the “Links” button to specify the sub-report document that this master (report) document will use.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-WM3ftNGC6FOGkX68bUWPAse7NMDkwVxR5HiOk80Tqj1ATRUposVXcPexpAwjpf4ULwsKa7Rr_UNl39LqXZSxuoBdPrIsGJGYdZMs6FfZ7vKgHrKBfjw3Yja_l91XnndX5DdfVPA9HSc/s400/MR-image8.jpg&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Click the “Save and return” button. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Click the “Save and return” button. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Test the Master report:  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Click “User Menu” --&gt; “Documents Execution”, and run the report “OrderEntry_Master”: &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-HvVbsc2Wi-t9RvgRpOuXLCMNRnznCXOYwGdikMF0N5aU-LPx1z85RbppACV7cM2oDDkYfO7tRnqxNg34kjgcv18aDgAzRAK_yEdTNXASuTcEv0Cbb3eCOpbkW6K_K0ywfclUrM_dz5A/s400/MR-image9.jpg&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Final report output:&lt;/span&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEij7CvgrCPdCsurViBjH2FkXxA9iQadi9aRaQ3UjoW4IIE55pGPYkvtwIUqKQxPf7G7Uo-VhifwlyqtVXMIamkSPKuUMfvfwKuWV0zxwddgFMiVdxX6g3OG-eXOr5wRSBDjPvuIpgp8GiQ/s400/MR-image10.jpg&quot; /&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/1961916000699229216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/06/how-to-implement-subreports-using.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/1961916000699229216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/1961916000699229216'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/06/how-to-implement-subreports-using.html' title='How to Implement Subreports using JasperReport and SpagoBI?'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvGyaSKiL2NRlIpdS3hc71S1Tm6sMWlj4A86ajDjUygdju2uP1n1HLLi_YEAh7suJp8K2WEtT47Op4b8Eb15annEB1UNlLjnDhoSScpUWE7z4N6OHRHlhlLNzBEN67XtudnlIjNx_50uA/s72-c/SR-query.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-4684170934257833082</id><published>2010-06-24T07:34:00.000-07:00</published><updated>2010-06-24T09:34:18.488-07:00</updated><title type='text'>How to Tune SpagoBI + Tomcat</title><content type='html'>In the previous section, I showed how to install and config the Oracle data source connection in SpagoBI 2.5 step-by-step. This time, I will show the steps of tuning the SpagoBI 2.5 environment.&lt;br /&gt;&lt;br /&gt;Environment&lt;br /&gt;============&lt;br /&gt;SpagoBI: version 2.5&lt;br /&gt;OS Server: Windows server 2008 R2 (x64)&lt;br /&gt;App Server: Tomcat 6.0.18 (in the SpagoBI demo package)&lt;br /&gt;Java: JDK 1.6.0_20&lt;br /&gt;&lt;br /&gt;Problems&lt;br /&gt;============&lt;br /&gt;Here is the screenshot of Tomcat console:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRV6nhNaDr3yTc3ezEsfUhmYtzge5Ls4yzfcXXFB7dNggsKWep8CrxsHNiLX_Uf4FN316m7ZXz4fKzWIXUZUvnN5Ga_StWtP0Islf9ERED2l-DzbF6fXwBCu5VVxD1OdiDafb7RYDADiQ/s1600/SpagoBI-9.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 143px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRV6nhNaDr3yTc3ezEsfUhmYtzge5Ls4yzfcXXFB7dNggsKWep8CrxsHNiLX_Uf4FN316m7ZXz4fKzWIXUZUvnN5Ga_StWtP0Islf9ERED2l-DzbF6fXwBCu5VVxD1OdiDafb7RYDADiQ/s400/SpagoBI-9.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5486354598917830850&quot; /&gt;&lt;/a&gt;&lt;br /&gt;We can find three issues:&lt;br /&gt;1) APR (Apache Portable Runtime) is not installed by default. APR is to provide superior scalability, performance, and better integration with native server technologies;&lt;br /&gt;2) No persistent store is configured for session management;&lt;br /&gt;3) There is log4j warning of log4j system not being initialized properly;&lt;br /&gt;&lt;br /&gt;Fixes&lt;br /&gt;=============&lt;br /&gt;1) First, download APR from &lt;a href=&quot;http://tomcat.heanet.ie/native/&quot;&gt;here&lt;/a&gt;, and save to folder like &lt;span style=&quot;font-style:italic;&quot;&gt;Tomcat_home\APR&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ovTEF9sE1pY89Ll8y3I7_nYE_U10ho__RjbjkoSX0wsyJnGqZMwoxD42zt8kD9GuARhQaCKRrRY0yeYP8n3ik6QIBiDSjX3pdIJlpuKh8Q7dkN4kPF3fWnWZnDeI3G5vCCgmEpdYEDA/s1600/SpagoBI-11.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 58px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ovTEF9sE1pY89Ll8y3I7_nYE_U10ho__RjbjkoSX0wsyJnGqZMwoxD42zt8kD9GuARhQaCKRrRY0yeYP8n3ik6QIBiDSjX3pdIJlpuKh8Q7dkN4kPF3fWnWZnDeI3G5vCCgmEpdYEDA/s400/SpagoBI-11.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5486376312183318162&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Then, open and edit file &quot;Tomcat_home\bin\catalina.bat&quot;, and add one line after &quot;:okHome&quot;, just like below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU5Uq5t6YoHdPhmX8Q2fyUysBXhWQkdlpxaSKimLLpu0S-fsxSqYhE9kDmgKTE62BPFbaJYyYv7bsZzs-WQDFzFQYWG8ADZye9BUD_0FSHpfbAiMrebBWKhKesmuSQ2j4zHM2qrAXRyKA/s1600/SpagoBI-10.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 360px; height: 73px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU5Uq5t6YoHdPhmX8Q2fyUysBXhWQkdlpxaSKimLLpu0S-fsxSqYhE9kDmgKTE62BPFbaJYyYv7bsZzs-WQDFzFQYWG8ADZye9BUD_0FSHpfbAiMrebBWKhKesmuSQ2j4zHM2qrAXRyKA/s400/SpagoBI-10.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5486361650862025106&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) Edit the file &quot;context.xml&quot; at &quot;&lt;span style=&quot;font-style:italic;&quot;&gt;tomcat_home\webapps\SpagoBI\META-INF&lt;/span&gt;&quot;:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGHqumGsmJ00mNoPVeuj9rYIWiKTAc4R-LRp82k27EVQmdUTwZ9ofJJOG3d0xrW6j8z-kVRlcK_Bwb8QtS7xM6VngUl-pYQHH4cqxkexd1BJzw-eHFH3fn4YiNvj5TtYoBpcaFiUd1RO8/s1600/SpagoBI-12.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 114px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGHqumGsmJ00mNoPVeuj9rYIWiKTAc4R-LRp82k27EVQmdUTwZ9ofJJOG3d0xrW6j8z-kVRlcK_Bwb8QtS7xM6VngUl-pYQHH4cqxkexd1BJzw-eHFH3fn4YiNvj5TtYoBpcaFiUd1RO8/s400/SpagoBI-12.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5486377744152246226&quot; /&gt;&lt;/a&gt;&lt;br /&gt;The same change can apply to other context file;&lt;br /&gt;&lt;br /&gt;3) Edit the file &quot;log4j.properties&quot; at &quot;&lt;span style=&quot;font-style:italic;&quot;&gt;tomcat_home\webapps\SpagoBIJPXMLAEngine\WEB-INF\classes&lt;/span&gt;&quot;:&lt;br /&gt;&lt;br /&gt;Add the following 2 lines:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf-Iu0wCZhvoDgVGce2iNWES7HCio70yzbFB2vkWZVbz-uix9mV5hapQyFu_z3nCCKDl3ocHV2JNoU3S1eiarTBT2CFHTtfNXO-BajqyP7t9Q9P9qP0-KIKFPtxRnEXOmE0JqiCMySACw/s1600/SpagoBI-13.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 28px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf-Iu0wCZhvoDgVGce2iNWES7HCio70yzbFB2vkWZVbz-uix9mV5hapQyFu_z3nCCKDl3ocHV2JNoU3S1eiarTBT2CFHTtfNXO-BajqyP7t9Q9P9qP0-KIKFPtxRnEXOmE0JqiCMySACw/s400/SpagoBI-13.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5486379106049464962&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Save and restart Tomcat server.</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/4684170934257833082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/06/how-to-tune-spagobi-tomcat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/4684170934257833082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/4684170934257833082'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/06/how-to-tune-spagobi-tomcat.html' title='How to Tune SpagoBI + Tomcat'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRV6nhNaDr3yTc3ezEsfUhmYtzge5Ls4yzfcXXFB7dNggsKWep8CrxsHNiLX_Uf4FN316m7ZXz4fKzWIXUZUvnN5Ga_StWtP0Islf9ERED2l-DzbF6fXwBCu5VVxD1OdiDafb7RYDADiQ/s72-c/SpagoBI-9.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3540653746353925941.post-6758898924649716339</id><published>2010-06-22T19:36:00.002-07:00</published><updated>2010-06-23T05:44:11.337-07:00</updated><title type='text'>How to Config SpagoBI with Oracle database?</title><content type='html'>SpagoBI is an open source business intelligence (BI) platform developed following FOSS philosophy. It covers all the BI areas (reporting tool, data mining, ETL tool, OLAP analysis, and BI dashboard).&lt;br /&gt;&lt;br /&gt;This document records the steps to install and config the Oracle database connection as reporting data source in SpagoBI. &lt;br /&gt;&lt;br /&gt;You can config the database connection using JNDI resource that is shared between reporting applications; or you can config JDBC data source connection, so, a new JDBC connection (non-shareable) will be created for each of reporting applications (document) execution.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Environment&lt;br /&gt;============&lt;br /&gt;SpagoBI: version 2.5&lt;br /&gt;OS Server: Windows server 2008 R2 (x64)&lt;br /&gt;App Server: Tomcat 6.0.18 (in the SpagoBI demo package)&lt;br /&gt;Oracle database: 11g R2 (for windows x64)&lt;br /&gt;JDBC driver: ojdbc5.jar (for JDK 1.5 or up) &lt;br /&gt;Java: JDK 1.6.0_20&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;1. Create JNDI Data Source Connection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1) Download and unzip the file &quot;Demo-SpagoBI-2.5.0-apache-tomcat-6.0.18-04092010.zip&quot; to your local folder (like &lt;span style=&quot;font-style:italic;&quot;&gt;tomcathome&lt;/span&gt;\);&lt;br /&gt;2) Copy the Oracle jdbc driver file &quot;ojdbc5.jar&quot; to your &lt;span style=&quot;font-style:italic;&quot;&gt;tomcathome\lib&lt;/span&gt; folder;&lt;br /&gt;3) Edit the file &quot;server.xml&quot; at the folder &quot;&lt;span style=&quot;font-style:italic;&quot;&gt;tomcathome\conf&lt;/span&gt;&quot; and add / edit the following items:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIj5oEprO1XhcA_UR_UzJQwf2CIxor-mWdgCZDmdQVKHwHxWqZh7mEbXnIgyrDkvL9BAa1muKrE8isjGGByaMN9JvScoY2upL-QGs7y5xgXKteEgS-CoECuqYu3oL-fa8nw1q0P-5xAhA/s1600/SpagoBI-1.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 180px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIj5oEprO1XhcA_UR_UzJQwf2CIxor-mWdgCZDmdQVKHwHxWqZh7mEbXnIgyrDkvL9BAa1muKrE8isjGGByaMN9JvScoY2upL-QGs7y5xgXKteEgS-CoECuqYu3oL-fa8nw1q0P-5xAhA/s400/SpagoBI-1.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485801463871742466&quot; /&gt;&lt;/a&gt;&lt;br /&gt;4) Edit the file &quot;context.xml&quot; at the folder &quot;&lt;span style=&quot;font-style:italic;&quot;&gt;tomcathome\webapps\SpagoBI\META-INF&lt;/span&gt;&quot; as showing below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyRpEu6ZmXR1XI1fl4wEVRmv-3ct9rjN0L7yg3O5DrBayWrxLKFaZmzvSDrN82SKOetGrSZEzLF-lfnwXO26UnkA4yrx4YlmALMD__Iw80YpnqQzBdqUT0kzLTXQCO9Dn4Ykh22Roh-EY/s1600/SpagoBI-2.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 115px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyRpEu6ZmXR1XI1fl4wEVRmv-3ct9rjN0L7yg3O5DrBayWrxLKFaZmzvSDrN82SKOetGrSZEzLF-lfnwXO26UnkA4yrx4YlmALMD__Iw80YpnqQzBdqUT0kzLTXQCO9Dn4Ykh22Roh-EY/s400/SpagoBI-2.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485803309029961170&quot; /&gt;&lt;/a&gt;&lt;br /&gt;5) Edit the file &quot;context.xml&quot; at the folder &quot;&lt;span style=&quot;font-style:italic;&quot;&gt;tomcathome\webapps\SpagoBIJasperReportEngine\META-INF&lt;/span&gt;&quot; as showing below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVOqrckYGc5bEgCaiZOTZ8azPfRvYI-X0CY38L1iY7VicrmCnqp6qj13t_yZ2oYAzgLrFsq0oDx4YasY2SiCdJFwHz1o3yNiG9T1YZOCGfNk6xK0XbQMXf7RP_29_beQqgavbqu8PWfRs/s1600/SpagoBI-3.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 105px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVOqrckYGc5bEgCaiZOTZ8azPfRvYI-X0CY38L1iY7VicrmCnqp6qj13t_yZ2oYAzgLrFsq0oDx4YasY2SiCdJFwHz1o3yNiG9T1YZOCGfNk6xK0XbQMXf7RP_29_beQqgavbqu8PWfRs/s400/SpagoBI-3.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485804118884538386&quot; /&gt;&lt;/a&gt;&lt;br /&gt;6) Start Tomcat server to enable the above changes;&lt;br /&gt;&lt;br /&gt;7) Log on to SpagoBI at &lt;a href=&quot;http://localhost:8080/SpagoBI&quot;&gt;http://localhost:8080/SpagoBI&lt;/a&gt; to create a data source connection:&lt;br /&gt;&lt;br /&gt;     Click &quot;Resources&quot; -&gt; &quot;Data Source&quot;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2YwK3GfmY5lW2KtFvaH2ZED79JdE_fk9vPofsFsNIlWO-V0pbSVw6HnirfoSKDqcCj5r-UG30ebLhlBhZdzj-PAu64Jf9iLIM0IgNAgygbimeqRPh5BQ_REaP9ovhKBJEt7WChvMLbXM/s1600/SpagoBI-4.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 93px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2YwK3GfmY5lW2KtFvaH2ZED79JdE_fk9vPofsFsNIlWO-V0pbSVw6HnirfoSKDqcCj5r-UG30ebLhlBhZdzj-PAu64Jf9iLIM0IgNAgygbimeqRPh5BQ_REaP9ovhKBJEt7WChvMLbXM/s400/SpagoBI-4.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485933018761994610&quot; /&gt;&lt;/a&gt;&lt;br /&gt;     Click Insert button (icon) to add a new data source&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtJyDptD2TBO4ABbMrt4BG0-fGMunPG2lRyn0BG4bi8KNtFh20wIwvXNX6rsCCogaWSbumKf65402XpiSW-Fgf0cKe6x4zKU4mJ3zJXPt2koBCLYPH3vQy1irgnLQljTkdOhiI7gM8krI/s1600/SpagoBI-5.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 117px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtJyDptD2TBO4ABbMrt4BG0-fGMunPG2lRyn0BG4bi8KNtFh20wIwvXNX6rsCCogaWSbumKf65402XpiSW-Fgf0cKe6x4zKU4mJ3zJXPt2koBCLYPH3vQy1irgnLQljTkdOhiI7gM8krI/s400/SpagoBI-5.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485936224474478178&quot; /&gt;&lt;/a&gt;&lt;br /&gt;     Enter the settings for the new data source&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG3Z7j1DbcAfNlVEtboC6TL7GQQrxt0zWAE8kMoGErv_nh8ATeli-eI2dw4PDLBYVAicwMMSqe3ycLnsElBMuv6lJqJUrmIEred0ginSZUCe6ReE8ihQYtv9Gf6-ZqVjux2ds-aS86DsE/s1600/SpagoBI-6.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 192px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG3Z7j1DbcAfNlVEtboC6TL7GQQrxt0zWAE8kMoGErv_nh8ATeli-eI2dw4PDLBYVAicwMMSqe3ycLnsElBMuv6lJqJUrmIEred0ginSZUCe6ReE8ihQYtv9Gf6-ZqVjux2ds-aS86DsE/s400/SpagoBI-6.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485936780593219090&quot; /&gt;&lt;/a&gt;&lt;br /&gt;     Test the new connection before you save and exit.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtGuGWCXMIL6sZEnZXGe-JmRvW4N7Yt1J6cwV-U7TJnLrMg6jE6PxyilWbtNnQoKhIs8hIfYAj-PuFHvMiO3RiHtv5esdb9v6t3p7bAszLD2Pr30RnWojoDyod__Nhg_HZLfYzq_1F1ig/s1600/SpagoBI-7.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 260px; height: 115px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtGuGWCXMIL6sZEnZXGe-JmRvW4N7Yt1J6cwV-U7TJnLrMg6jE6PxyilWbtNnQoKhIs8hIfYAj-PuFHvMiO3RiHtv5esdb9v6t3p7bAszLD2Pr30RnWojoDyod__Nhg_HZLfYzq_1F1ig/s400/SpagoBI-7.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485942233962759490&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;2. Create JDBC Connection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1) Download and unzip the file &quot;Demo-SpagoBI-2.5.0-apache-tomcat-6.0.18-04092010.zip&quot; to your local folder (like &lt;span style=&quot;font-style:italic;&quot;&gt;tomcathome&lt;/span&gt;\);&lt;br /&gt;2) Copy the Oracle jdbc driver file &quot;ojdbc5.jar&quot; to your &lt;span style=&quot;font-style:italic;&quot;&gt;tomcathome\lib&lt;/span&gt; folder;&lt;br /&gt;3) Start Tomcat server to enable the above changes;&lt;br /&gt;4) Log on to SpagoBI at &lt;a href=&quot;http://localhost:8080/SpagoBI&quot;&gt;http://localhost:8080/SpagoBI&lt;/a&gt; to create a data source connection:&lt;br /&gt;&lt;br /&gt;     Click &quot;Resources&quot; -&gt; &quot;Data Source&quot;&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2YwK3GfmY5lW2KtFvaH2ZED79JdE_fk9vPofsFsNIlWO-V0pbSVw6HnirfoSKDqcCj5r-UG30ebLhlBhZdzj-PAu64Jf9iLIM0IgNAgygbimeqRPh5BQ_REaP9ovhKBJEt7WChvMLbXM/s1600/SpagoBI-4.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 93px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2YwK3GfmY5lW2KtFvaH2ZED79JdE_fk9vPofsFsNIlWO-V0pbSVw6HnirfoSKDqcCj5r-UG30ebLhlBhZdzj-PAu64Jf9iLIM0IgNAgygbimeqRPh5BQ_REaP9ovhKBJEt7WChvMLbXM/s400/SpagoBI-4.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485933018761994610&quot; /&gt;&lt;/a&gt;&lt;br /&gt;     Click Insert button (icon) to add a new data source&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtJyDptD2TBO4ABbMrt4BG0-fGMunPG2lRyn0BG4bi8KNtFh20wIwvXNX6rsCCogaWSbumKf65402XpiSW-Fgf0cKe6x4zKU4mJ3zJXPt2koBCLYPH3vQy1irgnLQljTkdOhiI7gM8krI/s1600/SpagoBI-5.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 117px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtJyDptD2TBO4ABbMrt4BG0-fGMunPG2lRyn0BG4bi8KNtFh20wIwvXNX6rsCCogaWSbumKf65402XpiSW-Fgf0cKe6x4zKU4mJ3zJXPt2koBCLYPH3vQy1irgnLQljTkdOhiI7gM8krI/s400/SpagoBI-5.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485936224474478178&quot; /&gt;&lt;/a&gt;&lt;br /&gt;     Enter the settings for the new data source&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioYSwi3pK4MlFuhSSIk2lVrZ6d2pQYfVwIo7VfmOH2mEwYfpjwhnnetI0AVXBYILlamsGmBLKHvuk1w-lbtArVOYg0a1KSt6lMCI5T4ki4zKXIvPJfMVibfY1P3mKuhhR7_qp1r4aLvSg/s1600/SpagoBI-8.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 192px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioYSwi3pK4MlFuhSSIk2lVrZ6d2pQYfVwIo7VfmOH2mEwYfpjwhnnetI0AVXBYILlamsGmBLKHvuk1w-lbtArVOYg0a1KSt6lMCI5T4ki4zKXIvPJfMVibfY1P3mKuhhR7_qp1r4aLvSg/s400/SpagoBI-8.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485945185237270098&quot; /&gt;&lt;/a&gt;&lt;br /&gt;     Test the new connection before you save and exit.&lt;br /&gt;&lt;br /&gt;&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtGuGWCXMIL6sZEnZXGe-JmRvW4N7Yt1J6cwV-U7TJnLrMg6jE6PxyilWbtNnQoKhIs8hIfYAj-PuFHvMiO3RiHtv5esdb9v6t3p7bAszLD2Pr30RnWojoDyod__Nhg_HZLfYzq_1F1ig/s1600/SpagoBI-7.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 260px; height: 115px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtGuGWCXMIL6sZEnZXGe-JmRvW4N7Yt1J6cwV-U7TJnLrMg6jE6PxyilWbtNnQoKhIs8hIfYAj-PuFHvMiO3RiHtv5esdb9v6t3p7bAszLD2Pr30RnWojoDyod__Nhg_HZLfYzq_1F1ig/s400/SpagoBI-7.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5485942233962759490&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://spagobi.blogspot.com/feeds/6758898924649716339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://spagobi.blogspot.com/2010/06/how-to-config-spagobi-with-oracle.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/6758898924649716339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3540653746353925941/posts/default/6758898924649716339'/><link rel='alternate' type='text/html' href='http://spagobi.blogspot.com/2010/06/how-to-config-spagobi-with-oracle.html' title='How to Config SpagoBI with Oracle database?'/><author><name>Smart Data Services Inc.</name><uri>http://www.blogger.com/profile/05296557343320305810</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIj5oEprO1XhcA_UR_UzJQwf2CIxor-mWdgCZDmdQVKHwHxWqZh7mEbXnIgyrDkvL9BAa1muKrE8isjGGByaMN9JvScoY2upL-QGs7y5xgXKteEgS-CoECuqYu3oL-fa8nw1q0P-5xAhA/s72-c/SpagoBI-1.jpg" height="72" width="72"/><thr:total>4</thr:total></entry></feed>