I was wondering if it was possible to use properties in the cd_client_conf.xml? I was expecting the same behaviour as the WEB8 microservices. In those microservices configuration files you can set ${property.name} and just add VM options to fill them in.

The problem we are trying to solve is that we want as little of environment configuration as possible within our git repository and move it to machines themselves. We are using spring profiles set within the tomcats to specify which profile is active. Now we want to do something similar for the configuration files within /classes.



  • Which CIL version are you using ? This support was not there in 8.2 and added in later releases. – vinayknl Mar 17 '17 at 15:06
  • DXA 1.5 uses CIL 8.2 – Rick Pannekoek Mar 17 '17 at 16:43
  • So we have to keep different cd_client_conf.xml files for each environment as long as we keep using DXA 1.5? – Thomas Hendrickx Mar 18 '17 at 15:20
  • You can probably combine DXA 1.5 with a newer CIL version, but this has not been tested. Indeed, it's recommended to use a newer DXA version. – Rick Pannekoek Mar 20 '17 at 7:25

From CIL's perspective, as mentioned by Rick in comments, since DXA 1.5 uses 8.2 CIL, property placeholder for client configuration (cd_client_conf.xml)is not implemented. So, upgrade to newer version of DXA (which has newer CIL) is suggested approach where this feature is available.

  • Which CIL version has the feature? CIL 8.3? Both Java and .NET? – Rick Pannekoek Mar 21 '17 at 7:11
  • In CIL Java 8.3 (which uses cd_client_conf.xml) this feature was introduced. Not implemented in .Net. – vinayknl Mar 21 '17 at 9:24
  • 1
    OK, that means you will have to use DXA Java 1.6 or higher to benefit from this feature. – Rick Pannekoek Mar 21 '17 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.