Creating A Static Images War File With Different Context Path Fails

(Doc ID 2011831.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle REST Data Services - Version 3.0 and later
Information in this document applies to any platform.


On :  3.0 version, All Issues

Creating a war file for images with different context path using the following command does not create new file with the new context path:

java -jar ords.war static --context /i5 c:\apex\images

the console is still showing context-path as /i/ . Also it creates a war
file with name i.war only.

c:\APEX3_LISTENER>java -jar ords.war static --context /i5 c:\apex\images
WAR Generation complete
WAR location : C:\APEX3_LISTENER\i.war
Context path : /i
Static resources : c:\apex\images
Ensure the static resources are available at path: c:\apex\images on the
server where the WAR is deployed



This command should create a file with new context path name and also it should show the new context path as per the ords installation document.

The issue has the following business impact:
Due to this issue, users cannot create a images war file with a different context path.


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