Concurrent Deployment of Applications Results in Only One Deployment Succeeding. (Doc ID 1297322.1)

Last updated on JULY 31, 2012

Applies to:

Oracle GlassFish Server - Version: 2.1.1 and later   [Release: 2.1 and later ]
Information in this document applies to any platform.

Symptoms

Deploy more two or more applications at the same time.  The applications can be any mix of web (.war), ejb (.jar) or application archives (.ear).

For example:

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

Cause

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