You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anthony Rabaa <ra...@amconresearch.com> on 2005/11/25 15:45:08 UTC

BASEDIR problem with Tomcat 5.5 + compat

Hello,

I've been fiddling with Tomcat 5.5, looking to get it setup on a laptop 
running Sun's 1.4 SDK.  I'm having an issue with the BASEDIR variable:

The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program

$CATALINA_HOME=/home/foo/bin/apache-tomcat-5.5.12
$JAVA_HOME=/opt/sun-jdk-1.4.2.09

I see in catalina.sh and tool-wrapper.sh that BASEDIR="$CATALINA_HOME", but 
the error is being thrown in setclasspath.sh.  I tried running with an 
exported BASEDIR but that's a no go.  I haven't much time to continue 
prodding this and I want to keep my setup modifications as minimal as 
possible, hopefully someone can point me in the right direction?

Thanks in advance!
-- 
Anthony Rabaa
SGML/XML Systems Designer & Network Administrator
AMCon Research Inc., http://www.amconresearch.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: BASEDIR problem with Tomcat 5.5 + compat

Posted by fluffyland <fl...@gmail.com>.

Thought I'd make a note here (18 months later :-) since I was getting the
same message running Tomcat 6 on Cygwin and the problem was that the
+x permission wasn't set on bin/setclasspath.sh

Cheers


Anthony Rabaa wrote:
> 
> On November 25, 2005 10:13 am, Caldarale, Charles R wrote:
>> > From: Anthony Rabaa [mailto:rabaa@amconresearch.com]
>> > Subject: BASEDIR problem with Tomcat 5.5 + compat
>> >
>> > The BASEDIR environment variable is not defined correctly
>> > This environment variable is needed to run this program
>> >
>> > $CATALINA_HOME=/home/foo/bin/apache-tomcat-5.5.12
>> > $JAVA_HOME=/opt/sun-jdk-1.4.2.09
> 
> 'JAVA_HOME=/opt/sun-jdk-1.4.2.09 ; export JAVA_HOME' in /etc/profile, 
> 'CATALINA_HOME=/home/foo/bin/apache-tomcat-5.5.12 ; export CATALINA_HOME' 
> in /home/foo/.bash_profile.  I can echo both and see the value's set
> properly 
> after login.  Setting $CATALINA_HOME in startup.sh had no effect either.
> -- 
> Anthony Rabaa
> SGML/XML Systems Designer & Network Administrator
> AMCon Research Inc., http://www.amconresearch.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/BASEDIR-problem-with-Tomcat-5.5-%2B-compat-tf617865.html#a11162201
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org