The problem with the second approach is that you aren't deploying the same to your Test, Acceptance and Production environment. You have to recreate the artifacts and this can be troublesome in some businesses.
There is actually a third option, which is part option 1.
3) Specify a system variable which points to the configuration directory (i.e. config_path) and reference this from your PPHC.
That way you can deploy the same war/ear/.... to the server and only have different properties files, stored in a path configured at the server.Code:<property name="location" value="${config_path}/jdbc.properties" />


Reply With Quote
.
