We are setting the Applications Distributed environment settings for
Database at the Applications > Manage Modules > Web Module > Session
Management > Distributed environment settings level.
After a new ear file is deployed. These Database settings/ General
Properties to override session management are erased and Distributed
sessions is set back to 'None' as if these setting were never updated.
I know these are defined in the deployment.xml, the issue we are
having is if we update the deployment.xml to include the DB session
management settings, we have multiple environments that have different
username/password for the Distributed Environment Setting
Database/datasource connection.
Is there a way to have an if statement of some sort in the
deployment.xml to check for which environment the ear file is being
deployed to make the appropriate username/password setting?