My Oracle Support Banner

Problem Changing OSB Proxy Service "Service URI" Via Customization Script (Doc ID 2810098.1)

Last updated on SEPTEMBER 24, 2023

Applies to:

Oracle Service Bus - Version and later
Information in this document applies to any platform.


On : version, OSB Core Functionality

Problem changing OSB Proxy Service "Service URI" via customization script

There are two proxy services defined in OSB, and the goal is to switch the "Service URI" from one to another via script and customization.

The following artifacts have been prepared for this use case:, a WLST script to import the customization files

Two customization files that change the "Service URI" and "Enable/Disable" the proxy services in 2 sessions.

Execute the first script to apply the changes (switch the "Service URI" from a service to another)

/opt/oracle/product/fmw/osb/common/bin/ ServicesURI_Apply.xml

The services URI are switched correctly

Execute the rollback to be sure the services URI can be rolled back

/opt/oracle/product/fmw/osb/common/bin/ ServicesURI_Rollback.xml

The rollback fails with this error:

java.lang.Exception: Context path '/api/ProxyServiceURI1' is already in use by the module: /api/ProxyServiceURI1 application: Service Bus Kernel


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.