tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Unable to Start Tomcat 6 with Catalina Base Set
Date Mon, 09 Jun 2008 16:35:22 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephen,

Stephen Wick wrote:
|> I installed Tomcat 6.0.16 to /usr/local/apache-tomcat-6.0.16 (this is
|> my CATALINA_HOME).  Then I made an instance of tomcat at
|> /var/www/tomcat-instances/default-tomcat6 (this is my CATALINA_BASE).
|>
|> My CATALINA_BASE/bin/startup.sh looks like this:
|>
|> 	CATALINA_BASE=/var/www/tomcat-instances/default-tomcat6
|> 	export CATALINA_BASE
|>
|> 	CATALINA_HOME=/usr/local/apache-tomcat-6.0.16
|> 	export CATALINA_HOME
|>
|> 	CATALINA_OPTS="-Xms768m -Xmx768m -XX:MaxPermSize=768m"
|> 	export CATALINA_OPTS
|>
|> 	JAVA_HOME=/usr/local/java
|> 	export JAVA_HOME
|>
|> 	$CATALINA_HOME/bin/startup.sh

This looks okay.

|> I am executing CATALINA_BASE/bin/startup.sh as root.

:(

|> When I execute CATALINA_HOME/bin/startup.sh, tomcat starts up fine.

Strange. So, if you set all those environment variables directly on the
command-line, and then run CATALINA_HOME/bin/startup.bat, everything
works okay?

All the scripts I've ever written set only JAVA_HOME and CATALINA_BASE.
Try /not/ setting CATALINA_HOME (although that should make no difference
at all).

Also, try adding some 'echo' statements to CATALINA_HOME/bin/catalina.sh
to print out the values of various environment vars, especially
CLASSPATH (which you should definitely not set yourself... just observe
what path is determined).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhNW8oACgkQ9CaO5/Lv0PBIzgCfebd9hmvocNEwxyLSzjjlrQhU
QqgAoIkviT22UDOBB8L8mLWdu6B/vCts
=uQJF
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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


Mime
View raw message