<?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>Ubuntu Tutorials &#187; java</title>
	<atom:link href="http://www.ubuntututorials.net/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntututorials.net</link>
	<description>Copy/Paste tutorials for Ubuntu</description>
	<lastBuildDate>Sun, 15 Aug 2010 17:57:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Tomcat 6 on Jaunty</title>
		<link>http://www.ubuntututorials.net/installing-tomcat-6-on-jaunty/</link>
		<comments>http://www.ubuntututorials.net/installing-tomcat-6-on-jaunty/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 22:20:06 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://www.ubuntututorials.net/?p=12</guid>
		<description><![CDATA[Apache Tomcat is a servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run.
1. Install all required packages
sudo apt-get install tomcat6 tomcat6-admin tomcat6-examples

Tomcat depends on a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>Apache Tomcat is a servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run.</p>
<p>1. Install all required packages</p>
<p><code>sudo apt-get install tomcat6 tomcat6-admin tomcat6-examples<br />
</code><span id="more-12"></span></p>
<p><em>Tomcat depends on a lot of other packages and the package manager will take care of that</em></p>
<p>2. Make sure the service is responding by entering url similar to this one in a browser:</p>
<p><code>http://{ipaddress}:8080/<br />
</code></p>
<p><em>Replace {ipaddress} with the ip address of your server</em></p>
<p>3. Create user and roles for the manager app. Replace the contents of your current file with something like this: (sudo pico /etc/tomcat6/tomcat-users.xml)</p>
<p><code>&lt;?xml version='1.0' encoding='utf-8'?&gt;<br />
&lt;tomcat-users&gt;<br />
&lt;role rolename="manager" /&gt;<br />
&lt;role rolename="tomcat"/&gt;<br />
&lt;user username="{username}" password="{password}" roles="tomcat,manager"/&gt;<br />
&lt;/tomcat-users&gt;<br />
</code></p>
<p><em>Replace {username} and {password} with credentials of your choice.</em></p>
<p>4. Restart Tomcat</p>
<p><code>sudo /etc/init.d/tomcat6 restart<br />
</code></p>
<p>5. Enter the manager app with a browser</p>
<p><code>http://{ipaddress}:8080/manager/html<br />
</code></p>
<p><em>You can browse the examples using this location: http://{ipaddress}:8080/examples</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ubuntututorials.net/installing-tomcat-6-on-jaunty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
