We are using WAS V6.1.
We had made some customized settings for sessison management@applicatin level for a application
1 )Enabling Override session management
i) Customized cookie name and cookie path
When ever we are going with a new deployment using script all the settings are being discarded and comingup with default setttings.
Do we need to do anychanges while building the ear file .Please suggest.
SystemAdmin 110000D4XK37422 Posts
Re: Session Management2013-01-14T10:53:50ZThis is the accepted answer. This is the accepted answer.You can use jython script to change these attributes after every deployment:
setting session over ride for application :
deployedApplication = AdminConfig.getid('/Deployment:<appname>/')
deployedObject = AdminConfig.showAttribute(deployedApplication, 'deployedObject')
sessionMgrAttrs = [['sessionManagement', [
AdminConfig.create('ApplicationConfig', deployedObject, sessionMgrAttrs)
however there is one more way by creating customize installation packages . you may refer