<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Guide for Installing Tomcat 5.0 on OS X 10.4 Tiger</title>
	<atom:link href="http://www.bartbusschots.ie/blog/?feed=rss2&#038;p=201" rel="self" type="application/rss+xml" />
	<link>http://www.bartbusschots.ie/blog/?p=201</link>
	<description>An Irish Voice in the Blogsphere</description>
	<lastBuildDate>Thu, 02 Sep 2010 09:53:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Red&#8217;s Blog. &#187; Blog Archive &#187; Installing tomcat 5 on Leopard</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-40801</link>
		<dc:creator>Red&#8217;s Blog. &#187; Blog Archive &#187; Installing tomcat 5 on Leopard</dc:creator>
		<pubDate>Tue, 20 Nov 2007 00:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-40801</guid>
		<description>[...] http://www.bartbusschots.ie/blog/?p=201 [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.bartbusschots.ie/blog/?p=201" rel="nofollow">http://www.bartbusschots.ie/blog/?p=201</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-40070</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 16 Oct 2007 19:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-40070</guid>
		<description>Anyone that is having problems executing the startup.sh needs to use Bart&#039;s comment (#21). It fixed my problem. It&#039;s exactly what he said... I downloaded the ZIP file and was having permission issues. Thanks!!!</description>
		<content:encoded><![CDATA[<p>Anyone that is having problems executing the startup.sh needs to use Bart&#8217;s comment (#21). It fixed my problem. It&#8217;s exactly what he said&#8230; I downloaded the ZIP file and was having permission issues. Thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-38392</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sat, 05 May 2007 20:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-38392</guid>
		<description>Thanks so much Bart


Worked like a treat!!!</description>
		<content:encoded><![CDATA[<p>Thanks so much Bart</p>
<p>Worked like a treat!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart B</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-38389</link>
		<dc:creator>Bart B</dc:creator>
		<pubDate>Sat, 05 May 2007 13:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-38389</guid>
		<description>Hi Andy,

If you install from the ZIP rather than the tar.gz uniz file permissions are lost. The chances are that  startup.sh is missing the execute permission. The first thing I&#039;d try would be to execute the following as root to give execute permission on all shell scripts in the bin folder:

chmod 755 /usr/local/tomcat/bin/*.sh</description>
		<content:encoded><![CDATA[<p>Hi Andy,</p>
<p>If you install from the ZIP rather than the tar.gz uniz file permissions are lost. The chances are that  startup.sh is missing the execute permission. The first thing I&#8217;d try would be to execute the following as root to give execute permission on all shell scripts in the bin folder:</p>
<p>chmod 755 /usr/local/tomcat/bin/*.sh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-38388</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sat, 05 May 2007 12:06:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-38388</guid>
		<description>Hi

Firstly thanks for this tutorial it&#039;s nice and easy to follow.  I&#039;m a bit of a novice and I get this issue once I&#039;ve followed steps 1 - 3.  I dont want to go any further until I&#039;ve got the basics right.

The file startup.sh is for sure there and I dont understand  what I&#039;m doing wrong

Last login: Sat May  5 10:44:35 on ttyp1
Welcome to Darwin!
PowerMac-1:~ andrewthomas$ sudo bash
PowerMac-1:~ root# sudo /usr/local/tomcat/bin/startup.sh
sudo: /usr/local/tomcat/bin/startup.sh: command not found
PowerMac-1:~ root# 


Thanks

Andy</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Firstly thanks for this tutorial it&#8217;s nice and easy to follow.  I&#8217;m a bit of a novice and I get this issue once I&#8217;ve followed steps 1 &#8211; 3.  I dont want to go any further until I&#8217;ve got the basics right.</p>
<p>The file startup.sh is for sure there and I dont understand  what I&#8217;m doing wrong</p>
<p>Last login: Sat May  5 10:44:35 on ttyp1<br />
Welcome to Darwin!<br />
PowerMac-1:~ andrewthomas$ sudo bash<br />
PowerMac-1:~ root# sudo /usr/local/tomcat/bin/startup.sh<br />
sudo: /usr/local/tomcat/bin/startup.sh: command not found<br />
PowerMac-1:~ root# </p>
<p>Thanks</p>
<p>Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maike</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-34058</link>
		<dc:creator>Maike</dc:creator>
		<pubDate>Wed, 18 Apr 2007 00:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-34058</guid>
		<description>Thanks! That was a good, concise and helpful howto.</description>
		<content:encoded><![CDATA[<p>Thanks! That was a good, concise and helpful howto.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Installing mod_jk for Apache 1.3 on Mac OS X 10.4 Tiger : Bart Busschots</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-25831</link>
		<dc:creator>Installing mod_jk for Apache 1.3 on Mac OS X 10.4 Tiger : Bart Busschots</dc:creator>
		<pubDate>Fri, 23 Mar 2007 18:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-25831</guid>
		<description>[...] I&#039;ve done a few previous articles on Apache Tomcat (one for installing it on Linux and one for installing it on OS X), but I haven&#039;t yet mentioned installing the JK Connector (mod_jk) in any environment. For those who are wondering what on earth I&#039;m on about, mod_jk allows the Apache web server to serve your Tomcat web apps so they appear on port 80. There are a number of reasons why you might want to do this. Firstly, it provides a simple and secure way to get Tomcat to respond to requests on port 80 without having to have it run as root. Apache is more efficient at serving static pages so it can help increase the efficiency of your web app, and finally it allows you leverage all the power of Apache&#039;s many features for your Java web app. [...]</description>
		<content:encoded><![CDATA[<p>[...] I&#8217;ve done a few previous articles on Apache Tomcat (one for installing it on Linux and one for installing it on OS X), but I haven&#8217;t yet mentioned installing the JK Connector (mod_jk) in any environment. For those who are wondering what on earth I&#8217;m on about, mod_jk allows the Apache web server to serve your Tomcat web apps so they appear on port 80. There are a number of reasons why you might want to do this. Firstly, it provides a simple and secure way to get Tomcat to respond to requests on port 80 without having to have it run as root. Apache is more efficient at serving static pages so it can help increase the efficiency of your web app, and finally it allows you leverage all the power of Apache&#8217;s many features for your Java web app. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-18687</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Thu, 08 Mar 2007 23:56:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-18687</guid>
		<description>So I finally installed the service startupitem. I found 2 problems/issues with the instructions:

1) the command in the startupitems/tomcat/tomcat file needs to be:

sudo -u tomcat /usr/local/tomcat/bin/startup.sh

not 

su tomcat - /usr/local/tomcat/bin/startup.sh

The latter gave me &quot;incorrect permissions&quot; error on startup (su requires that you enter the users password, even if you are root, sudo does not.

Also in the same file it should have a structure which is pretty standard for services, and also causes an automatic restart of the service if it crashes. 

The one as shown will work fine, but I am suggesting this:

after the three export commands in place of:

if [ &quot;${TOMCAT}&quot; = &quot;-YES-&quot; ]; then
  ConsoleMessage &quot;Starting Tomcat&quot;
  su tomcat - /usr/local/tomcat/bin/startup.sh
fi

use:

StartService ()
{

if [ &quot;${TOMCAT}&quot; = &quot;-YES-&quot; ]; then
  ConsoleMessage &quot;Starting Tomcat&quot;
  sudo -u tomcat /usr/local/tomcat/bin/startup.sh
fi

}

StopService ()
{
    	ConsoleMessage &quot;Stopping Tomcat&quot;
	sudo -u tomcat /library/usr/local/bin/shutdown.sh
}

RestartService ()
{
    StopService
    StartService
}


RunService &quot;$1&quot;</description>
		<content:encoded><![CDATA[<p>So I finally installed the service startupitem. I found 2 problems/issues with the instructions:</p>
<p>1) the command in the startupitems/tomcat/tomcat file needs to be:</p>
<p>sudo -u tomcat /usr/local/tomcat/bin/startup.sh</p>
<p>not </p>
<p>su tomcat &#8211; /usr/local/tomcat/bin/startup.sh</p>
<p>The latter gave me &#8220;incorrect permissions&#8221; error on startup (su requires that you enter the users password, even if you are root, sudo does not.</p>
<p>Also in the same file it should have a structure which is pretty standard for services, and also causes an automatic restart of the service if it crashes. </p>
<p>The one as shown will work fine, but I am suggesting this:</p>
<p>after the three export commands in place of:</p>
<p>if [ "${TOMCAT}" = "-YES-" ]; then<br />
  ConsoleMessage &#8220;Starting Tomcat&#8221;<br />
  su tomcat &#8211; /usr/local/tomcat/bin/startup.sh<br />
fi</p>
<p>use:</p>
<p>StartService ()<br />
{</p>
<p>if [ "${TOMCAT}" = "-YES-" ]; then<br />
  ConsoleMessage &#8220;Starting Tomcat&#8221;<br />
  sudo -u tomcat /usr/local/tomcat/bin/startup.sh<br />
fi</p>
<p>}</p>
<p>StopService ()<br />
{<br />
    	ConsoleMessage &#8220;Stopping Tomcat&#8221;<br />
	sudo -u tomcat /library/usr/local/bin/shutdown.sh<br />
}</p>
<p>RestartService ()<br />
{<br />
    StopService<br />
    StartService<br />
}</p>
<p>RunService &#8220;$1&#8243;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-18154</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 06 Mar 2007 21:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-18154</guid>
		<description>Bart:

Thanks! I didn&#039;t see anything that was version-specific for Tomcat, but I thought I should ask anyway.

I&#039;ll be adding this in the next few days, so I&#039;ll let you (and anyone reading!) know how it goes.

Thanks for the great info!

--Jeff</description>
		<content:encoded><![CDATA[<p>Bart:</p>
<p>Thanks! I didn&#8217;t see anything that was version-specific for Tomcat, but I thought I should ask anyway.</p>
<p>I&#8217;ll be adding this in the next few days, so I&#8217;ll let you (and anyone reading!) know how it goes.</p>
<p>Thanks for the great info!</p>
<p>&#8211;Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart B</title>
		<link>http://www.bartbusschots.ie/blog/?p=201&#038;cpage=1#comment-18013</link>
		<dc:creator>Bart B</dc:creator>
		<pubDate>Tue, 06 Mar 2007 14:55:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bartbusschots.ie/blog/?p=201#comment-18013</guid>
		<description>Hi Jeff,

I&#039;m sorry to say I have no experience at all with Tomcat 6. However, these instructions were basically sound for Tomcat 4 so there&#039;s a good chance they&#039;ll work for 6.

As for tomcatCtrl.pl, that&#039;s purely for convenience. I generally use these instructions on development machines so I&#039;m constantly starting and stopping Tomcat.

I&#039;d love to hear how you get on with these instruction on Tomcat 6.</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>I&#8217;m sorry to say I have no experience at all with Tomcat 6. However, these instructions were basically sound for Tomcat 4 so there&#8217;s a good chance they&#8217;ll work for 6.</p>
<p>As for tomcatCtrl.pl, that&#8217;s purely for convenience. I generally use these instructions on development machines so I&#8217;m constantly starting and stopping Tomcat.</p>
<p>I&#8217;d love to hear how you get on with these instruction on Tomcat 6.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
