DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13634>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13634

Allowing system properties to be substituted in config-file

           Summary: Allowing system properties to be substituted in config-
                    file
           Product: Tomcat 4
           Version: Unknown
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I think that a really useful feature would be to enhance the config-file 
(server.xml) with the option to subsitute System-properties for attributes in 
the file. 

An example syntax would be:

<Logger path="${my.log.root.path}/trace" .. > 

which would extract the System.getProperty("my.log.root.path") and subsitute 
for the value in the attribute.

This would make it possible to modify the behavior of a catalina instance by 
passing additional commandline parameters, (mainly for path type attributes).

We're packaging tomcat as a part of our product and since the paths in the 
config-file are now absolut or relative to the CATALINA_BASE we have to make 
some config-file substiututions to allow our product to be installed in a user-
choosen location. I believe having this feature would greatly enhance the 
packagability of Tomcat.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to