Summary: | Allow system property variables in catalina.properties | ||
---|---|---|---|
Product: | Tomcat 6 | Reporter: | Jim Riggs <jhriggs> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | default | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
Proposal A
Proposal B |
Description
Jim Riggs
2011-01-27 20:54:57 UTC
Created attachment 26568 [details]
Proposal A
Substitute on retrieval.
Created attachment 26569 [details]
Proposal B
Substitute on initialization.
I'd prefer B and I agree some care is needed with the substitution algorithm. One more discussion at users@: http://tomcat.markmail.org/thread/4hjo26xeqcuixyw4 "tomcat 7: common.loader property in catalina.properties does not take ANT style variable" I implemented the substitution in r1136043 and it will be in 7.0.17. I used a different approach to the one proposed above: I implement substitution for the *.loader properties only. This is the use case that was discussed here and on users@. Can we have this in 6.0.x too? I have a similar usecase. I need to add some JARs from the Oracle client installation. I have defined -Doracle.home=.. in my setenv.sh and then common.loader=${oracle.home}/jlib/oraclepki.jar,... My usecase is the same as Yongqin Xu's from the mailing list. Re-opening for consideration for back-port to Tomcat 6. 6.0.x reached end of life without this feature being back-ported. |