Problem Changing OSB Proxy Service "Service URI" Via Customization Script
(Doc ID 2810098.1)
Last updated on SEPTEMBER 30, 2021
Applies to:Oracle Service Bus - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
On : 188.8.131.52.0 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:
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
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