My Oracle Support Banner

Deploying Via REST Interface By Two Different System Users May Fail On Oracle GlassFish Server (Doc ID 1409924.1)

Last updated on OCTOBER 26, 2021

Applies to:

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


NOTE: Server names; eg daminA, gf1, gf2 etc other used represent fictitious names are made up as examples.
Any similarity to actual code, is purely coincidental and not intended in any other manner.


When attempting to deploy an application via REST interface (/management/domain/applications/application), on two different domains with two different system users, the deployment on the second domain fails with the following error:

Steps to reproduce:

  1. Start a domain (domainA) with the first system user, gf1
  2. Start a second domain (domainB) with the second system user, gf2
  3. Deploy an app (xxxx.war) on DomainA with user gf1 using the REST interface
  4. Deploy the same app (xxxx.war) on DomainB with user gf2 using the REST interface

You'll see the exception above and the deployment fails.


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.