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 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.4.0 version, OSB Core Functionality

ACTUAL BEHAVIOR
---------------
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:

switchProxyServiceViaConfigurationFile.py, 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/wlst.sh switchProxyServiceViaConfigurationFile.py 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/wlst.sh switchProxyServiceViaConfigurationFile.py 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


Cause

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
Symptoms
Cause
Solution
References


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