<?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>Better Software and beyond... &#187; Tomcat</title>
	<atom:link href="http://www.thorsten-kamann.de/tag/tomcat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thorsten-kamann.de</link>
	<description>About architecture, development, quality and more</description>
	<lastBuildDate>Tue, 25 Oct 2011 20:16:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Installing Atlassian Jira with Tomcat 6</title>
		<link>http://www.thorsten-kamann.de/2010/06/18/installing-atlassian-jira-with-tomcat-6-2/</link>
		<comments>http://www.thorsten-kamann.de/2010/06/18/installing-atlassian-jira-with-tomcat-6-2/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 13:46:07 +0000</pubDate>
		<dc:creator>thorque</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[JIRA]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://blog.kamann.info/?p=360</guid>
		<description><![CDATA[<a href="http://www.thorsten-kamann.de/2010/06/18/installing-atlassian-jira-with-tomcat-6-2/" title="Installing Atlassian Jira with Tomcat 6"></a>Do you need a tracking system to track your requirements, issues and tasks? So you can look around &#8211; and maybe &#8211; your eyes keep on the famous Atlassian Jira. At first Jira is a bug tracker. You can create, &#8230;<p class="read-more"><a href="http://www.thorsten-kamann.de/2010/06/18/installing-atlassian-jira-with-tomcat-6-2/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.thorsten-kamann.de/2010/06/18/installing-atlassian-jira-with-tomcat-6-2/" title="Installing Atlassian Jira with Tomcat 6"></a><p>Do you need a tracking system to track your requirements, issues and tasks? So you can look around &#8211; and maybe &#8211; your eyes keep on the famous <a href="http://www.atlassian.com/software/jira/" target="_blank">Atlassian Jira</a>. At first Jira is a bug tracker. You can create, manage and close bugs with Jira. But there is more:</p>
<ul>
<li>Bug tracking</li>
<li>Manage your projects with Jira</li>
<li>Create your own workflows for tasks and issues</li>
<li>Powerful Reporting</li>
<li>Extensible with plugins</li>
</ul>
<p>You can <a href="http://www.atlassian.com/software/jira/JIRADownloadCenter.jspa" target="_blank">download a standalone version</a> bundled with a Tomcat 5.5. With this download you can start directly. But typically you already have an infrastructure. For such scenarios it&#8217;s much better to use the WAR/EAR-Edition of Jira.</p>
<p>This article describes the installation with Apache Tomcat 6 on a Linux box. If you plan to do this on windows you only must change paths and &#8211; of course &#8211; shell against Windows Batch.</p>
<h3>Install Tomcat</h3>
<p>You can get <a href="http://tomcat.apache.org/download-60.cgi" target="_blank">Tomcat from the official projectsite</a>. You get a ZIP- or TAR.GZ-Archive. Now you can extract the archive and do a testrun by browsing to <em>http://localhost:8080</em>.</p>
<p>If you want to deploy Jira to this instance of Tomcat you need some additional Jars not included in the web archive you will later deploy. You can get the additional jars from <a href="http://confluence.atlassian.com/download/attachments/200709089/jira-jars-tomcat6.zip?">here</a>. Create a new directory in you Tomcat installation directory: <em>ext/jira/lib</em>. Copy all Jars into this directory.</p>
<p>Finally you must Tomcat announce the new libraries. For this you edit the conf/catalina-properties by changing the common.loader property (the property is a single line; here are only breaks due to layout reasons):</p>
<pre>common.loader=${catalina.base}/ext/jira/lib/*.jar,
       ${catalina.base}/lib,${catalina.base}/lib/*.jar,
       ${catalina.home}/lib,${catalina.home}/lib/*.jar</pre>
<p>Jira needs a lot of memory. Sometimes Jira needs more than Tomcat can deliver. So you should add mor memory to Tomcat. This and some other properties you should set, before the next restart of Tomcat.</p>
<pre>export JAVA_OPTS="-XX:MaxPermSize=256m -Xmx1024m</pre>
<pre>       -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true</pre>
<pre>       -Dmail.mime.decodeparameters=true"</pre>
<p>The first both options gives more memory to Tomcat. The last both options are needed by Jira. The 3rd is needed to avoid a memory leak of Tomcat and the last option is needed to send attachments with another encoding than the default encoding.</p>
<p>You must restart Tomcat to activate your changes.</p>
<h3>Installing Jira</h3>
<p>The archive you get as <a href="http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-enterprise-4.1.2.tar.gz">WAR-Edition</a> contains the binaries you need to deploy it to Tomcat. But the archive contains the binaries for the EAR-Edition too. And for older Tomcats and Resin and so on&#8230; Additionally this archive enables you to do customizations like configurations, templates,  additionally sources to compile and JARs. After you downloaded the archive and extract it you must change one property pointing to the data directory used by Jira by editing<em> edit-webapp/WEB-INF/classes/jira-application.properties</em>.</p>
<p>Now you can build the web archive you can use to deploy to Tomcat. In the root directory the is a build script (<em>build.sh</em> and <em>build.bat</em>) you can use to archieve this. After some time the script is ready and a new directory is created: <em>dist-tomcat/tomcat-6</em>. There you find the web archive and the deployment descriptor for Tomcat 6. You can simple copy this descriptor to <em>&lt;&lt;tomcat-install-directory&gt;&gt;/conf/Catalina/localhost</em>. Tomcat will install Jira and you can browse to <em>http://localhost:8080/jira</em>.</p>
<h3>Customizing the web archive</h3>
<p>You can overwrite every file the web archive contains. The can archieved vy copying the file into the edit-webapp directory. Please remember to create the same directory structure. For instance if you want to customize the file<em> webapp/WEB-INF/classes/log4j.properties</em> you must copy it to <em>edit-webapp/WEB-INF/classes/log4j.properties</em>. After running the build script you can reload the webapplication with Tomcat&#8217;s Manager or simply restarting Tomcat.</p>
<h3>Speed up the build script</h3>
<p>The build script create web archive for all tomcat versions and a generic web archive for other servlet containers. If you plan to deploy to Tomcat 6 it would be enough to build the archive for Tomcat 6. To do this you must only change the target <em>war</em> in the build.xml:</p>
<pre>
<div id="_mcePaste">&lt;target name="war" depends="clean, compile" description="Packages the WAR file"&gt;</div>
<div id="_mcePaste">  &lt;!-- Build the war file --&gt;</div>
<div id="_mcePaste">  &lt;jar jarfile="${dist-generic}/${name}-${version}.war"&gt;</div>
<div id="_mcePaste">    &lt;fileset dir="${build.war}"/&gt;</div>
<div id="_mcePaste">  &lt;/jar&gt;</div>
<div id="_mcePaste">  &lt;!-- Tomcat-6-specific .war --&gt;</div>
<div id="_mcePaste">  &lt;jar jarfile="${dist-tomcat}/tomcat-6/${name}-${version}.war"&gt;</div>
<div id="_mcePaste">    &lt;fileset dir="${build.war}"&gt;</div>
<div id="_mcePaste">      &lt;exclude name="WEB-INF/lib/commons-logging*.jar"/&gt;</div>
<div id="_mcePaste">      &lt;exclude name="WEB-INF/lib/log4j-*.jar"/&gt;</div>
<div id="_mcePaste">    &lt;/fileset&gt;</div>
<div id="_mcePaste">  &lt;/jar&gt;</div>
<div id="_mcePaste">  &lt;copy file="etc/tomcat-6-jira.xml" tofile="${dist-tomcat}/tomcat-6/jira.xml"&gt;</div>
<div id="_mcePaste">    &lt;filterset&gt;</div>
<div id="_mcePaste">      &lt;filter token="JIRA_HOME" value="${basedir}"/&gt;</div>
<div id="_mcePaste">      &lt;filter token="JIRA_WEBAPP" value="${basedir}${slash}${dist-tomcat}${slash}tomcat-6${slash}${name}-${version}.war"/&gt;</div>
<div id="_mcePaste">    &lt;/filterset&gt;</div>
<div id="_mcePaste">  &lt;/copy&gt;</div>
<div id="_mcePaste">  &lt;echo&gt;</div>
<div id="_mcePaste">--------------------------------------------------</div>
<div id="_mcePaste">Deployable WARs generated:</div>
<div id="_mcePaste">TOMCAT:  ${basedir}${slash}${dist-tomcat}${slash}${name}-${version}.war</div>
<div id="_mcePaste">GENERIC: ${basedir}${slash}${dist-generic}${slash}${name}-${version}.war</div>
<div id="_mcePaste">See http://www.atlassian.com/software/jira/docs/latest/servers/ for install instructions</div>
<div id="_mcePaste">--------------------------------------------------</div>
<div id="_mcePaste">  &lt;/echo&gt;</div>
<div id="_mcePaste">&lt;/target&gt;</div>
</pre>
<h3>Conclusion</h3>
<p>Now your Jira is up and running. The next steps are configuration of projects and users, but this isn&#8217;t the focus of this article.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thorsten-kamann.de/2010/06/18/installing-atlassian-jira-with-tomcat-6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Centaurus-Platform: Hosting with Tomcat</title>
		<link>http://www.thorsten-kamann.de/2005/05/08/the-centaurus-platform-hosting-with-tomcat/</link>
		<comments>http://www.thorsten-kamann.de/2005/05/08/the-centaurus-platform-hosting-with-tomcat/#comments</comments>
		<pubDate>Sun, 08 May 2005 21:04:14 +0000</pubDate>
		<dc:creator>thorque</dc:creator>
				<category><![CDATA[Publications]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.thorsten-kamann.de/wordpress/?p=161</guid>
		<description><![CDATA[<a href="http://www.thorsten-kamann.de/2005/05/08/the-centaurus-platform-hosting-with-tomcat/" title="The Centaurus-Platform: Hosting with Tomcat"></a>Tomcat-Kolumne Javamagazin 04/2005 PDF-File The Centaurus-Platform: Hosting with Tomcat (German) Tomcat is the most popular Servlet-Container. You can easily create application to deploy to Tomcat. But there were no offers for hosting of such application. The Centaurus-Platform has the goal &#8230;<p class="read-more"><a href="http://www.thorsten-kamann.de/2005/05/08/the-centaurus-platform-hosting-with-tomcat/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.thorsten-kamann.de/2005/05/08/the-centaurus-platform-hosting-with-tomcat/" title="The Centaurus-Platform: Hosting with Tomcat"></a><div class="entry">
<h5>Tomcat-Kolumne Javamagazin 04/2005</h5>
<div class="img alignnone size-full wp-image-136" style="width:34px;">
	<img src="http://www.bobdveloper.de/wp-content/uploads/2009/05/pdf.gif" alt="PDF-File" width="34" height="34" />
	<div>PDF-File</div>
</div><a href="http://www.bobdveloper.de/wp-content/uploads/2009/05/jm_04_2005.pdf">The Centaurus-Platform: Hosting with Tomcat (German)</a></p>
<p>Tomcat is the most popular Servlet-Container. You can easily create application to deploy to Tomcat. But there were no offers for hosting of such application. The Centaurus-Platform has the goal to offer a Hosting solution for Tomcat-based applications.</p>
<p>This article is written in german.</p>
<h3>Die Centaurus-Platform: Hosting mit Tomcat &#8211; Nah am Mythos</h3>
<p>Es ist allgemein bekannt, dass Tomcat der Webcontainer für alle Fälle ist. Die <a id="amzn_cl_link_1" style="border-bottom: 1px solid; color: #aa3511; text-decoration: underline; padding-bottom: 1px;" name="389864281X" href="http://amazon.de/gp/product/389864281X?ie=UTF8&amp;tag=thorskaman-21&amp;link_code=em1&amp;camp=2510&amp;creative=11146&amp;creativeASIN=389864281X&amp;adid=a3a7d421-5d30-42ce-b48e-80306c592b15" target="_blank">Entwicklung von Java- Webanwendungen</a> hat in den letzten sieben Jahren stark zugenommen. Leider gibt es kaum attraktive Angebote für das Hosting solcher Anwendungen. Nach Gründen dafür muss man nicht lange suchen, denn der Tomcat und andere Webcontainer taugen out of the box nur sehr eingeschränkt für diese Aufgabe. Das Projekt Centaurus-Platform hat sich diesem Problem angenommen und stellt nun erste Ergebnisse bereit. Diese Ergebnisse werden in dieser Kolumne beschrieben.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.thorsten-kamann.de/2005/05/08/the-centaurus-platform-hosting-with-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat as Unix-Service</title>
		<link>http://www.thorsten-kamann.de/2004/11/07/tomcat-as-unix-service/</link>
		<comments>http://www.thorsten-kamann.de/2004/11/07/tomcat-as-unix-service/#comments</comments>
		<pubDate>Sun, 07 Nov 2004 21:12:57 +0000</pubDate>
		<dc:creator>thorque</dc:creator>
				<category><![CDATA[Publications]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.thorsten-kamann.de/wordpress/?p=165</guid>
		<description><![CDATA[<a href="http://www.thorsten-kamann.de/2004/11/07/tomcat-as-unix-service/" title="Tomcat as Unix-Service"></a>Tomcat-Kolumne in Javamagazin 10/2004 PDF-File Tomcat as Unix-Service (German) If you want to run Tomcat in a production environment you need to integrate Tomcat into the system. If you have Unix as operating system this is commonly done with integration &#8230;<p class="read-more"><a href="http://www.thorsten-kamann.de/2004/11/07/tomcat-as-unix-service/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.thorsten-kamann.de/2004/11/07/tomcat-as-unix-service/" title="Tomcat as Unix-Service"></a><div class="entry">
<h5>Tomcat-Kolumne in Javamagazin 10/2004</h5>
<div class="img alignnone size-full wp-image-136" style="width:34px;">
	<img src="http://www.bobdveloper.de/wp-content/uploads/2009/05/pdf.gif" alt="PDF-File" width="34" height="34" />
	<div>PDF-File</div>
</div><a href="http://www.bobdveloper.de/wp-content/uploads/2009/05/jm_10_2004.pdf">Tomcat as Unix-Service (German)</a></p>
<p>If you want to run Tomcat in a production environment you need to integrate Tomcat into the system. If you have Unix as operating system this is commonly done with integration into the dameon scripts.</p>
<p>This article is written in german.</p>
<h3>Tomcat als Unix-Service oder die kleinen Hürden einer stabilen Tomcat-Unix-Dienstinstallation</h3>
<p>Während die Windows-Plattform eher für Entwicklungszwecke genutzt wird, ist die Unix-Plattform das Ziel für einen Tomcat-Produktionsserver. Ein großes Hindernis bei der Konfiguration eines Tomcats auf einem Unix-Betriebssystem ist die fehlende Standard-Systemintegration. Diese Kolumne beschreibt die Installation eines Tomcat als Systemdienst und die Integration in UNIX-Systeme.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.thorsten-kamann.de/2004/11/07/tomcat-as-unix-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat as Service</title>
		<link>http://www.thorsten-kamann.de/2004/10/08/tomcat-as-service/</link>
		<comments>http://www.thorsten-kamann.de/2004/10/08/tomcat-as-service/#comments</comments>
		<pubDate>Fri, 08 Oct 2004 21:18:29 +0000</pubDate>
		<dc:creator>thorque</dc:creator>
				<category><![CDATA[Publications]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.thorsten-kamann.de/wordpress/?p=168</guid>
		<description><![CDATA[<a href="http://www.thorsten-kamann.de/2004/10/08/tomcat-as-service/" title="Tomcat as Service"></a>Tomcat-Kolumne Javamagazin 09/2004 PDF-File Tomcat as Service (German) There are 2 different methods to integrate Tomcat in a Windows-Server System Both methods will be described in this article. This article is written in germnan. Der feine Unterschied &#8211; Tomcat als &#8230;<p class="read-more"><a href="http://www.thorsten-kamann.de/2004/10/08/tomcat-as-service/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.thorsten-kamann.de/2004/10/08/tomcat-as-service/" title="Tomcat as Service"></a><div class="entry">
<h5>Tomcat-Kolumne Javamagazin 09/2004</h5>
<div class="img alignnone size-full wp-image-136" style="width:34px;">
	<img src="http://www.bobdveloper.de/wp-content/uploads/2009/05/pdf.gif" alt="PDF-File" width="34" height="34" />
	<div>PDF-File</div>
</div><a href="http://www.bobdveloper.de/wp-content/uploads/2009/05/jm_09_2004.pdf">Tomcat as Service (German)</a></p>
<p>There are 2 different methods to integrate Tomcat in a Windows-Server System Both methods will be described in this article.</p>
<p>This article is written in germnan.</p>
<h3>Der feine Unterschied &#8211; Tomcat als Serviceunternehmen: erfolgreiche Dienstleistung unter Windows</h3>
<p>Der <a id="amzn_cl_link_2" style="border-bottom: 1px solid; color: #aa3511; text-decoration: underline; padding-bottom: 1px;" name="3873870126" href="http://amazon.de/gp/product/3873870126?ie=UTF8&amp;tag=thorskaman-21&amp;link_code=em1&amp;camp=2510&amp;creative=11146&amp;creativeASIN=3873870126&amp;adid=6d450138-1e79-4d7a-84b1-bd71511cd289" target="_blank">feine Unterschied</a> &#8211; Tomcat als Serviceunternehmen: erfolgreiche Dienstleistung unter Windows. In dieser Kolumne geht es um Intregation des Tomcats in den Windows Dienstemanager. Dabei werden zwei verschiedene Möglichkeiten aufgezeigt und genau unter die Lupe genommen.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.thorsten-kamann.de/2004/10/08/tomcat-as-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat Security</title>
		<link>http://www.thorsten-kamann.de/2004/04/08/tomcat-security/</link>
		<comments>http://www.thorsten-kamann.de/2004/04/08/tomcat-security/#comments</comments>
		<pubDate>Thu, 08 Apr 2004 21:25:07 +0000</pubDate>
		<dc:creator>thorque</dc:creator>
				<category><![CDATA[Publications]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.thorsten-kamann.de/wordpress/?p=172</guid>
		<description><![CDATA[<a href="http://www.thorsten-kamann.de/2004/04/08/tomcat-security/" title="Tomcat Security"></a>Tomcat-Kolumne Javamagazin 04/2004 PDF-File Tomcat Security (German) This article shows how to use the Java Security¬† Manager to run an secured Tomcat Instance. This article is written in german. Sicherheit für Leib und Leben: Trutzburg: Mein Tomcat ist eine Festung &#8230;<p class="read-more"><a href="http://www.thorsten-kamann.de/2004/04/08/tomcat-security/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://www.thorsten-kamann.de/2004/04/08/tomcat-security/" title="Tomcat Security"></a><div class="entry">
<h5>Tomcat-Kolumne Javamagazin 04/2004</h5>
<div class="img alignnone size-full wp-image-136" style="width:34px;">
	<img src="http://www.bobdveloper.de/wp-content/uploads/2009/05/pdf.gif" alt="PDF-File" width="34" height="34" />
	<div>PDF-File</div>
</div><a href="http://www.bobdveloper.de/wp-content/uploads/2009/05/jm_04_2004.pdf">Tomcat Security (German)</a></p>
<p>This article shows how to use the Java Security¬† Manager to run an secured Tomcat Instance.</p>
<p>This article is written in german.</p>
<h3>Sicherheit für Leib und Leben: Trutzburg: Mein Tomcat ist eine Festung</h3>
<p>In dieser Kolumne geht es um die Absicherung des Tomcats mit dem Java-SecurityManager, wenn Webanwendungen von verschiedenen Kunden in denselben Tomcat installiert werden.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.thorsten-kamann.de/2004/04/08/tomcat-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

