<?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: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-7671890123899230186</id><updated>2011-10-05T13:40:30.215-07:00</updated><category term='Virtual Box'/><category term='shared folders'/><category term='Sun'/><category term='pentaho design-studio'/><category term='java'/><category term='bridge'/><category term='jdk'/><category term='C#.net'/><category term='Networking'/><category term='SQL Server 2005'/><category term='virutal box'/><category term='ubuntu'/><category term='vista'/><category term='Visual Basic.net'/><title type='text'>Blutch Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-4002011423731332119</id><published>2011-09-26T11:22:00.000-07:00</published><updated>2011-09-26T11:22:44.274-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic.net'/><category scheme='http://www.blogger.com/atom/ns#' term='C#.net'/><title type='text'>Null-coalesce Operator (?? in C# If() in Visual Basic)</title><content type='html'>&lt;br /&gt;&lt;br /&gt;It is used to define a default value for a nullable value type as well as a reference type. It returns the left-hand operator if it is not null, otherwise, the right-hand operator.&lt;br /&gt;Syntax in C#: (TestValue&lt;b&gt; ?? &lt;/b&gt;DefaultValue)&lt;br /&gt;Syntax in Visual Basic:&lt;b&gt; If(&lt;/b&gt;TestValue, DefaultValue&lt;b&gt;) &lt;/b&gt;&lt;br /&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-4002011423731332119?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/4002011423731332119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=4002011423731332119' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/4002011423731332119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/4002011423731332119'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2011/09/null-coalesce-operator-in-c-if-in.html' title='Null-coalesce Operator (?? in C# If() in Visual Basic)'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-7458370317742852156</id><published>2011-03-01T11:08:00.000-08:00</published><updated>2011-03-01T11:08:33.402-08:00</updated><title type='text'>Using Javascript to change first line and default selection in a Value Prompt in Cognos 8</title><content type='html'>This is my first expierence using Javascript in Cognos 8 Report. Although, I have not find the solution myself,&amp;nbsp; I think it is worth to blog it for future usage.&lt;br /&gt;When using a value prompt&amp;nbsp;select box, the title usually comes from the Query Subject header which is often the database column name. Cognos automatically assigns column name from package as title in the prompt select box. As a result, when users build or run the report, they want the value prompt title to be more meaningful than a col001 or whatever column name the DBA has assigned when designing the database. It is worth to mention that in a "perfect world" where all Framework Manager packages are designed correctly, this kind of issue never occur.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&amp;nbsp;&lt;a href="https://lh6.googleusercontent.com/-abIH7JJP6rk/TWwYIYRsvhI/AAAAAAAAAL0/QjtbvqI5Mpw/s1600/Pic001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="https://lh6.googleusercontent.com/-abIH7JJP6rk/TWwYIYRsvhI/AAAAAAAAAL0/QjtbvqI5Mpw/s320/Pic001.png" width="173" /&gt;&lt;/a&gt;&lt;/div&gt;The first step is to embed the Value Prompt into a &lt;strong&gt;Span&lt;/strong&gt; HTML markup. You do this by drag and drop 2 HTML elements from the Toolbox tab before and after the value prompt list box.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-DYMZe94Bm9A/TW0jqO7a3BI/AAAAAAAAAL4/vdWjAE3gAjo/s1600/Pic002.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="34" l6="true" src="https://lh4.googleusercontent.com/-DYMZe94Bm9A/TW0jqO7a3BI/AAAAAAAAAL4/vdWjAE3gAjo/s320/Pic002.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&amp;nbsp;The HTML code will be for the first (left) element:&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-0FrYoXvS5bs/TW0kzY6f3_I/AAAAAAAAAMA/wvCwcl2-wlY/s1600/Pic003.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="136" l6="true" src="https://lh6.googleusercontent.com/-0FrYoXvS5bs/TW0kzY6f3_I/AAAAAAAAAMA/wvCwcl2-wlY/s320/Pic003.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;and for the 2nd HTML element (right):&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-3bHNVKn_Dek/TW0lOwM-n3I/AAAAAAAAAME/3-ohnkpFZpw/s1600/Pic004.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="131" l6="true" src="https://lh3.googleusercontent.com/-3bHNVKn_Dek/TW0lOwM-n3I/AAAAAAAAAME/3-ohnkpFZpw/s320/Pic004.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;The second step is to add a 3rd HTML element at the end of the form, at the right of the Finish button.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh4.googleusercontent.com/-svir1aLwxCA/TW0mB9WbmqI/AAAAAAAAAMI/HzZv1G94cgc/s1600/Pic005.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="30" l6="true" src="https://lh4.googleusercontent.com/-svir1aLwxCA/TW0mB9WbmqI/AAAAAAAAAMI/HzZv1G94cgc/s320/Pic005.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;This 3rd HTML element will contain Javascript code which dynamically changes the List Box title property and if needed, the List Box default selected value.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh3.googleusercontent.com/-_eq2N6TKfyM/TW0ncpZ3mDI/AAAAAAAAAMM/FjpgoDfB-B8/s1600/Pic006.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="121" l6="true" src="https://lh3.googleusercontent.com/-_eq2N6TKfyM/TW0ncpZ3mDI/AAAAAAAAAMM/FjpgoDfB-B8/s320/Pic006.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;The code is self-explanatory and looks as follows:&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;var theSpan = document.getElementById("Span1");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;var theSelect = theSpan.getElementsByTagName("select");&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;theSelect[0].options[0].text = 'A more meaningful title';&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;theSelect[0].options[2].selected=true;&lt;br /&gt;canSubmitPrompt(); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;The theSpan variable stores the SPAN markup which is used to capture the select box into the theSelect variable. The next line changes the title using the text property of the first option (options[0]). The following line sets the 3rd option (options[2]) selected property to true to make it a default selection.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times;"&gt;Finally the canSubmitPrompt() activates the Finish button.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-7458370317742852156?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/7458370317742852156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=7458370317742852156' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/7458370317742852156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/7458370317742852156'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2011/03/using-javascript-to-change-first-line.html' title='Using Javascript to change first line and default selection in a Value Prompt in Cognos 8'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-abIH7JJP6rk/TWwYIYRsvhI/AAAAAAAAAL0/QjtbvqI5Mpw/s72-c/Pic001.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-8072381250197780231</id><published>2010-12-25T14:07:00.000-08:00</published><updated>2010-12-25T14:07:29.555-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><title type='text'>SQL Server 2005 - Transform Multiple Rows into Multiple Columns</title><content type='html'>Having this kind of&amp;nbsp;table in SQL Server:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_PnG1vdX__nc/TRZWv7j_vqI/AAAAAAAAALk/tn5dPbgqF2w/s1600/Pic1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" n4="true" src="http://4.bp.blogspot.com/_PnG1vdX__nc/TRZWv7j_vqI/AAAAAAAAALk/tn5dPbgqF2w/s1600/Pic1.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;We would like to get to the following structure using SQL code:&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: left; margin-right: 1em; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_PnG1vdX__nc/TRZbDzA4ffI/AAAAAAAAALo/GMnPhKDe6-8/s1600/Pic2.jpg" imageanchor="1" style="clear: left; cssfloat: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" n4="true" src="http://2.bp.blogspot.com/_PnG1vdX__nc/TRZbDzA4ffI/AAAAAAAAALo/GMnPhKDe6-8/s1600/Pic2.jpg" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: center;"&gt;&lt;em&gt;Click the picture to see the full size.&lt;/em&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;This is a bit different from a PIVOT which can be done using the SQL Server function of the same name. What we wanted to get is for each combintation of ForeignKey1 and ForeignKey2, we would like to have all the possible combinations of Attribute1 and Attribute2 in the same row.&lt;br /&gt;This could be done using a Transact SQL stored procedure of course but the following SQL code is the easiest approach&amp;nbsp;if we know the maximum number of possibility for each combination of Foreign Keys:&lt;br /&gt;&lt;br /&gt;﻿ ﻿ &lt;div style="text-align: left;"&gt;&lt;a href="http://1.bp.blogspot.com/_PnG1vdX__nc/TRZoQu-E14I/AAAAAAAAALs/x7L5avWgXGA/s1600/Pic3.jpg" imageanchor="1" style="clear: left; cssfloat: left; margin-bottom: 1em;"&gt;&lt;img border="0" n4="true" src="http://1.bp.blogspot.com/_PnG1vdX__nc/TRZoQu-E14I/AAAAAAAAALs/x7L5avWgXGA/s1600/Pic3.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;﻿﻿ &lt;div style="text-align: center;"&gt;&lt;em&gt;&amp;nbsp;Click the picture to see the full size.&lt;/em&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-8072381250197780231?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/8072381250197780231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=8072381250197780231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/8072381250197780231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/8072381250197780231'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2010/12/sql-server-2005-transform-multiple-rows.html' title='SQL Server 2005 - Transform Multiple Rows into Multiple Columns'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_PnG1vdX__nc/TRZWv7j_vqI/AAAAAAAAALk/tn5dPbgqF2w/s72-c/Pic1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-3689111471170141790</id><published>2010-10-18T17:59:00.000-07:00</published><updated>2010-11-23T13:22:54.703-08:00</updated><title type='text'>Dealing with Input/Output Scale in Cognos Transformer 8.3</title><content type='html'>&lt;strong&gt;Prerequisites:&lt;/strong&gt;&lt;br /&gt;Scale and Precision do not have the same meaning for Cognos and SQL Server.&lt;br /&gt;&lt;u&gt;&lt;span style="background-color: white;"&gt;In SLQ Server :&lt;/span&gt;&lt;/u&gt;&lt;br /&gt;- scale: number of digit at the right of the decimal point.&lt;br /&gt;- precision: maximum number of digit in a&amp;nbsp; number.&lt;br /&gt;Another good point to mention is the difference between Float and Decimal data type in SQL Server. A DECIMAL data type is a fixed precision data type which means that all the values in range can be represented exactly with scale and precision properties. This &lt;a href="http://blog.sqlauthority.com/2007/08/29/sql-server-difference-and-explanation-among-decimal-float-and-numeric/"&gt;blog&lt;/a&gt; shows a good explanation.&lt;br /&gt;&lt;u&gt;In Cognos:&lt;/u&gt;&lt;br /&gt;- precision: number of decimal places that the reporting tool uses for rollup calculations. Precision is only available when storage type is set to 64-bits.&lt;br /&gt;- output scale: the source values are divided by ten taken to the power of the Output Scale value. If Output Scale is set to 3, then: &lt;br /&gt;&lt;em&gt;150,701 is shown in reports as 150,701/10^3; that is 150.701. If precision is set to 0, it will show 151 because of the rounding.&lt;/em&gt;&lt;br /&gt;- input scale: Is a positive or negative power of ten by which the source values are to be multiplied as they are read from the data source.&lt;br /&gt;&lt;em&gt;150,701 is read in Transformer as 150,701*10^3; that is 150701000 if Input Scale is set to 3.&lt;/em&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size: large;"&gt;Dealing with Input/Output Scale in Cognos Transformer 8.3 &lt;/span&gt;&lt;span style="font-size: small;"&gt;with a float datatype&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;One of the requirements from business people is to make sure that the data they see in cubes&amp;nbsp;is accurate.&amp;nbsp; Most of the time, when they compare report results from cubes with data from operational systems, they always find differences in measures. Differences can come from a bad design in the ETL process to the datawarehouse, or (if we are confident in our ETL) roundings happening at the lowest level of aggregation that add up and make the summary calculation very different from what they expect to see.&lt;br /&gt;In my experience, the DBA used SQL Server float data type. Unfortunately, when you define the column data type as&amp;nbsp;float, SQL automatically sets precision property to 53 and scale property to 0. Scale property set to 0 doesn't mean that the float number is truncated or rounded when stored in the database, but when the float is queried from an external application (Transformer in our case), and the result is used by another application (Cognos Analysis), the final result is rounded: there is a loss of precision somewhere in the process as you'll see in the following screenshots.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_PnG1vdX__nc/TLuWbchEZRI/AAAAAAAAALI/nB5NuiH4nAU/s1600/1.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" ex="true" height="90" src="http://1.bp.blogspot.com/_PnG1vdX__nc/TLuWbchEZRI/AAAAAAAAALI/nB5NuiH4nAU/s400/1.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;In SQL Server, Scale1 column data type has been set to float.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_PnG1vdX__nc/TLua_DzsLzI/AAAAAAAAALM/dbXH2L2fAuo/s1600/2.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" ex="true" height="266" src="http://1.bp.blogspot.com/_PnG1vdX__nc/TLua_DzsLzI/AAAAAAAAALM/dbXH2L2fAuo/s400/2.jpg" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;In Transformer, when testing with Data Source Viewer, Scale 1 column outputs as expected. (In this case, Transformer is retrieving&amp;nbsp;our database&amp;nbsp;table through&amp;nbsp;a published Framework Manager package. Scale and Precision properties are read-only in Framework Manager.)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;﻿&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_PnG1vdX__nc/TLun8YNYM9I/AAAAAAAAALQ/n77M4CM9Hvs/s1600/4.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" ex="true" height="320" src="http://1.bp.blogspot.com/_PnG1vdX__nc/TLun8YNYM9I/AAAAAAAAALQ/n77M4CM9Hvs/s320/4.jpg" width="302" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;In Transformer, Input Scale property is set to 0.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_PnG1vdX__nc/TLuonzTy0eI/AAAAAAAAALU/fF4rt8JbiTo/s1600/5.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" ex="true" height="320" src="http://2.bp.blogspot.com/_PnG1vdX__nc/TLuonzTy0eI/AAAAAAAAALU/fF4rt8JbiTo/s320/5.jpg" width="302" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;In Transformer, Output Scale property is set to 0 as well as Precision. Storage type is 64-bits.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_PnG1vdX__nc/TLuo0hGTVOI/AAAAAAAAALY/h2fiwBmWNN4/s1600/3.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" ex="true" height="112" src="http://4.bp.blogspot.com/_PnG1vdX__nc/TLuo0hGTVOI/AAAAAAAAALY/h2fiwBmWNN4/s320/3.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&amp;nbsp;In Analysis studio, Scale 1 is rounded.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;To get the business's expected result, we need to change scaling properties in Transformer. Setting Input Scale property to 3, Output Scale property to 3 and Precision to 2 (when your data is of float type) will give you the desired result.&lt;/div&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_PnG1vdX__nc/TLzsVELOMVI/AAAAAAAAALc/ytHpr08VRsw/s1600/6.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" ex="true" height="112" src="http://4.bp.blogspot.com/_PnG1vdX__nc/TLzsVELOMVI/AAAAAAAAALc/ytHpr08VRsw/s320/6.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Analysis Studio displays Scale 1 measure correctly.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: left;"&gt;﻿&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-3689111471170141790?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/3689111471170141790/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=3689111471170141790' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/3689111471170141790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/3689111471170141790'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2010/10/dealing-with-inputoutput-scale-in.html' title='Dealing with Input/Output Scale in Cognos Transformer 8.3'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_PnG1vdX__nc/TLuWbchEZRI/AAAAAAAAALI/nB5NuiH4nAU/s72-c/1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-2070337935529645248</id><published>2010-05-04T16:36:00.000-07:00</published><updated>2010-05-04T17:20:04.329-07:00</updated><title type='text'>slf4j, Another Challenge in the Hibernate Tutorial</title><content type='html'>As I have succeeded to finally run the HSQLDB server using the maven plugin exec and java goal, I only needed to add the configuration files (hibernate.cfg.xml, Event.hbm.xml) and a utility class HibernateUtil.java in their correct location for Hibernate to work properly as mentionned in the tutorial book. Then the EventManager class will be the entry point for the application.&lt;br /&gt;slf4j is a tool (slf4j-api.jar) that serves as a facade for other logging framework. These logging framework can be java.util.logging (which comes with the J2SE api), log4j, Jakarta Common Logging. What is interesting with slf4j is that you can use objects from slf4j-api.jar in your application, and then at runtime (or deployment time), the end-user of your application can decide to include the logging framework of his choice in the application classpath. The logging framework should of course be compatible with slf4j.&lt;br /&gt;The Hibernate tutorial pom.xml file includes the following dependency to include slf4j in the tutorial application:&lt;br /&gt;&amp;lt;dependency&amp;gt;&lt;br /&gt;&amp;lt;groupId&amp;gt;org.slf4j&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;lt;artifactId&amp;gt;slf4j-simple&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;lt;/dependency&amp;gt;&lt;br /&gt;When you deploy the tutorial application with this configuration, it throws an IllegalAccessError. Here, slf4j FAQ really helped (follow this &lt;a href="http://slf4j.org/faq.html#IllegalAccessError"&gt;link&lt;/a&gt;).&lt;br /&gt;Basically Hibernate transitive dependency in Maven refers to an old version of the slf4j API which makes use of a property in StaticLoggerBinder class that has been made private since version 1.5.6. The best way to work around this is to explicitely add a dependency to slf4j-api which will overwrite the one from Hibernate. Elements for slf4j-api are:&lt;br /&gt;groupId = org.slf4j&lt;br /&gt;artifactId = slf4j-api&lt;br /&gt;version = 1.6.0-RC0.&lt;br /&gt;Then you can specify the binding element:&lt;br /&gt;groupId = org.slf4j&lt;br /&gt;artifactId = slf4j-simple (or slf4j-log4j12, slf4j-jdk14...)&lt;br /&gt;version = 1.x.xyyy&lt;br /&gt;Available versions and bindings can be found in Google using the following keywords "&lt;a href="http://www.ibiblio.org/"&gt;http://www.ibiblio.org/&lt;/a&gt; maven2 slf4j".&lt;br /&gt;slf4j-simple is only used in small application and logs event in stdout.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-2070337935529645248?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/2070337935529645248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=2070337935529645248' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/2070337935529645248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/2070337935529645248'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2010/05/slf4j-another-challenge-in-hibernate.html' title='slf4j, Another Challenge in the Hibernate Tutorial'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-45988565949351536</id><published>2010-04-30T16:58:00.000-07:00</published><updated>2010-04-30T17:16:20.415-07:00</updated><title type='text'>Advantage of Maven Transitive Dependency</title><content type='html'>Getting back to the Hibernate tutorial, now I understand the advantage of using Maven. Defining the dependency elements in the pom.xml is like asking Maven to take care of downloading the required files from the default repositories (repo1.maven.org by default) and paste those files in your repository so that they are accessible by your classpath.&lt;br /&gt;Typing the "ibiblio.org maven2 hsqldb" in Google, you can find maven-metada.xml. This file gives you the groupId, the artifactId and the version number that you can use to have Maven retrieve an HyperSQL database server file that you can include in your project.&lt;br /&gt;For Hibernate, you don't need to download Hibernate bundle as you'll have to manually include hibernate3.jar file and its related libraries in your project and create the correct folder layout for all those libraries to be included in your classpath. Maven relieves you of this burden; what you need to do is to specify the groupId (org.hibernate) and the artifactId (hibernate-core) and the last version available (3.3.1.GA). Those information can be found in either ibiblio.org or Hibernate tutorial book.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-45988565949351536?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/45988565949351536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=45988565949351536' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/45988565949351536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/45988565949351536'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2010/04/advantage-of-maven-transitive.html' title='Advantage of Maven Transitive Dependency'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-3631507875583462362</id><published>2010-04-29T09:19:00.000-07:00</published><updated>2010-04-30T05:16:37.253-07:00</updated><title type='text'>Understanding Dependency - Starting HSQLDB server from Maven</title><content type='html'>Dependency is a mechanism for controlling modules in a project. Each dependency needs to be added under the dependencies element in pom.xml.&lt;br /&gt;&lt;br /&gt;A dependeccy needs at least those elements: groupId, artifactId and version. To have mvn starting the HSQLDB server as specified in the tutorial, we need to add a dependency refering to an installed version of HSQLDB on the local drive. For that purpose, we need to know the groupId, the artifactId to be used. Using Google, ibiblio can help you know the correct groupId and artifactId to use for HSQLDB. In Google, search for "&lt;a href="http://www.ibiblio.org/"&gt;http://www.ibiblio.org/&lt;/a&gt; maven2 hsqldb".&lt;br /&gt;Open maven2-metadata.xml; this file contains the information about the groupId and artifactId for HSQLDB which are for both hsqldb. You also need to specify the scope element.&lt;br /&gt;Maven Guide defines the scope of the dependency as a property that limits dependency transitivity. When you run Maven, it needs to discover the libraries needed for your application. Maven uses the dependency defined in pom.xml, but sometimes those dependencies require other dependencies that Maven will discover and include them automatically.&lt;br /&gt;As specified earlier, the scope limits the transitivity of a dependency. There are 6 scopes that can be used, and the one to use when using a jar file from your local system (hsqldb is actually a jar file) is &lt;strong&gt;system&lt;/strong&gt;.&lt;br /&gt;The dependency element to add in your pom.xml is going to be:&lt;br /&gt;&amp;lt;dependency&amp;gt;&lt;br /&gt;&amp;lt;groupeId&amp;gt;hsqldb&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;lt;artifactId&amp;gt;hsqldb&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;lt;version&amp;gt;2.0.0&amp;lt;/version&amp;gt;&lt;br /&gt;&amp;lt;scope&amp;gt;system&amp;lt;/scope&amp;gt;&lt;br /&gt;&amp;lt;systemPath&amp;gt;path/to/hsqldb.jar&amp;lt;/systemPath&amp;gt;&lt;br /&gt;&amp;lt;/dependency&amp;gt;&lt;br /&gt;&lt;br /&gt;You need to download hsqldb and add &lt;hsqldb_installation_folder&gt;\lib to your system Path environment variable (user environment variable for Linux should work).&lt;br /&gt;Then from the command line, type: &lt;span style="font-family:courier new;"&gt;mvn exec:java &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-Dexec.mainClass="org.hsqldb.server.Server" -Dexec.args="-database.0 file:target/data/tutorial"&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-3631507875583462362?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/3631507875583462362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=3631507875583462362' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/3631507875583462362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/3631507875583462362'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2010/04/understanding-dependency-starting.html' title='Understanding Dependency - Starting HSQLDB server from Maven'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-7229883258300125755</id><published>2010-04-29T08:25:00.000-07:00</published><updated>2010-04-29T09:17:59.080-07:00</updated><title type='text'>Understanding Maven Archetype</title><content type='html'>The Archetype plugin allows you to use a pre-defined pattern for project development. You can have a pattern for different kind of project (Hibernate/Spring, JSF or JBoss Service Archive). You can have 249 choices of Archetype using this command from the CLI:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mvn archetype:generate.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Choice #15 is a quick start template, it sets up a simple JEE application embedded with Apache Jetty application server.&lt;br /&gt;&lt;br /&gt;Getting back to Hibernate tutorial, they recommand you to use &lt;span style="font-family:courier new;"&gt;mvn archetype:create&lt;/span&gt; to build your template.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;create&lt;/span&gt; goal has been deprecated as of version 2-0 of the plugin although it still works. To create the template, you can start running the goal and define groupId and artifactId:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mvn archetype:create -DgroupId=org.hibernate.tutorials -DartifactId=hibernate-tutorial&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Archetype plugin creates the following project template:&lt;br /&gt;&lt;br /&gt;hibernate-tutorial&lt;br /&gt;&lt;br /&gt;--src&lt;br /&gt;      --main&lt;br /&gt;          --java&lt;br /&gt;             --org&lt;br /&gt;                 --hibernate&lt;br /&gt;                    --tutorials&lt;br /&gt;                       --App.java&lt;br /&gt;    --test&lt;br /&gt;       --java&lt;br /&gt;          --org&lt;br /&gt;             --hibernate&lt;br /&gt;                 --tutorials&lt;br /&gt;                     --AppTest.java&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;As you can see, the groupId property defines the package structure of the project, the artifactId property is the root folder of the application. A test folder is also generated with the same package structure and a Test file.&lt;br /&gt;The &lt;span style="font-family:courier new;"&gt;pom.xml&lt;/span&gt; file is created at the same level as src. If you edit the file, you will see that a dependency is created for JUnit v3.8.1.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-7229883258300125755?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/7229883258300125755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=7229883258300125755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/7229883258300125755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/7229883258300125755'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2010/04/understanding-maven-archetype.html' title='Understanding Maven Archetype'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-2164486916038098380</id><published>2010-04-27T15:03:00.001-07:00</published><updated>2010-04-27T15:37:05.415-07:00</updated><title type='text'>Maven Configuration Setup</title><content type='html'>As I was doing the Hibernate tutorial (which is a nightmare by the way), I was required to learn about Maven and the HSQLDB database server. To build the tutorial, you have to use Maven and HSQLDB. Following this tutorial step by step was impossible, and in Hibernate's community forum, it seemed that I was not the only person complaining.&lt;br /&gt;HSQLDB is pretty straightforward to set up. It is a full Java database; its database server runs with the java command from command line and it also comes along with a Swing client.&lt;br /&gt;Maven is a little more challenging. Maven as far as I understand is similar to Ant but is easier to manipulate. Like Ant, it's a build automation tool and a project management tool.&lt;br /&gt;&lt;br /&gt;Once, you have downloaded Maven installation file, follow the configuration steps in the readme file. Yes... it seems obvious but I rarely read readme files. Maven website doesn't give directions for basic configuration. So when I started Maven's tutorial, nothing worked. I was stucked with Maven, and I could not go ahead with Hibernate. Here are the basic directions from Windows or Linux:&lt;br /&gt;- Unzip the files in a folder.&lt;br /&gt;- Add M2_HOME environment variable (user level).&lt;br /&gt;&lt;span style="color:#000099;"&gt;- For Linux, add a M2 environment variable that points to $M2_HOME/bin at user level.&lt;/span&gt;&lt;br /&gt;- Optionally, add MAVEN_OPTS environment variable with the following values: "-Xms256m -Xmx512m".&lt;br /&gt;- Make sure the JAVA_HOME is defined.&lt;br /&gt;- Add MAVEN's binary files into PATH (M2_HOME\bin for Windows &lt;span style="color:#000099;"&gt;and M2 for Linux&lt;/span&gt;).&lt;br /&gt;Test your configuration from the command line interface with: mvn --version.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-2164486916038098380?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/2164486916038098380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=2164486916038098380' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/2164486916038098380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/2164486916038098380'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2010/04/maven-configuration-setup.html' title='Maven Configuration Setup'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-4693813873451253570</id><published>2009-07-25T13:20:00.000-07:00</published><updated>2009-07-25T13:36:34.868-07:00</updated><title type='text'>Setup a Virtual Network with Virtual Box 2.2.4</title><content type='html'>&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Setup a Virtual Network with earlier versions of Version of Virtual Box required a lot of steps to create a bridge, and to enable Layer 3 Compatibility for the adapters in the bridge. Since VirtualBox 2.1.4, the process has been made more simple.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="font-family:verdana;color:#00cccc;"&gt;&lt;strong&gt;1- Configure the Network Preferences of your Box&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 307px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5362497313344858242" border="0" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/Smtq5Q7oKII/AAAAAAAAAKY/FWjL6be2QN0/s400/Untitled.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set the Network Access Mode to Bridge Access. Then select of the adapter you would like your box being bridged to (generally it would be the adapter connected to the Internet).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;color:#00cccc;"&gt;&lt;strong&gt;2- Define your IP Configuration&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;In your box, independantly from the operating system you are using, define manually the IP address, sub-network mask, the default gateway as well as the DNS which is going to be your default gateway.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-4693813873451253570?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/4693813873451253570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=4693813873451253570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/4693813873451253570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/4693813873451253570'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2009/07/setup-virtual-network-with-virtual-box.html' title='Setup a Virtual Network with Virtual Box 2.2.4'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_PnG1vdX__nc/Smtq5Q7oKII/AAAAAAAAAKY/FWjL6be2QN0/s72-c/Untitled.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-7718451726663896176</id><published>2009-06-27T08:31:00.000-07:00</published><updated>2009-06-27T14:41:38.639-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='jdk'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Setup Sun JVM and JDK in Ubuntu</title><content type='html'>&lt;span style="font-size:100%;"&gt;This one is pretty simple, but I tend to forget the steps when I don't d&lt;/span&gt;&lt;span style="font-size:100%;"&gt;o it for a long time.&lt;br /&gt;1- Use the Synaptic Package Manager to download the last JDK version for Ubuntu. Select sun-java6-jdk package.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_PnG1vdX__nc/SkaDbTZnm1I/AAAAAAAAAJ4/UuI9xjsSyjI/s1600-h/Synaptic1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 226px;" src="http://1.bp.blogspot.com/_PnG1vdX__nc/SkaDbTZnm1I/AAAAAAAAAJ4/UuI9xjsSyjI/s400/Synaptic1.png" alt="" id="BLOGGER_PHOTO_ID_5352109712263846738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;The Synaptic application will prompt you for additional packages to download. Mark them, and click the Apply button to start the download. Confirm by clicking Apply in the Summary window.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_PnG1vdX__nc/SkaET0Y88vI/AAAAAAAAAKA/wO2ROOtYJog/s1600-h/Screenshot-Summary.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 366px;" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SkaET0Y88vI/AAAAAAAAAKA/wO2ROOtYJog/s400/Screenshot-Summary.png" alt="" id="BLOGGER_PHOTO_ID_5352110683192095474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;The Synaptic Manager will start to download the package files.&lt;br /&gt;2- Then, make sure that your environment use the Sun flavour of the JVM you have just setup.&lt;br /&gt;Use the following command in terminal window to check the list of Java flavours in your system.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_PnG1vdX__nc/SkaJPX_QGnI/AAAAAAAAAKI/eKtPOb2h19g/s1600-h/Java+Alternatives.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 265px;" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SkaJPX_QGnI/AAAAAAAAAKI/eKtPOb2h19g/s400/Java+Alternatives.png" alt="" id="BLOGGER_PHOTO_ID_5352116104406768242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;To have the Sun flavor as the current Java version, use the following command:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;sudo update-java-alternatives -s java-6-sun&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-7718451726663896176?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/7718451726663896176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=7718451726663896176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/7718451726663896176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/7718451726663896176'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2009/06/setup-sun-jvm-and-jdk-in-ubuntu.html' title='Setup Sun JVM and JDK in Ubuntu'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_PnG1vdX__nc/SkaDbTZnm1I/AAAAAAAAAJ4/UuI9xjsSyjI/s72-c/Synaptic1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-5476811877703743412</id><published>2008-12-20T11:48:00.001-08:00</published><updated>2008-12-20T20:34:04.881-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pentaho design-studio'/><title type='text'>Setup Pentaho Design Studio for Linux and Test your installation</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(51, 153, 153);font-size:130%;" &gt;1- Setup Design Studio as an Eclipse plugin&lt;/span&gt;&lt;br /&gt;&lt;div&gt;At this time, there is no complete Design Studio available for Linux and Mac users. Once you have installed your Java environment, your environment variables, and the BI server, you can now install the Eclipse IDE and the plugin for Pentaho Design Studio. You can find the last version of Eclipse IDE with your Synaptic Package Manager, but the Pentaho Design Studio Release for Community can be downloaded from the Pentaho website or directly from sourceforge.net.&lt;br /&gt;In the zip file, go to the plugins folder and extract the following files:&lt;/div&gt;&lt;ul&gt;&lt;li&gt;org.pentaho.designstudio.editors.actionsequence_2.0.0.974&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;org.pentaho.designstudio.editors.core_2.0.0.616&lt;/li&gt;&lt;br /&gt;&lt;li&gt;org.pentaho.designstudio.editors.reportwizard_2.0.0.1037&lt;/li&gt;&lt;/ul&gt;Move these folders to usr/lib/eclipse/plugins folder so that the plugins will be found by Eclipse. But you need first get the permission to write in the plugins folder. You can do it by giving yourself the ownership of this folder which I found is the easiest way or by changing permissions settings. The following command gives yourself the ownership of the plugins folder in Eclipse:&lt;br /&gt;&lt;p&gt;From usr/lib/eclipse directory, type in:&lt;/p&gt;&lt;p&gt; sudo chown &lt;username&gt; plugins &lt;username&gt;&lt;/username&gt;&lt;/username&gt;&lt;/p&gt;&lt;p&gt;&lt;username&gt;username represent your current username. Copy the 3 previous files in your Eclipse plugin folder.&lt;/username&gt;&lt;/p&gt;&lt;p style="font-weight: bold; color: rgb(51, 153, 153);"&gt;&lt;span style="font-size:130%;"&gt;&lt;username&gt;2- Create a Solution Project&lt;/username&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;username&gt;Start Eclipse. Got to File &gt; New &gt; Project. (My Eclipse version is the 3.2.2).  Expand General and select Project, click Next. &lt;/username&gt;Type Pentaho Solutions as the project name.&lt;/p&gt;&lt;p&gt;Uncheck the Use the Default Location, and Browse to your BI server installation folder &gt; pentaho-solution. In the Package explorer, you will be able to see the content of your project.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_PnG1vdX__nc/SU2eLkmI-nI/AAAAAAAAAIw/G6A8gZfE3y0/s1600-h/Eclipse.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 226px;" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SU2eLkmI-nI/AAAAAAAAAIw/G6A8gZfE3y0/s400/Eclipse.png" alt="" id="BLOGGER_PHOTO_ID_5282051859614857842" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p style="font-weight: bold; color: rgb(51, 153, 153);"&gt;&lt;span style="font-size:130%;"&gt;&lt;username&gt;3- Test an Hello World Action Sequence&lt;/username&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;username&gt;In the left-hand tree, expand bi-developers &gt; getting-started. Double-click HelloWorld.xaction.&lt;/username&gt;&lt;/p&gt;&lt;p&gt;&lt;username&gt;In the Pentaho Server URL text box, type your BI server address which normally is: &lt;span style="font-weight: bold;"&gt;localhost:8080/pentaho&lt;/span&gt;. Click the Test Server button and the server login page should appear in the built-in web browser.&lt;/username&gt;&lt;/p&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_PnG1vdX__nc/SU2pRmfaKMI/AAAAAAAAAI4/RkbmkCdTbas/s1600-h/login.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 226px;" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SU2pRmfaKMI/AAAAAAAAAI4/RkbmkCdTbas/s400/login.png" alt="" id="BLOGGER_PHOTO_ID_5282064057830615234" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Log in as the Joe(admin), the password field is filled automatically. You will be redirected to the Pentaho admin page.&lt;br /&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_PnG1vdX__nc/SU2qTA6oRII/AAAAAAAAAJA/gPqGebSBmSU/s1600-h/admin.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 226px;" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SU2qTA6oRII/AAAAAAAAAJA/gPqGebSBmSU/s400/admin.png" alt="" id="BLOGGER_PHOTO_ID_5282065181615604866" border="0" /&gt;&lt;/a&gt;Click the Generate URL button and then click Run to open the HelloWorld.xaction page. You should have the following result.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_PnG1vdX__nc/SU2tM0t1WVI/AAAAAAAAAJI/BzRJl5OjQ1o/s1600-h/hello1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 226px;" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SU2tM0t1WVI/AAAAAAAAAJI/BzRJl5OjQ1o/s400/hello1.png" alt="" id="BLOGGER_PHOTO_ID_5282068373796378962" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold; color: rgb(51, 153, 153);font-size:130%;" &gt;&lt;br /&gt;4- Change the HelloWorld Action Sequence&lt;/span&gt;&lt;br /&gt;Click the Define Process tab and select Hello World. In the message drop-down list box, change the "%quote" to "-I did it". As your BI server uses the DB-base solution repository, action sequences are run from the database repository. You need to tell the server to refresh the database. Go back to the test tab; you will be prompted to save your changes to your Action Sequence. Click Yes.&lt;br /&gt;Go back to the admin page at localhost:8080/pentaho.&lt;br /&gt;Click&lt;span style="font-weight: bold;"&gt; Tool &gt; Refresh &gt; Repository Cache&lt;/span&gt;.&lt;br /&gt;A message box information will tell you that the refreshing has been successful.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PnG1vdX__nc/SU3FTvPVzcI/AAAAAAAAAJQ/boJ1Xr8vLpo/s1600-h/refresh.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 211px;" src="http://3.bp.blogspot.com/_PnG1vdX__nc/SU3FTvPVzcI/AAAAAAAAAJQ/boJ1Xr8vLpo/s400/refresh.png" alt="" id="BLOGGER_PHOTO_ID_5282094880864456130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Click the Generate URL button and then the Run button to display the result of the action sequence. The new page will display: Hello World - I did it.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_PnG1vdX__nc/SU3GBdxz9LI/AAAAAAAAAJY/upXcXL3avPU/s1600-h/result.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 226px;" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SU3GBdxz9LI/AAAAAAAAAJY/upXcXL3avPU/s400/result.png" alt="" id="BLOGGER_PHOTO_ID_5282095666451182770" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-5476811877703743412?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/5476811877703743412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=5476811877703743412' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/5476811877703743412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/5476811877703743412'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/12/setup-pentaho-design-studio-for-linux.html' title='Setup Pentaho Design Studio for Linux and Test your installation'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_PnG1vdX__nc/SU2eLkmI-nI/AAAAAAAAAIw/G6A8gZfE3y0/s72-c/Eclipse.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-6901555006472399616</id><published>2008-12-20T11:45:00.000-08:00</published><updated>2008-12-20T17:11:50.481-08:00</updated><title type='text'>Setup the new BI server 2.0 in Linux-Ubuntu</title><content type='html'>&lt;span style="font-weight: bold; color: rgb(51, 153, 153);font-size:130%;" &gt;1- Setup the Java environment&lt;/span&gt;&lt;br /&gt;This new BI server version 2 installation and using is really more straightforward. You first need to install the last version of the Java Development Kit or Java Runtime Environment from the Synaptic Package Manager. To do this, go to System &gt; Administration &gt; Synaptic Package Manager. You will be prompted for your administrator password before the package manager window open.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_PnG1vdX__nc/SU2VHP75vwI/AAAAAAAAAIo/SyKMVuiWjAc/s1600-h/Screenshot-Synaptic+Package+Manager+.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 240px;" src="http://1.bp.blogspot.com/_PnG1vdX__nc/SU2VHP75vwI/AAAAAAAAAIo/SyKMVuiWjAc/s400/Screenshot-Synaptic+Package+Manager+.png" alt="" id="BLOGGER_PHOTO_ID_5282041889744862978" border="0" /&gt;&lt;/a&gt;Look for the sun-java6-jdk. Right-click and select Mark for Installation. Then click the Apply button in the toolbar. The Synaptic Package Manager will download all the necessary files and take care of the installation process automatically.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 153, 153);font-size:130%;" &gt;2- Setup the environment variables&lt;/span&gt;&lt;br /&gt;You only need to setup to environment variable JAVA_HOME and JRE_HOME and make them persistent.&lt;br /&gt;In you .profile file in your &lt;username&gt; folder (this file is normally hidden), add the 2 following lines:&lt;br /&gt;&lt;/username&gt;&lt;ul&gt;&lt;li&gt;&lt;username&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;export JAVA_HOME=/usr/lib/jvm/java6_xxx&lt;/span&gt;&lt;/span&gt;&lt;/username&gt;&lt;/li&gt;&lt;li&gt;&lt;username&gt;&lt;span style="font-family:courier new;"&gt;export JRE_HOME=/usr/lib/jvm/java6_xxx/jre&lt;/span&gt;&lt;/username&gt;&lt;/li&gt;&lt;/ul&gt;&lt;username&gt;Then from your terminal, go to your BI server folder that you have downloaded (I dowloaded this file version for the matter of this tutorial: &lt;span style="font-style: italic;"&gt;biserver-ce-2.0.0-RC1.tar.gz&lt;/span&gt;) and unzipped in your user folder. Then from the terminal window, go to your new installation folder and from there, you can start your BI server with the following command:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;./start-pentaho.sh&lt;/span&gt;&lt;br /&gt;To stop it, type in:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;./stop-pentaho.sh&lt;/span&gt;&lt;br /&gt;As you will see, this Community Release of the BI 2.0 server is embedded with hsqldb as the database server with some sample data and Apache Tomcat as the application server.&lt;/username&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-6901555006472399616?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/6901555006472399616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=6901555006472399616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/6901555006472399616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/6901555006472399616'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/12/setup-new-bi-server-20-in-linux-ubuntu.html' title='Setup the new BI server 2.0 in Linux-Ubuntu'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_PnG1vdX__nc/SU2VHP75vwI/AAAAAAAAAIo/SyKMVuiWjAc/s72-c/Screenshot-Synaptic+Package+Manager+.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-8677128690138787305</id><published>2008-12-12T19:36:00.000-08:00</published><updated>2008-12-12T20:12:55.251-08:00</updated><title type='text'>How To Make your Pentaho BI Server Accessible from your LAN</title><content type='html'>Pentaho 1.7 GA comes with JBoss as the Application Server by default. To make your server accessible from your LAN, you will need to modify your server.xml and your starting and stopping script.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#339999;"&gt;&lt;strong&gt;1- Modify your server.xml file&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In your JBoss folder, go to server &gt; default &gt; deploy &gt;jboss-web.deployer &gt;server.xml.&lt;br /&gt;&lt;br /&gt;Change the address attribute of your connector tag to your server IP address:&lt;br /&gt;&lt;br /&gt;&lt;connector address="192.168.1.108" port="8080"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#339999;"&gt;&lt;strong&gt;2- Modify your scripts&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;In your &lt;em&gt;&lt;strong&gt;start-pentaho&lt;/strong&gt;&lt;/em&gt; script, add the following parameter in the line that starts the JBoss server:&lt;br /&gt;-b 192.168.1.108 (The IP address should be your server IP address).&lt;br /&gt;at this line &lt;span style="font-family:courier new;"&gt;/home/blutch009/pentaho/bi-server/jboss/run.sh &lt;strong&gt;-b 192.168.1.108&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;This line starts your JBoss AS and binds it to your server IP address so that it can be accessible from within your LAN at the port specified in your server.xml file (8080 by default).&lt;br /&gt;In your &lt;strong&gt;&lt;em&gt;stop-pentaho&lt;/em&gt;&lt;/strong&gt; script, add your server IP address at this line after -S:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;pentaho/bi-server/jboss/bin/shutdown.sh &lt;strong&gt;-S 192.168.1.108&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-8677128690138787305?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/8677128690138787305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=8677128690138787305' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/8677128690138787305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/8677128690138787305'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/12/how-to-make-your-pentaho-bi-server.html' title='How To Make your Pentaho BI Server Accessible from your LAN'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-6311841458832799484</id><published>2008-12-07T14:38:00.000-08:00</published><updated>2009-07-25T13:03:32.604-07:00</updated><title type='text'>Setup a Host Interface Adapter with a Wireless internet connection in Virtual Box</title><content type='html'>In one of my previous post, I showed how to &lt;a href="http://blutch009.blogspot.com/2008/11/virtual-networking-with-xvm-204.html"&gt;create a virtual network using the Host Interface Adapter &lt;/a&gt;mode with Virtual Box. This mode (compared to the Network Adapter Translation mode) allows your host and your guest having two different IP address but in the same network, so you can ping one to the other. Nevertheless, Host Interface Adapter mode does not support wireless internet connection.&lt;br /&gt;To get internet access from your wireless connection in your box:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="COLOR: rgb(51,153,153);font-size:130%;" &gt;1- You need to setup manually your guest IP address&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;But make sure to make it different from your host. If your guest is running Linux Ubuntu, go to System &gt; Administration &gt; Network.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_PnG1vdX__nc/STx8U_03_EI/AAAAAAAAAIQ/H0zwdoO1LE0/s1600-h/temp"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 364px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5277229563543813186" border="0" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/STx8U_03_EI/AAAAAAAAAIQ/H0zwdoO1LE0/s400/temp" /&gt;&lt;/a&gt; Click the Unlock button then you are prompted to add your administration password.&lt;br /&gt;In the Connections tab, select your wired connection and click Properties.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_PnG1vdX__nc/STx9NP8XsYI/AAAAAAAAAIY/l5g80v0olFk/s1600-h/temp.png"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 278px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5277230529942892930" border="0" alt="" src="http://2.bp.blogspot.com/_PnG1vdX__nc/STx9NP8XsYI/AAAAAAAAAIY/l5g80v0olFk/s400/temp.png" /&gt;&lt;/a&gt;Uncheck the Enable Roaming Mode checkbox. In the Configuration drop-down list, select Static IP address. Define the other parameters according to your Local Area Network configuration.&lt;br /&gt;You will also need to update your DNS information which is going to be your default gateway. Go to System &gt; Administration &gt; Network.&lt;br /&gt;Click the Unlock button and type in your root password. Go to the DNS tab and click Add in the DNS Servers list.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PnG1vdX__nc/SVaZVHtKPGI/AAAAAAAAAJg/Lh9_d3Gtf4s/s1600-h/Screenshot-Network+Settings.png"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 364px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5284579800890621026" border="0" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/SVaZVHtKPGI/AAAAAAAAAJg/Lh9_d3Gtf4s/s400/Screenshot-Network+Settings.png" /&gt;&lt;/a&gt;Add your default gateway IP address and delete your former DNS server. Click Close.&lt;br /&gt;&lt;span style="COLOR: rgb(51,153,153);font-size:130%;" &gt;&lt;strong&gt;2- Enable Network Layer 3 Compatibility&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;Use the &lt;span style="font-family:courier new;"&gt;netsh&lt;/span&gt; command from the windows terminal to force your bridge components network layer 3 compatibility, that is allow your bridge adapters be configured in &lt;em&gt;promiscuous mode&lt;/em&gt;.&lt;br /&gt;Promiscuous mode means that the network adapter passes all the packets it received to the Central Unit Process rather than filtering only the packets addressed to its MAC (Media Access Control) address. This can become an threat for your network security.&lt;br /&gt;For the Host Interface Adapter mode, it allows wireless connection in a bridge receive and process packets from outside network as well as any other network adapters in the bridge. First, use the following command to retrieve the adapter ID of your bridge members:&lt;br /&gt;&lt;div align="center"&gt;&lt;span style="font-family:courier new;"&gt;netsh bridge show adapter&lt;/span&gt;&lt;/div&gt;You need to launch your terminal window as an administrator (right-click and Run as an administrator) in Windows 2003 and Vista.&lt;br /&gt;Once you have the adapter ID for each members of your bridge, type the following command for each of your adapter:&lt;br /&gt;&lt;div align="center"&gt;&lt;span style="font-family:courier new;"&gt;netsh bridge set adapter 1 &lt;em&gt;&lt;adapter_id&gt;&lt;/adapter_id&gt;&lt;/em&gt;forcecompatmode=enable&lt;/span&gt;&lt;/div&gt;You should come with the next window after typing in &lt;span style="font-family:courier new;"&gt;netsh bridge show adapter&lt;/span&gt; again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 201px" id="BLOGGER_PHOTO_ID_5279096159647172226" border="0" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SUMd_MLmBoI/AAAAAAAAAIg/twrUcDV7W_E/s400/test.bmp" /&gt;Now you should have 2 different IP address for your guest and your host within the same network, you can ping from one to the other.&lt;br /&gt;If your host is a Windows system, you need to disable Windows firewall first to allow your guest pinging your host.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-6311841458832799484?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/6311841458832799484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=6311841458832799484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/6311841458832799484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/6311841458832799484'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/12/setup-host-interface-adapter-with.html' title='Setup a Host Interface Adapter with a Wireless internet connection in Virtual Box'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_PnG1vdX__nc/STx8U_03_EI/AAAAAAAAAIQ/H0zwdoO1LE0/s72-c/temp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-1304253496802064048</id><published>2008-11-23T17:09:00.000-08:00</published><updated>2008-12-07T14:35:30.076-08:00</updated><title type='text'>Setup Pentaho 1.7 GA</title><content type='html'>&lt;span style="font-family:arial;"&gt;Pentaho BI 1.7 GA is the open-source Business Intelligence suite that allows you to report, analyse and manage data through E.T.L process. You can download the full BI suite installer for Linux at this &lt;/span&gt;&lt;a style="FONT-FAMILY: arial" href="http://www.pentaho.com/download/"&gt;link&lt;/a&gt;&lt;span style="FONT-FAMILY: arial;font-family:arial;" &gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(51,102,255);font-size:130%;" &gt;&lt;span style="FONT-WEIGHT: bold"&gt;1- Setup MySQL database server and client&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Pentaho 1.7GA installer comes with MySQL with the databases used for repository, so you don't normally need to setup the database server. But I found it necessary though, as I could not access the database server content with MySQL client if the database server is setup with BI server.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,102,255)font-size:130%;" &gt;2- Make the Installer file executable&lt;/span&gt;&lt;br /&gt;To setup the BIN installation file, open a terminal window and go to the folder you place in your BIN file.&lt;/span&gt;&lt;span style="font-family:arial;"&gt; &lt;/span&gt;&lt;span style="FONT-FAMILY: arial;font-family:arial;" &gt;Make sure first your BIN file is executable with the following command:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;chmod +x pentaho-1.7GA-linux-opensource-installer.bin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,102,255)font-size:130%;" &gt;3- Setup the BI suite&lt;/span&gt;&lt;br /&gt;Then from the terminal window, type:&lt;br /&gt;./pentaho-1.7GA-linux-opensource-installer.bin&lt;br /&gt;The installation wizard launch in a new window.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PnG1vdX__nc/STChMW4jUMI/AAAAAAAAAHA/3tCcUSbTQes/s1600-h/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5273892397324128450" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 297px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/STChMW4jUMI/AAAAAAAAAHA/3tCcUSbTQes/s400/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard.png" border="0" /&gt;&lt;/a&gt;Click Forward. Accept the Agreement and click Forward.&lt;br /&gt;Select the component you would like to be installed.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_PnG1vdX__nc/STCh1cLNMMI/AAAAAAAAAHI/w3huAIQ2mdk/s1600-h/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-1.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5273893103119184066" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 297px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/STCh1cLNMMI/AAAAAAAAAHI/w3huAIQ2mdk/s400/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-1.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Click Forward. Then select the Easy installation option.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_PnG1vdX__nc/STCiwvcIcSI/AAAAAAAAAHQ/Xb0mFQaE3hQ/s1600-h/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-2.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5273894121902731554" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 264px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/STCiwvcIcSI/AAAAAAAAAHQ/Xb0mFQaE3hQ/s400/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-2.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This Easy installation set up MySQL as the default database repository and JBoss as the application server. Click Forward.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PnG1vdX__nc/STCjh-DFFUI/AAAAAAAAAHY/KfRlWc5FOg4/s1600-h/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-3.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5273894967637775682" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 264px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/STCjh-DFFUI/AAAAAAAAAHY/KfRlWc5FOg4/s400/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-3.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Click Forward. The next window allows you to choose for your MySQL database installation option.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_PnG1vdX__nc/STCl35gDL3I/AAAAAAAAAHg/Gtjor_5ZuaA/s1600-h/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-4.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5273897543397486450" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 264px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/STCl35gDL3I/AAAAAAAAAHg/Gtjor_5ZuaA/s400/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-4.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Choose the 2nd option to use the database server already setup in your system and let the Installer create the repository.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_PnG1vdX__nc/STL351zkE7I/AAAAAAAAAII/m5euuoyrB6k/s1600-h/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5274550686672229298" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 297px; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/STL351zkE7I/AAAAAAAAAII/m5euuoyrB6k/s400/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;You can change the MySQL Binary Directory to /usr/bin which is the default location of the database server executive file for Ubuntu, Debian and Fedora distributions.&lt;br /&gt;The next window asks you to setup your MySQL root user information.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PnG1vdX__nc/STCmjD_wNmI/AAAAAAAAAHo/VzPPF0IeR1c/s1600-h/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-5.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5273898284949190242" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 264px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/STCmjD_wNmI/AAAAAAAAAHo/VzPPF0IeR1c/s400/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-5.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Click Forward. The next window asks you to provide a name for your Solution Repository. The default name provided is "hibernate".&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_PnG1vdX__nc/STCnWhTQDjI/AAAAAAAAAHw/8MRBjcgtkyk/s1600-h/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-6.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5273899168988925490" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 264px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/STCnWhTQDjI/AAAAAAAAAHw/8MRBjcgtkyk/s400/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-6.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The next window asks you to provide a name for your Quartz Repository.&lt;br /&gt;After clicking Next, you are asked to provide a name for your SampleData Repository. Then, the next window asks for a username and password to access your repository databases.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PnG1vdX__nc/STCo13OBRSI/AAAAAAAAAIA/7RI2KtrDw3w/s1600-h/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-8.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5273900806960137506" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 400px; CURSOR: pointer; HEIGHT: 264px; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/STCo13OBRSI/AAAAAAAAAIA/7RI2KtrDw3w/s400/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard-8.png" border="0" /&gt;&lt;/a&gt;You can click Forward to have the Summary for your installation. Click Forward again to confirm your choices. The setup process will start.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;To run the BI server, from a command prompt, you go the path where your application is installed and then type the following command:&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;./start-pentaho.sh&lt;/span&gt;&lt;/p&gt;&lt;p&gt;You can access your BI dashboard from your browser at the following address:&lt;/p&gt;&lt;p&gt;&lt;a href="http://localhost:8080/pentaho"&gt;http://localhost:8080/pentaho&lt;/a&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-1304253496802064048?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/1304253496802064048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=1304253496802064048' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/1304253496802064048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/1304253496802064048'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/11/setup-pentaho-17-ga.html' title='Setup Pentaho 1.7 GA'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_PnG1vdX__nc/STChMW4jUMI/AAAAAAAAAHA/3tCcUSbTQes/s72-c/Screenshot-Pentaho+Open+BI+Suite+Installation+Wizard.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-3155063766170111508</id><published>2008-11-08T19:48:00.001-08:00</published><updated>2009-07-25T13:20:03.912-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bridge'/><category scheme='http://www.blogger.com/atom/ns#' term='Sun'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtual Box'/><category scheme='http://www.blogger.com/atom/ns#' term='Networking'/><title type='text'>Virtual Networking with xVM 2.0.4</title><content type='html'>With Virtual Box 2.1.4 and later version, the process has been simplified.&lt;br /&gt;&lt;br /&gt;Even though Sun's documentation provided with the software is full of useful detailed information, it might take some time to read and understand everything if you want to quick setup a virtual networking. Once you have first setup a xVM guest, a default network adapter is automatically created with the Network Translation Address mode and will allow you to use the Internet and other network connections of your host. This mode does not require configuration and the xVM will act like a router between your host and your guest; your guest will receive an IP address. But this IP address will be on a completely different network than your host, and like any host in a private network, the (xVM) guest will be invisible from the outside network. (Unless you use the Port Forwarding functionality, which requires some command-line configuration and also still have limitations.) If you need to setup a (Web/Application) server on your guest, you can choose the Host Interface Networking mode. This mode will create a brand new Networking Interface (for your guest) in your host computer.&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Warning:&lt;/strong&gt; Setting up this mode will cause your host to lose its network connection temporarily. Because of that, do not do this on a &lt;em&gt;production server&lt;/em&gt; unless you are aware of what you are doing on remote access or on &lt;em&gt;remote access&lt;/em&gt; as you will lose your connection.&lt;br /&gt;&lt;br /&gt;Network bridging is the most simple method for Host Interface Networking mode. Bridging allows you to connect several network devices together (in software), so that data sent to one of the device will be sent to all of them. Sun's documention mentions that network bridging only works for wired connection, but you will need additional settings to make it works with a wireless network adapter.&lt;br /&gt;How to Configure a Host Interface Network with Vista (host) and Linux Ubuntu (guest)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#339999;"&gt;&lt;strong&gt;1- Setup the Network Interface&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;From the xVM window click Settings and click Networking in the left list.&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 318px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5266713435190193954" border="0" alt="" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SRcf9w5J7yI/AAAAAAAAAGY/xyTIla5e56s/s400/temp.bmp" /&gt;Select the Interface 1 tab, check Activate Networking Interface. Select PCnet-FASTIII as the Interface Type. Sun's documentation explains the differences between those different interface types.&lt;br /&gt;In the Host Network Interface, click the "Add a new interface" button in the right.&lt;br /&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#339999;"&gt;2- Create the Bridge from Windows Vista as a the host side.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;From Windows Vista, go to Control Panel &gt; Network and Sharing Center &gt; Manage Network Connection.&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 300px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5271622382769471922" border="0" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SSiQoHr5AbI/AAAAAAAAAGg/i0ToQmmPKo4/s400/temp.bmp" /&gt;You can see in the list the Network Interface you have configured earlier. Control select the Virtual Box Interface and your Network Connection. Right-click and choose Bridge Connection. &lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 300px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5272001862566651250" border="0" alt="" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SSnpwwF7pXI/AAAAAAAAAGo/373MnOmoqec/s400/temp.bmp" /&gt;You will have a new icon called Network Bridge in your Network Connections window. &lt;/p&gt;&lt;p&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 300px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5272003240863612434" border="0" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/SSnrA-piPhI/AAAAAAAAAGw/gnmCvBBzltg/s400/temp.bmp" /&gt; Right-click the Network Bridge and go to Properties.&lt;/p&gt;&lt;p&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 306px; DISPLAY: block; HEIGHT: 400px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5272003744797775458" border="0" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SSnreT8zVmI/AAAAAAAAAG4/vu2mvKZsXac/s400/temp.bmp" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Click OK to apply your new change.&lt;/p&gt;&lt;p&gt;You now have your virtual network setup between your host and your guest.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-3155063766170111508?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/3155063766170111508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/3155063766170111508'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/11/virtual-networking-with-xvm-204.html' title='Virtual Networking with xVM 2.0.4'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_PnG1vdX__nc/SRcf9w5J7yI/AAAAAAAAAGY/xyTIla5e56s/s72-c/temp.bmp' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-4038404520091680072</id><published>2008-11-07T18:13:00.000-08:00</published><updated>2008-11-23T17:05:09.989-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shared folders'/><category scheme='http://www.blogger.com/atom/ns#' term='vista'/><category scheme='http://www.blogger.com/atom/ns#' term='virutal box'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Create a shared folder between a Windows Vista host and Ubuntu guest with Virtual Box 2.0.4</title><content type='html'>It can be useful to share some part of your host file system with your guest and Sun Virtual Box allows you to do that through Shared Folders. The documentation provided in the pdf is a good one but lack a step that can make you lose some of your precious time. So, I decided to blog the steps I used to create a shared folder between a Windows Vista host and a Ubuntu Hardy Heron guest.&lt;br /&gt;&lt;br /&gt;1- If your guest is running, you can go to the Settings menu and choose Shared Folders. Otherwise, you click the Settings button in the xVM window. The following window appears:&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5266111972160692290" style="margin: 0px auto 10px; display: block; width: 400px; height: 237px; text-align: center;" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SRT88AgR4EI/AAAAAAAAAGI/i7GOjXSwfnc/s400/temp.bmp" border="0" /&gt;2- Click the Add a New Shared Folder button in the top right corner of the window.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5266112926103241826" style="margin: 0px auto 10px; display: block; width: 355px; height: 226px; text-align: center;" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/SRT9ziN6BGI/AAAAAAAAAGQ/Sk_FHnpLPSE/s400/temp.bmp" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;From the first field, you can add the path to the folder you want to share from your host system. Then, you have to specify a name for this sharing. This name will be recognized by Linux as a device name that you will have to mount.&lt;/p&gt;&lt;p&gt;3- In Linux, open a Terminal and create a new directory where you would like to put your shared folder content. &lt;a href="http://www.blogger.com/post-edit.g?blogID=7671890123899230186&amp;amp;postID=4038404520091680072#issue"&gt;It's important to create a specific folder for your shared folder.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;4- Then type in the following command:&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;mount -t vboxsf devicename mountpoint&lt;devicename&gt;&lt;mountpoint&gt;&lt;/mountpoint&gt;&lt;/devicename&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;devicename&lt;/span&gt; is the name you specified earlier. &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;mountpoint&lt;/span&gt; is the path to the folder you have just created.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;font-family:courier new;" &gt;mount&lt;/span&gt; is a root command. As Unix system only have one root file system, this command allows you to attach the file system found in a device to the root file system. &lt;/p&gt;&lt;p id="issue"&gt;My mistake was to put as the mountpoint an existing folder. The consequence was that Linux will attach the new file system to that mountpoint and hide all the other elements that already existed in that mountpoint.To cancel &lt;span style="font-family:courier new;"&gt;mount&lt;/span&gt; command, you can use:&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;sudo umount devicename&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:0;"&gt;Now you should be good to go.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-4038404520091680072?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/4038404520091680072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=4038404520091680072' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/4038404520091680072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/4038404520091680072'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/11/create-shared-folder-between-windows.html' title='Create a shared folder between a Windows Vista host and Ubuntu guest with Virtual Box 2.0.4'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_PnG1vdX__nc/SRT88AgR4EI/AAAAAAAAAGI/i7GOjXSwfnc/s72-c/temp.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-497424013925309152</id><published>2008-10-11T10:31:00.000-07:00</published><updated>2008-10-13T14:57:20.877-07:00</updated><title type='text'>Tutorial to setup Ubuntu 8.04 Hardy Heron in Virtual Box</title><content type='html'>The goal of this tutorial is to setup Ubuntu 8.04 in Virtual Box 2.02 on a Acer 6920. You can download the last version of Ubuntu from &lt;a href="http://www.ubuntu.com/getubuntu/download"&gt;here&lt;/a&gt;. You can choose either a desktop edition or a server edition. Once downloaded, you can choose to keep the ISO file on your hard drive or burn it. This tutorial is based on the first option.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;color:#3333ff;"&gt;&lt;strong&gt;1. Set up the Operating System&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5255955160833391778" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SPDnXxza_KI/AAAAAAAAAEQ/elOCsdHzfxE/s400/vb+-+new.bmp" border="0" /&gt;Select your Ubuntu Virtual Machine and click launch to start it. A new Wizard will help you install your operating system.&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5255956114699712098" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/SPDoPTO39mI/AAAAAAAAAEY/p7dXjTgk-zc/s400/vb+-+new.bmp" border="0" /&gt;Click Next.&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5255956625395872466" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/SPDotBuU8tI/AAAAAAAAAEg/wFGk21uGzFU/s400/vb+-+new.bmp" border="0" /&gt;&lt;br /&gt;The media type is obviously a CD/DVD-ROM. Floppy disks are used to setup old operating systems such as MS-DOS which are still supported by Virtual Box. Because our Ubuntu installation files are store in a ISO file in our physical hard drive, the media source will be an image file for which we will need to indicate the path. Click Image File and click on the browse button. The following window opens:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5256369086812436978" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SPJf1cPMufI/AAAAAAAAAEo/QL1m-0Tt2So/s400/vb+-+new.bmp" border="0" /&gt;&lt;br /&gt;Click the Add button and browse to the location of your ISO image of Ubuntu. The Virtual Machine will boot using the image file as a virtual CD/DVD-ROM.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5256413172213743714" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/SPKH7jJ8AGI/AAAAAAAAAEw/aqSEeiNoT3s/s400/vb+-+new.bmp" border="0" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;An information window will tell you how to make the mouse pointer captured by the guest window or released to be used by the host operating system.&lt;img id="BLOGGER_PHOTO_ID_5256416878668033602" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SPKLTSxgLkI/AAAAAAAAAE4/1C0eFjUHxe8/s400/vb+-+new.bmp" border="0" /&gt;The first option shows the desktop environment of Ubuntu. Use the second one to install Ubuntu in your new virtual machine. A new Wizard will start to help you configuring your locale configuration. The first window will ask you to choose the language.&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5256418971926983186" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/SPKNNIxU8hI/AAAAAAAAAFA/dLPLQgtp5hU/s400/vb+-+new.bmp" border="0" /&gt; The next screen will ask you your geographic location or the nearest place.&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5256436377773672002" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SPKdCSmkBkI/AAAAAAAAAFI/jtlhYHYdHmM/s400/vb+-+new.bmp" border="0" /&gt;The next screen allows you to choose you keyboard layout.&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5256437580622768338" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SPKeITkIqNI/AAAAAAAAAFQ/AeReWSg3JwI/s400/vb+-+new.bmp" border="0" /&gt;The next screen allows you to prepare for your disk partition. We will use the Guided - Use entire disk for the purpose of this tutorial. The next screen will ask you about your personal identification information.&lt;img id="BLOGGER_PHOTO_ID_5256439701185553490" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/SPKgDvRs5FI/AAAAAAAAAFY/-ciJsikvATY/s400/vb+-+new.bmp" border="0" /&gt; The last screen gives you a summary of your new operating system setup before installing Ubuntu on your virtual hard drive.&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5256450610852014850" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SPKp-w84KwI/AAAAAAAAAFg/MfNA9GUFe8U/s400/vb+-+new.bmp" border="0" /&gt; Once the installation done, you are prompted to restart your virtual machine.&lt;/div&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5256471821426384178" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SPK9RYf4XTI/AAAAAAAAAFo/5V8S4qRLxjc/s400/vb+-+new.bmp" border="0" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#3333ff;"&gt;2- Setup the VBoxGuestAdditions&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;You can see that Ubuntu automatically retrieves the guest network connection.&lt;/div&gt;&lt;div&gt;The next step is to unload the image file of the Ubuntu installation CD and replace it with the VBoxGuestAdditions.iso file that comes with the Virtual Box. This image file contains an application designed to provide closer integration between host and guest, improving the interactive performance of guest systems. To do that, you can shut down the Virtual Machine, click the Preferences button, and click CD/DVD-ROM in the left menu. &lt;/div&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5256727264387627698" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/SPOlmHrverI/AAAAAAAAAFw/q3A9_O36J7I/s400/temp.bmp" border="0" /&gt;&lt;br /&gt;Make sure to have the Insert CD/DVD-ROM check box selected with the ISO image file radio button. In the drop down list, select the VBoxGuestAdditions.iso file. Once you start again your your virtual machine, you will see the image file on your desktop like in the screenshot below.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5256737720391996210" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SPOvGvVckzI/AAAAAAAAAF4/PNi3AT9h6H4/s400/vb+-+new.bmp" border="0" /&gt; Launch the terminal from the Application menu and Accessories. To reach the CD-ROM, type:&lt;/div&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;cd /cdrom&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Then run the Linux shellscript, using administrator privilege:&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;"&gt;sudo sh ./VirtualBoxLinuxAdditions-x86.run&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The script will run after prompting the administrator password. Shut down your virtual machine to apply the changes and proceed to the next step.&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:130%;"&gt;&lt;strong&gt;&lt;span style="color:#3333ff;"&gt;3- Configuring the &lt;span &gt;sound&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;From the Preferences, click Audio. Select Activate Audio check box. From the Host Audio Driver, choose Windows Direct Sound; for the Audio Controller, choose ICH AC97.&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;img id="BLOGGER_PHOTO_ID_5256759277743811266" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SPPCtiuoqsI/AAAAAAAAAGA/E32VaO3CeKs/s400/vb+-+new.bmp" border="0" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-497424013925309152?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/497424013925309152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=497424013925309152' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/497424013925309152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/497424013925309152'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/10/tutorial-to-setup-ubuntu-804-hardy.html' title='Tutorial to setup Ubuntu 8.04 Hardy Heron in Virtual Box'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_PnG1vdX__nc/SPDnXxza_KI/AAAAAAAAAEQ/elOCsdHzfxE/s72-c/vb+-+new.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-4749020990658947258</id><published>2008-10-08T16:59:00.000-07:00</published><updated>2008-10-11T10:10:05.064-07:00</updated><title type='text'>Create a Virtual Machine for Ubuntu Tutorial with Virtual Box</title><content type='html'>&lt;div align="justify"&gt;&lt;a href="http://www.virtualbox.org/"&gt;Virtual Box&lt;/a&gt; is another Sun's amazing open-source product that basically creates a virtual computer within you real operating system. The product exists for either Linux or Windows platform and can be used to set up any major Linux distribution and Windows for desktop or server purpose. The greatest advantage of virtualization is hardware ressource saving for organisations. But for individual user, it offers the advantages of using 2 operating systems in the same computer without the need to format and partition your hard drive and all the other small configuration issues of dual booting without the need to format your main hard drive. You also have the possibility to install several instances of an operating system, or different operating systems which can be tricky (or even impossible?) in multi booting. &lt;/div&gt;&lt;div align="justify"&gt;My goal in this tutorial is to show how to set up Linux Ubuntu 8.04 under Windows Vista Home Premium Edition.&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-size:130%;color:#3366ff;"&gt;&lt;strong&gt;1 - Setup Virtual Box&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;This process is straightforward and does not deserve to be detailed here. The installation file can be downloaded &lt;a href="http://www.virtualbox.org/wiki/Downloads"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-size:130%;color:#3366ff;"&gt;&lt;strong&gt;2 - Create a new Virtual Machine&lt;/strong&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;Click New (Nouveau) to launch the New Virtual Machine Wizard.&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;img id="BLOGGER_PHOTO_ID_5254945662374446978" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://3.bp.blogspot.com/_PnG1vdX__nc/SO1RPO_PB4I/AAAAAAAAADA/1TNlm61vloI/s400/vb+-+new.bmp" border="0" /&gt; Give a name to your new VM (as you give a name to your computer when setting up Windows).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5254946830059349074" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SO1STM9ApFI/AAAAAAAAADI/4o9o9i7fCgc/s400/vb+-+new.bmp" border="0" /&gt; &lt;p align="justify"&gt;The drop-down list box shows all the supported operating systems. The following window asks you to give a size to your memory.&lt;br /&gt;&lt;/p&gt;&lt;div align="justify"&gt;&lt;/div&gt;&lt;div align="justify"&gt;You need to consider though that the amount of memory you give to your Virtual Machine will not be available to your host operating system anymore. On the other hand, you should give to your Operating System enough memory for it to work properly, Windows Vista as a guest for example, will require 512 Mb of memory at least.&lt;/div&gt;&lt;div align="justify"&gt;The next step asks you to a new boot disk, with a recommanded minimum size of 8192 Mo. Click New.&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;img id="BLOGGER_PHOTO_ID_5255919567396647010" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/SPDG_96zsGI/AAAAAAAAADg/w36hcTOFjR4/s400/vb+-+new.bmp" border="0" /&gt;&lt;br /&gt;Another wizard will help you to create a new virtual disk. The next window will ask you to choose between creating &lt;strong&gt;dynamic size virtual disk&lt;/strong&gt; or a &lt;strong&gt;fixed size virtual disk&lt;/strong&gt;. The dynamic size has a minimum size of 2 Gb and grows as it is filled with data. This option is recommanded if you want to save space on your physical hard drive.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="justify"&gt;&lt;img id="BLOGGER_PHOTO_ID_5255925883617994562" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/SPDMvnrU50I/AAAAAAAAADo/j5NDAHG67W8/s400/vb+-+new.bmp" border="0" /&gt;You give a name to your virtual hard drive and use a slider to assign a minimum size. Then, you specify the path you want your image file being saved in. Virtual Machine will start to create the image file. I use 20 Gb for the size of the virtual hard drive.&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;img id="BLOGGER_PHOTO_ID_5255929434711805986" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://4.bp.blogspot.com/_PnG1vdX__nc/SPDP-UiEUCI/AAAAAAAAADw/sPaW6Rf3PdI/s400/vb+-+new.bmp" border="0" /&gt;&lt;br /&gt;You can create as many virtual disk as you like. But like memory, the disk space you use to create a virtual disk will not be available to your host operating system anymore. The next window appears when Virtual Box has done created a virtual hard drive. &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;img id="BLOGGER_PHOTO_ID_5255934132733380338" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/_PnG1vdX__nc/SPDUPyBshvI/AAAAAAAAAD4/9ZwE9B_UJyw/s400/vb+-+new.bmp" border="0" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="justify"&gt;From there, you can create other hard drive by clicking new, or clicking Existing to select other available virtual hard drives to be used as a primary master. The last window is a summary of your virtual machine instance configuration. You can later change the size of your memory and many other parameters.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img id="BLOGGER_PHOTO_ID_5255935774101468850" style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_PnG1vdX__nc/SPDVvUmV9rI/AAAAAAAAAEA/wAKgg8utShA/s400/vb+-+new.bmp" border="0" /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-4749020990658947258?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/4749020990658947258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=4749020990658947258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/4749020990658947258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/4749020990658947258'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/10/create-virtual-machine-for-ubuntu.html' title='Create a Virtual Machine for Ubuntu Tutorial with Virtual Box'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_PnG1vdX__nc/SO1RPO_PB4I/AAAAAAAAADA/1TNlm61vloI/s72-c/vb+-+new.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-5004125839633554898</id><published>2008-01-05T17:55:00.000-08:00</published><updated>2008-01-05T18:20:59.091-08:00</updated><title type='text'>Accessing MySQL server using JDBC (Java DataBase Connectivity) from Open Office Org 2.2</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;span style="font-weight: bold;"&gt;First trial:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;As I've done with other IDE like Eclipse or NetBeans, it was obvious for me to download from MySQL website the last release of the Java based driver compatible with my MySQL server version and then follow the steps for connecting my database server to Open Office, but once the connection test succesfully ran and actually established, Open Office crashed when I tried to browse the content of a table with not even a hint to indicate the source of the problem.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-weight: bold;"&gt;Second trial:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;I was recommanded to use the following command:&lt;/span&gt; &lt;span style="color: rgb(153, 153, 153);font-family:arial;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(153, 153, 153);font-family:arial;" &gt;apt-cache search jdbc | grep java&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="color: rgb(153, 153, 153);font-family:arial;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_PnG1vdX__nc/R4A2HWOZhxI/AAAAAAAAAAc/EfTStAQDkEA/s1600-h/1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_PnG1vdX__nc/R4A2HWOZhxI/AAAAAAAAAAc/EfTStAQDkEA/s400/1.png" alt="" id="BLOGGER_PHOTO_ID_5152177473564804882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;This command got me the name of the library that contains the JDBC driver for MySQL with several other « maybe » useful libraries.&lt;/span&gt; &lt;span style="font-family:arial;"&gt;The next step was to install this library using:&lt;/span&gt; &lt;span style="color: rgb(153, 153, 153);font-family:arial;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(153, 153, 153);font-family:arial;" &gt;sudo apt-install libmysql-java&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family:arial;"&gt;Then restart your session.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Start Open Office Database.&lt;br /&gt;Select Connect to an existing database and choose MySQL, click Next.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_PnG1vdX__nc/R4A4uGOZhyI/AAAAAAAAAAk/Xk8B6zNQ5qQ/s1600-h/2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_PnG1vdX__nc/R4A4uGOZhyI/AAAAAAAAAAk/Xk8B6zNQ5qQ/s400/2.png" alt="" id="BLOGGER_PHOTO_ID_5152180338307991330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Choose Connecting using JDBC, click Next.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PnG1vdX__nc/R4A482OZhzI/AAAAAAAAAAs/zqRsIxvTDeo/s1600-h/3.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_PnG1vdX__nc/R4A482OZhzI/AAAAAAAAAAs/zqRsIxvTDeo/s400/3.png" alt="" id="BLOGGER_PHOTO_ID_5152180591711061810" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;Fill the textfields, the database name should be one that already exist in your server, the server URL I used was localhost, and the port is 3306 (it's the default port assigned for MySQL server at installation, but it can be different ...). By default the Java class file used has already been specified, click Test Class.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PnG1vdX__nc/R4A5Q2OZh0I/AAAAAAAAAA0/-qYvssQAYQk/s1600-h/4.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_PnG1vdX__nc/R4A5Q2OZh0I/AAAAAAAAAA0/-qYvssQAYQk/s400/4.png" alt="" id="BLOGGER_PHOTO_ID_5152180935308445506" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;The following window confirms that the driver has been successfully loaded.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_PnG1vdX__nc/R4A5h2OZh1I/AAAAAAAAAA8/dOWInOWE6Q8/s1600-h/5.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_PnG1vdX__nc/R4A5h2OZh1I/AAAAAAAAAA8/dOWInOWE6Q8/s400/5.png" alt="" id="BLOGGER_PHOTO_ID_5152181227366221650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;This window asks for your authentification (username then password) and allows you to test the connection.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_PnG1vdX__nc/R4A5yGOZh2I/AAAAAAAAABE/opuoVOrFxHs/s1600-h/6.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_PnG1vdX__nc/R4A5yGOZh2I/AAAAAAAAABE/opuoVOrFxHs/s400/6.png" alt="" id="BLOGGER_PHOTO_ID_5152181506539095906" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-5004125839633554898?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/5004125839633554898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=5004125839633554898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/5004125839633554898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/5004125839633554898'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/01/accessing-mysql-server-using-jdbc-java.html' title='Accessing MySQL server using JDBC (Java DataBase Connectivity) from Open Office Org 2.2'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_PnG1vdX__nc/R4A2HWOZhxI/AAAAAAAAAAc/EfTStAQDkEA/s72-c/1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-3989531696669426206</id><published>2008-01-05T17:07:00.000-08:00</published><updated>2008-01-05T18:24:14.880-08:00</updated><title type='text'>Execute a SQL script in MySQL 5.0 in Linux Ubuntu</title><content type='html'>&lt;span style="font-family:arial;"&gt;To run a sql script file from MySQL command prompt:&lt;/span&gt; &lt;span style="font-family:arial;"&gt;Change to the directory in which the script file is located in your file system.Run MySQL command prompt&lt;br /&gt;&lt;span style="font-style: italic;font-family:courier new;" &gt;mysql -u &lt;span style="color: rgb(153, 0, 0);"&gt;username&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;username  style="font-family:arial;"&gt;&lt;span style="font-style: italic;font-family:courier new;" &gt; -p&lt;/span&gt;&lt;password&gt;.&lt;br /&gt;&lt;/password&gt;&lt;/username&gt;&lt;span style="font-family:arial;"&gt;Go to the database in which you want the script file to be run with this command:&lt;/span&gt; &lt;span style="font-family:arial;"&gt;use &lt;/span&gt;&lt;database_name style="font-family: arial;"&gt;, it supposes that you already have a database created in your server, I used a database called 'budget'.&lt;br /&gt;&lt;/database_name&gt;Then use the SOURCE command as this:&lt;br /&gt;&lt;span style="font-style: italic;font-family:courier new;" &gt;SOURCE &lt;/span&gt;&lt;scriptname&gt;&lt;span style="font-style: italic; color: rgb(153, 0, 0);font-family:courier new;" &gt;scriptname.sql&lt;/span&gt;;&lt;br /&gt;&lt;/scriptname&gt;&lt;div style="text-align: right;"&gt;&lt;scriptname&gt;&lt;/scriptname&gt;&lt;br /&gt;&lt;scriptname&gt;&lt;/scriptname&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_PnG1vdX__nc/R4AsGWOZhwI/AAAAAAAAAAU/RsmICJxq8ZE/s1600-h/Capture.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_PnG1vdX__nc/R4AsGWOZhwI/AAAAAAAAAAU/RsmICJxq8ZE/s400/Capture.png" alt="" id="BLOGGER_PHOTO_ID_5152166461268657922" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-3989531696669426206?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/3989531696669426206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=3989531696669426206' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/3989531696669426206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/3989531696669426206'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2008/01/execute-sql-script-in-mysql-50-in-linux.html' title='Execute a SQL script in MySQL 5.0 in Linux Ubuntu'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_PnG1vdX__nc/R4AsGWOZhwI/AAAAAAAAAAU/RsmICJxq8ZE/s72-c/Capture.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7671890123899230186.post-1399803991306905277</id><published>2007-11-22T12:57:00.000-08:00</published><updated>2007-11-22T13:10:19.052-08:00</updated><title type='text'>Introduction</title><content type='html'>Since its beginning, Internet has been used to share knowledge, to make information easily accessible through Web search engine. By the time, commercial aspects tends to dominate the world of Internet, and it has become increasingly difficult sometime to look for information. The goal of this blog is to share my recent knowledge on the various fields in which I am focused, Information Technology, Java, and whatever I might be interested in. I really hope you will find it useful and would be glad to welcome your comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7671890123899230186-1399803991306905277?l=blutch009.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blutch009.blogspot.com/feeds/1399803991306905277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7671890123899230186&amp;postID=1399803991306905277' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/1399803991306905277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7671890123899230186/posts/default/1399803991306905277'/><link rel='alternate' type='text/html' href='http://blutch009.blogspot.com/2007/11/introduction.html' title='Introduction'/><author><name>blutch009</name><uri>http://www.blogger.com/profile/14360830877406284769</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://4.bp.blogspot.com/_PnG1vdX__nc/S9dpsNDSc9I/AAAAAAAAAKg/92odr_bzoBQ/S220/imagesCA35U9AI.jpg'/></author><thr:total>0</thr:total></entry></feed>
