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.
This topic has been locked.
1 reply Latest Post - 2013-01-14T10:53:50Z by SystemAdmin
Pinned topic Session Management
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-14T10:53:50Z at 2013-01-14T10:53:50Z by SystemAdmin
SystemAdmin 110000D4XK37422 PostsACCEPTED ANSWER
Re: Session Management2013-01-14T10:53:50Z in response to SystemAdminYou 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