Troubleshooting: Save conflict error

You receive a save conflict when you try to run a job that requires an EAR update.

Problem

When you are trying to run a job that requires an EAR update, you receive an error about a save conflict. For example, if you were attempting to deploy with the WebSphere Commerce Build and Deployment tool, the deployment fails with the following error in WCBD_installdir/logs/<build label>/wcbd-build.log:
[wsadmin] Started: 2010/10/10 10:10:10
[wsadmin] WASX7017E: Exception received while running file 
"WC_installdir\wcbd\dist\server\wcbd-deploy-server-<build label>/scripts/wcbd-wsadmin.py"; 
exception information: com.ibm.websphere.management.exception.ConfigServiceException
[wsadmin] com.ibm.ws.sm.workspace.WorkSpaceException: RepositoryException while retry updating documents in master repository
[wsadmin]
[wsadmin] WASX7341W: No "save" was performed before the interactive scripting session exited; configuration changes will not be saved. 

Solution

This issue is typically caused by more that one EAR update occurring at the same time. WebSphere Application Server does not support the update of a single EAR by multiple clients at the same time.

This issue can occur if any of the following actions occur at the same time:
  • Roll out update
  • Feature enablement
  • Customization deployment
  • Site map
  • Store Publish
  • Stage Propagation
  • File or attachment upload
  • Installation of other product fixes
  • Update Logo
  • PCI Encryption
  • Any explicit EAR update such as the deployment of customizations through theWebSphere Application Server
Another client can be running an EAR update, for example, a scheduled job, to the WebSphere Commerce application. To solve the problem, you can take either of the following actions:
  • Rerun the job later when the other client is finished running.
  • Ensure that other clients are not running. For example, if there are scheduled jobs to update the EAR, disable the scheduled jobs temporally before you start the job you need to run.