Changing Configurations After War Build

I have two configurations that I need to change after creating a war with engravings 1.3.2. I know that a project can be configured in such a way as to do it from the outside in the first place, but this is not an option at the moment.

1) You must change the environment.production.hibernate.default_schema defined in DataSource.groovy

2) You need to change the environment.production.grails.serverURL defined in Config.groovy

Is there a way to edit a war or pass overriding arguments when starting a war in JBoss?

+4
source share
1 answer

If you want to change these properties in a production application, without redistribution, you're out of luck. Your only option is to use external property files, which will require re-creating and redistributing the application. See the following link. http://www.comitservices.com/wp/?p=133

+2
source

All Articles