WLST Script To Import Jar File Into OSB Fails With ClassNotFoundException
(Doc ID 2156419.1)
Last updated on MARCH 05, 2019
Applies to:Oracle Service Bus - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
WLST script to import jar file into OSB fails with ClassNotFoundException
The WLST script used to deploy in OSB 12.1.3 fails to deploy to OSB 12.2.1. Issue seems to be same as in Doc ID 2104770.1 .
Starting from 12.2.1 the classpath is not to be amended via the product-specific wlst.cmd/sh command. Instead, one single wlst.cmd/sh command is provided, which relies on plugins to amend the classpath as required for the installed products. It is OSB WLST plugin's responsibility to set it when running WLST scripts.
The classpath for the OSB WLST plugin is (as per the manifest in servicebus-client.jar):
It was made it work manually by adding the following jar:
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