My Oracle Support Banner

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

Last updated on FEBRUARY 26, 2019

Applies to:

Oracle GlassFish Server - Version 2.1.1 and later
Information in this document applies to any platform.


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




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.