WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Session Persistence implementation issue

  • 1.  Session Persistence implementation issue

    Posted 09/29/15 03:48 PM
    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?