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 FEBRUARY 24, 2017

Applies to:

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


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: /tmp/hello.war (Permission denied)

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 (hello.war) on DomainA with user gf1 using the REST interface
  4. Deploy the same app (hello.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.