<?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>Casey Watson &#187; Tomcat</title>
	<atom:link href="http://casedogdesigns.com/wordpress/category/tomcat/feed/" rel="self" type="application/rss+xml" />
	<link>http://casedogdesigns.com/wordpress</link>
	<description>Outdated Thoughts</description>
	<lastBuildDate>Tue, 01 Dec 2009 22:08:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>bad interpreter: No such file or directory</title>
		<link>http://casedogdesigns.com/wordpress/bad-interpreter-no-such-file-or-directory/</link>
		<comments>http://casedogdesigns.com/wordpress/bad-interpreter-no-such-file-or-directory/#comments</comments>
		<pubDate>Thu, 14 Dec 2006 19:56:42 +0000</pubDate>
		<dc:creator>Casey</dc:creator>
				<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://cd2/wordpress/?p=9</guid>
		<description><![CDATA[When my tomcat context suddenly wouldn&#8217;t start anymore I found myself scratching my head. I couldn&#8217;t figure out why the startup.sh script always threw the error
bash: ./catalina.sh: /bin/sh^M: bad interpreter: No such file or directory
After investigating for a while I found that I had two seemingly identical files. One would run fine, the other threw [...]]]></description>
			<content:encoded><![CDATA[<p>When my tomcat context suddenly wouldn&#8217;t start anymore I found myself scratching my head. I couldn&#8217;t figure out why the startup.sh script always threw the error</p>
<blockquote><p>bash: ./catalina.sh: /bin/sh^M: bad interpreter: No such file or directory</p></blockquote>
<p>After investigating for a while I found that I had two seemingly identical files. One would run fine, the other threw a &#8220;bad interpreter&#8221; error.</p>
<p>Apparently if a shell script gets opened and saved in notepad it will not run anymore.</p>
<p>A simple &#8220;dos2unix catalina.sh&#8221; fixed the problem.</p>
<p>In Ubuntu the dos2unix binary can be found in the tofrodos package.</p>
]]></content:encoded>
			<wfw:commentRss>http://casedogdesigns.com/wordpress/bad-interpreter-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
