-
Enhancement
-
Resolution: Done
-
Major
-
tomcat_1.0.0.CR3
-
None
The Tomcat managed container adapter assumes that catalina.base is the same as catalina.home.
String absolutePath = new File(CATALINA_HOME).getAbsolutePath(); ... cmd.add("-Dcatalina.base=" + absolutePath); cmd.add("-Dcatalina.home=" + absolutePath);
However, this is not necessary true. For instance, when using Tomcat from Eclipse, the catalina.base (which includes the configuration files) is managed inside the Eclipse workspace. This allows the developer to modify Tomcat settings without affecting the system installation.
The fix for this problem is to add a configuration property named "catalinaBase" and honor if it's set when building the startup script.
This affects all the Tomcat managed containers (5, 6 and 7).
- is related to
-
ARQ-1848 Tomcat managed containers should start and stop Tomcat using the standard run scripts
- Open