<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.wiki.mohid.com/index.php?action=history&amp;feed=atom&amp;title=Tomcat</id>
		<title>Tomcat - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.wiki.mohid.com/index.php?action=history&amp;feed=atom&amp;title=Tomcat"/>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Tomcat&amp;action=history"/>
		<updated>2026-04-05T00:50:45Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.0</generator>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Tomcat&amp;diff=910&amp;oldid=prev</id>
		<title>Guillaume: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Tomcat&amp;diff=910&amp;oldid=prev"/>
				<updated>2008-12-03T10:39:07Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:39, 3 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&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>Guillaume</name></author>	</entry>

	<entry>
		<id>http://www.wiki.mohid.com/index.php?title=Tomcat&amp;diff=909&amp;oldid=prev</id>
		<title>192.168.20.177: /* Faqs */</title>
		<link rel="alternate" type="text/html" href="http://www.wiki.mohid.com/index.php?title=Tomcat&amp;diff=909&amp;oldid=prev"/>
				<updated>2008-10-22T12:18:02Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Faqs&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The apache tomcat is a jsp (java servlet pages) server. It's similar to an http server like the apache server, only it serves jsp. It is required in order to use [[Thredds]] or [[LAS]].&lt;br /&gt;
&lt;br /&gt;
==Setting up==&lt;br /&gt;
 &amp;gt; cd /home/guillaume/Software/las7&lt;br /&gt;
 &amp;gt; mkdir tomcat&lt;br /&gt;
 &amp;gt; cd tomcat&lt;br /&gt;
 &amp;gt; wget http://neacm.fe.up.pt/pub/apache/tomcat/tomcat-5/v5.5.26/bin/apache-tomcat-5.5.26.tar.gz&lt;br /&gt;
 &amp;gt; tar -xzf apache-tomcat-5.5.25.tar.gz&lt;br /&gt;
 &amp;gt; ln -s apache-tomcat-5.5.25/ tomcat&lt;br /&gt;
&lt;br /&gt;
Edit the &amp;lt;code&amp;gt;apache-tomcat-5.5.25/conf/server.xml&amp;lt;/code&amp;gt; and change the ports (default:8080) if needed.&lt;br /&gt;
&lt;br /&gt;
To run the tomcat as a daemon service, one needs to compile the &amp;lt;code&amp;gt;jsvc&amp;lt;/code&amp;gt; program:&lt;br /&gt;
 &amp;gt; cd ./tomcat/bin&lt;br /&gt;
 &amp;gt; tar xvfz jsvc.tar.gz&lt;br /&gt;
 &amp;gt; cd jsvc-src&lt;br /&gt;
 &amp;gt; ./configure --with-java=/usr/java&lt;br /&gt;
 &amp;gt; make&lt;br /&gt;
 &amp;gt; cp jsvc ..&lt;br /&gt;
 &amp;gt; cd ..&lt;br /&gt;
&lt;br /&gt;
==The tomcat files tree==&lt;br /&gt;
===/bin===&lt;br /&gt;
* '''./jsvc''' : the loader that runs tomcat as a daemon ( &amp;gt; jsvc -help)&lt;br /&gt;
* '''[[tomcat bash|./Tomcat5.sh start|stop]]''': the custom bash script that starts or stops the tomcat server&lt;br /&gt;
&lt;br /&gt;
===/conf===&lt;br /&gt;
* '''server.xml''': where one defines which ports for tomcat to use.&lt;br /&gt;
* '''tomcat-users.xml''': where one defines who are the valid users for the tomcat server and what are their roles (privileges)&lt;br /&gt;
&lt;br /&gt;
===/log===&lt;br /&gt;
* '''catalina.out''': where one can check the logs and errors issued by the boot and running of the tomcat server.&lt;br /&gt;
&lt;br /&gt;
===/webapps===&lt;br /&gt;
Webapps the root directory where all the .war files (the tomcat servlets) go. Ex: [[thredds]].&lt;br /&gt;
&lt;br /&gt;
==Faqs==&lt;br /&gt;
*'''How do I restart the tomcat and thredds server in data.mohid.com?'''&lt;br /&gt;
 &amp;gt; cd /home/guillaume/Software/las7/tomcat/tomcat/bin&lt;br /&gt;
 &amp;gt; ./Tomcat5.sh start&lt;br /&gt;
&lt;br /&gt;
*'''How do I know if tomcat is running?''':&lt;br /&gt;
 &amp;gt; netstat -tlnap | grep 8080&lt;br /&gt;
&lt;br /&gt;
==External references==&lt;br /&gt;
*[http://tomcat.apache.org/tomcat-5.5-doc/introduction.html tomcat homepage]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>192.168.20.177</name></author>	</entry>

	</feed>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
  ga('create', 'UA-56589921-5', 'auto');
  ga('send', 'pageview');
</script>