<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>instantOLAP &#187; Tomcat</title>
	<atom:link href="http://www.instantolap.com/tag/tomcat/feed" rel="self" type="application/rss+xml" />
	<link>http://www.instantolap.com</link>
	<description>Business intelligence for the Java Platform</description>
	<lastBuildDate>Mon, 12 Dec 2011 10:12:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>How to update instantOLAP in Apache Tomcat</title>
		<link>http://www.instantolap.com/howtos/how-update-instantolap-apache-tomcat#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.instantolap.com/howtos/how-update-instantolap-apache-tomcat#comments</comments>
		<pubDate>Wed, 12 Aug 2009 17:02:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Update]]></category>

		<guid isPermaLink="false">http://www.instantolap.com/?p=469</guid>
		<description><![CDATA[Whenever a new version of instantOLAP is released, you can either re-install the whole application or learn how to update the files in your existing installation. Read this article to learn about apache tomcat and instantOLAP updates.]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="margin-left: 20px; margin-top: -70px; margin-bottom: 0px;" title="tomcat" src="http://www.instantolap.com/wp-content/uploads/2009/08/tomcat.gif" alt="How to update instantOLAP in Apache Tomcat" width="130" height="92" />Of course, you could just download the new installer of instantOLAP and install the application in the same path again. But this has a number of disadvantages: 1. The download of the complete installation is much larger, 2. all of your personal settings in the server or for the instantOLAP would get lost and 3. the demo reports and the access rights and some other repository elements will be re- or overwritten with its original state again.</p>
<p>Therefore, this article describes, how to update instantOLAP when using the Apache Tomcat application server with some easy steps. The Tomcat server is included in the standard distribution of instantOLAP.</p>
<p><span id="more-469"></span></p>
<div class='toc wptoc'>
<h2>Contents</h2>
<ol class='toc-odd level-1'>
	<li>
		<a href="#Updating_instantOLAP_step_by_step">Updating instantOLAP step by step</a>
		<ol class='toc-even level-2'>
			<li>
				<a href="#Download_the_updated_files">1. Download the updated files</a>
			</li>
			<li>
				<a href="#Stop_the_Tomcat_server">2. Stop the Tomcat server!</a>
			</li>
			<li>
				<a href="#Remove_the_webapp_folders">3. Remove the webapp folders</a>
			</li>
			<li>
				<a href="#Replace_the_war_files">5. Replace the war files</a>
			</li>
			<li>
				<a href="#Start_the_server_again">6. Start the server again</a>
			</li>
		</ol>
	<li>
		<a href="#Using_Tomcat_without_the_webapps_folders">Using Tomcat without the webapps folders</a>
	</li>
</ol>
</ol>
</ol>
</div>
<div class='wptoc-end'>&nbsp;</div>
<p>Basically, updating instantOLAP is simple, there are only 6 simple steps you have to perform. But you have to be careful and must execute these steps in the right order, otherwise you may harm your Tomcat installation:</p>
<span id="Updating_instantOLAP_step_by_step"><h3>Updating instantOLAP step by step</h3></span>
<span id="Download_the_updated_files"><h4>1. Download the updated files</h4></span>
<p>Of course, before you start the update, you should download the new files of instantOLAP and put them somewhere (not in in the instantOLAP folder yet). On our download page, we always offer the files for manual installations at the bottom of the page, below the complete installation files.</p>
<p>These files end with the extension &#8220;.war&#8221; and are just zipped folders which are known and unpacked by the Tomcat server. Usually, you will need three files for a complete update of instantOLAP:</p>
<ul>
<li><strong>iolap.war</strong>: This is the Web-Portal of instantOLAP</li>
<li><strong>iolapWS.war</strong>: This is the backend (OLAP-Engine) of instantOLAP</li>
<li><strong>iolapWorkbench</strong>.war: This is the Webstart version of the instantOLAP Workbench. If all of your users use the Windows installation of the Workbench, you won&#8217;t need this file.</li>
</ul>
<span id="Stop_the_Tomcat_server"><h4>2. Stop the Tomcat server!</h4></span>
<p>This is the most important step at all, because removing the webapp folders as described in the next step will destroy parts of your tomcat configuration and it will no longer work.</p>
<span id="Remove_the_webapp_folders"><h4>3. Remove the webapp folders</h4></span>
<p>By default, Tomcat unpacks all war files into its subfolder &#8220;webapps&#8221;. Each war file becomes one folder and the server will not use the updated war files as long as their unpacked versions exist here. Therefore you&#8217;ll have to remove the folders &#8220;iolap&#8221;, &#8220;iolapWS&#8221; and &#8220;iolapWorbench&#8221; from here.</p>
<span id="Replace_the_war_files"><h4>5. Replace the war files</h4></span>
<p>Now you can move or copy the war files into the instantOLAP folder. The location where you must copy the files is &lt;instantOLAP&gt;/tomcat/iolap_webapps.</p>
<p>We always suggest to make a backup of the previous files in this folder before you replace them with the newer version.</p>
<span id="Start_the_server_again"><h4>6. Start the server again</h4></span>
<p>Now you can start the server again. After a couple of seconds, the Tomcat will start to unpack the war files into the webapps folder and instantOLAP will be available again.</p>
<p>Thats it.</p>
<span id="Using_Tomcat_without_the_webapps_folders"><h3>Using Tomcat without the webapps folders</h3></span>
<p>Beginning with version 2.6, the standard installation of instantOLAP will have a different Tomcat configuration and the server will no longer unpack the war files in the webapps folder.</p>
<p>Then you will no longer need to delete this folders when updating the system and cannot harm the server if you forget to shut down the server before removing this folders. Even better: Tomcat automatically recognizes the new war files in the iolap_webapps folder and updates itself without the need to stop/start itself.</p>
<p>If you want to, you can change this setting in your Tomcat installation, too. Stop the server, then open the file &lt;instantOLAP&gt;/tomcat/conf/server.xml and search for the entry unpackWARs=&#8221;true&#8221;. Simply change it from &#8220;true&#8221; to &#8220;false&#8221;. Now you should remove the instantOLAP folders from the &lt;instantOLAP&gt;/tomcat/webapps folder and can restart the Tomcat server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.instantolap.com/howtos/how-update-instantolap-apache-tomcat/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (enhanced) (user agent is rejected)

Served from: www.instantolap.com @ 2012-02-04 09:07:08 -->
