The configuration files are intentionally designed so that a given property can be overwritten by a later line. This is done so that include files can be used to create customer configurations.
If the property names are the same then this should happen. For example. In the following case, the second declaration of the property would be used. The first is overwritten:
---
wrapper.java.additional.1=parameter
wrapper.java.additional.1=parameter2
---
In the example that you posted the property names are different, so they should both be preserved. Are you sure that the example you sent is correct?
---
wrapper.java.additional.1=parameter
wrapper.java.additional.2=parameter2
---
Cheers,
Leif
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sami,
I implemented a new Configuration directive for 3.6.0 which will cause the Wrapper to output information about properties whose values are overwritten. Just add the following to the top of your configuration file:
#properties.debug
Cheers,
Leif
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The configuration files are intentionally designed so that a given property can be overwritten by a later line. This is done so that include files can be used to create customer configurations.
If the property names are the same then this should happen. For example. In the following case, the second declaration of the property would be used. The first is overwritten:
---
wrapper.java.additional.1=parameter
wrapper.java.additional.1=parameter2
---
In the example that you posted the property names are different, so they should both be preserved. Are you sure that the example you sent is correct?
---
wrapper.java.additional.1=parameter
wrapper.java.additional.2=parameter2
---
Cheers,
Leif
Sorry, bad example; the one you posted is correct.
At least there should be a warning log saying that a parameter was overwritten.
Sami,
I implemented a new Configuration directive for 3.6.0 which will cause the Wrapper to output information about properties whose values are overwritten. Just add the following to the top of your configuration file:
#properties.debug
Cheers,
Leif