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:
None 
Category:MySQL Enterprise Monitor: Installing Severity:S3 (Non-critical)
Version:1.1.1.5780 OS:Any
Assigned to: BitRock Merlin CPU Architecture:Any

[4 Aug 2007 22:51] Adam Dixon
Description:
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 => 1.2.0.7180
[21 Aug 2007 1:39] Bill Weber
Verified that this is checked in build 1.2.0.7199.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.073 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.