<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>basedir-error &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/basedir-error/</link>
	<description>Feed of posts on WordPress.com tagged "basedir-error"</description>
	<pubDate>Wed, 19 Jun 2013 00:08:12 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program]]></title>
<link>http://gullele.wordpress.com/2011/06/11/the-basedir-environment-variable-is-not-defined-correctly-this-environment-variable-is-needed-to-run-this-program/</link>
<pubDate>Sat, 11 Jun 2011 23:05:07 +0000</pubDate>
<dc:creator>gullele</dc:creator>
<guid>http://gullele.wordpress.com/2011/06/11/the-basedir-environment-variable-is-not-defined-correctly-this-environment-variable-is-needed-to-run-this-program/</guid>
<description><![CDATA[Trying to run Tomcat from the command line and got this problem? I got this while trying apache-tomc]]></description>
<content:encoded><![CDATA[<p>Trying to run Tomcat from the command line and got this problem?<br />
I got this while trying apache-tomcat 7.<br />
Here is how I solved it.<br />
The <b>basedir environment</b> will complain if you have either the JAVA_HOME and/or the CATALINA_HOME paths are not correctly set on the environment variables.<br />
<b>where to get the environment variable?</b> -&#62; in /etc/environment.<br />
Once you make sure paths are set correctly, the next would be allowing the shell scripts to have the executable permissions.<br />
Basically I would do</p>
<pre>
sudo chmod 777 -R /PATH/TO/TOMCAT/bin
</pre>
<p>This, as you know is not advisable if for production or networked environments as it will allow all to execute.<br />
Now, you should be able to startup tomcat as<br />
./startup.sh by going into the tomcat&#8217;s bin folder.<br />
ThIs Is IT</p>
]]></content:encoded>
</item>

</channel>
</rss>
