Bug #30242 Existing tomcat installs, wrong $CATALINA_HOME used
Submitted: 4 Aug 2007 22:51 Modified: 21 Aug 2007 1:39
Reporter: Adam Dixon Email Updates:
Status: Closed Impact on me:
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: BitRock Merlin CPU Architecture:Any

[4 Aug 2007 22:51] Adam Dixon
If an existing tomcat install exists, hence $CATALINA_HOME being present, tomcat will fail to start due to this section of the startup process; in ./apache-tomcat/bin/catalina.sh

# Only set CATALINA_HOME if not already set
[ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." ; pwd` 

How to repeat:
Have an existing tomcat installation.

Suggested fix:
Handle existing tomcat installations / use a different environment variable / force use of dashboard tomcat path only / other?
[4 Aug 2007 22:53] Adam Dixon
Otherwise can this be documented clearly so that it is a known fact or issue to be handled manually.
[13 Aug 2007 22:38] BitRock Merlin
Patch sent to Andy.
[20 Aug 2007 19:33] Keith Russell
Patch installed in ver =>
[21 Aug 2007 1:39] Bill Weber
Verified that this is checked in build