Concurrent Deployment of Applications Results in Only One Deployment Succeeding.
Last updated on JULY 31, 2012
Applies to:Oracle GlassFish Server - Version: 2.1.1
Information in this document applies to any platform.
Open two window terminals and deploy web-module-1.war in one and web-module-2.war, one in each terminal window, at the same time.
Only the first deployment will succeed:
$ asadmin deploy --user admin --passwordfile pass.txt web-module-1.war
Command deploy executed successfully.
The second deployment will fail:
$ asadmin deploy --user admin --passwordfile pass.txt web-module-2.war
CLI171 Command deploy failed : Trying to create reference for application in tar
get server failed; Command Failed. Invalid ConfigContext because of concurrent
Access. Please rerun the command
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms