Package: tomcat6
Version: 6.0.28-9+squeeze1
Severity: wishlist
Tags: patch

Hi,

in a context of a multi-instance installation of tomcat, it's very
useful to have different versions of the start script. The NAME
variable should make this easy (as bug #299635 did) but the problem is
that CATALINA_HOME also depends on NAME.

I feel this is incorrect because, in a multi-instance installation,
CATALINA_HOME is always the same, and CATALINA_BASE is changing.

Attached is a patch of how I think it should be.

Thanks !

-- 
Julien
--- tomcat6.original	2011-10-05 11:15:33.000000000 +0200
+++ tomcat6	2011-10-05 11:15:48.000000000 +0200
@@ -65,7 +65,7 @@
 export JAVA_HOME
 
 # Directory where the Tomcat 6 binary distribution resides
-CATALINA_HOME=/usr/share/$NAME
+CATALINA_HOME=/usr/share/tomcat6
 
 # Directory for per-instance configuration files and webapps
 CATALINA_BASE=/var/lib/$NAME

Reply via email to