<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.cebitec.uni-bielefeld.de/brf-software/index.php?action=history&amp;feed=atom&amp;title=IGetDBWiki%2FGettingStarted%2FWebServer</id>
	<title>IGetDBWiki/GettingStarted/WebServer - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cebitec.uni-bielefeld.de/brf-software/index.php?action=history&amp;feed=atom&amp;title=IGetDBWiki%2FGettingStarted%2FWebServer"/>
	<link rel="alternate" type="text/html" href="https://wiki.cebitec.uni-bielefeld.de/brf-software/index.php?title=IGetDBWiki/GettingStarted/WebServer&amp;action=history"/>
	<updated>2026-04-09T22:10:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wiki.cebitec.uni-bielefeld.de/brf-software/index.php?title=IGetDBWiki/GettingStarted/WebServer&amp;diff=2329&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.cebitec.uni-bielefeld.de/brf-software/index.php?title=IGetDBWiki/GettingStarted/WebServer&amp;diff=2329&amp;oldid=prev"/>
		<updated>2011-10-26T06:17:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:17, 26 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.cebitec.uni-bielefeld.de/brf-software/index.php?title=IGetDBWiki/GettingStarted/WebServer&amp;diff=2328&amp;oldid=prev</id>
		<title>imported&gt;KaiRunte at 13:04, 10 May 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.cebitec.uni-bielefeld.de/brf-software/index.php?title=IGetDBWiki/GettingStarted/WebServer&amp;diff=2328&amp;oldid=prev"/>
		<updated>2007-05-10T13:04:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
== Web-Server ==&lt;br /&gt;
&lt;br /&gt;
IGetDB should be able to run in any servlet-container, although it has been tested with Tomcat 5.5 only.&lt;br /&gt;
&lt;br /&gt;
=== Compilation  and Creation of .war File ===&lt;br /&gt;
&lt;br /&gt;
Simply run:&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
ant war&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This creates the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;igetdb.war&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; file in &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;share/webserver/webapps/&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. The target &amp;quot;war&amp;quot; has a dependency on the target &amp;quot;build&amp;quot;: If any classes need to be compiled, this happens automatically.&lt;br /&gt;
&lt;br /&gt;
=== Changing the Server-Port ===&lt;br /&gt;
&lt;br /&gt;
To avoid clashes with other IGetDB instances running on the same machine all ports used by Tomcat are defined in the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ant.properties&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; file. When you have a fresh checkout, the file should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
CATALINA_HOME /vol/bioinfo/share/apache-tomcat-5.5.15&lt;br /&gt;
#SERVER_PORT 8005&lt;br /&gt;
#HTTP_PORT 8080&lt;br /&gt;
#AJP_PORT 8009&lt;br /&gt;
#REDIRECT_PORT 8443&lt;br /&gt;
#SHUTDOWN_COMMAND SHUTDOWN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you would run the command &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ant web.start&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, ant would fail with a message such as this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
web.conf.check:&lt;br /&gt;
&lt;br /&gt;
BUILD FAILED&lt;br /&gt;
CVS/bioinfo/igetdb/build.xml:74: Please define the Tomcat ports in the ant.properties file.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All you need to do is uncomment the four properties definitions &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;SERVER_PORT&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;HTTP_PORT&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;AJP_PORT&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;REDIRECT_PORT&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; and &amp;#039;&amp;#039;&amp;#039;change&amp;#039;&amp;#039;&amp;#039; the numbers to your favourite port numbers. The property &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;SHUTDOWN_COMMAND&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; must be uncommented as well. Changing the shutdown command is not compulsory, but advisable.&lt;br /&gt;
&lt;br /&gt;
=== Start/Stop the Web-Server ===&lt;br /&gt;
&lt;br /&gt;
Depending on where you want to develop you might need to change the file &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ant.properties&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. It defines the base directory of the Tomcat server, also called &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;CATALINA_HOME&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. The checked in version defines &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;CATALINA_HOME&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; for our Solaris environment.&lt;br /&gt;
&lt;br /&gt;
Important: you need to define the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;JAVA_HOME&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; environment variable in your shell. It should point to the base directory of your Java installation (n.b. our rcinfo packages do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; define this variable). The variable is needed by the Tomcat start script.&lt;br /&gt;
&lt;br /&gt;
* Starting the webserver: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ant web.start&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* Stopping the webserver: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;ant web.stop&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;KaiRunte</name></author>
	</entry>
</feed>