Karthi
Karthi

Reputation: 133

OSB - Importing config jar into a lower version of weblogic server

I have created OSB project in Oracle Jdeveloper 12.2.1.2 and when I tried to import that config jar into weblogic server 12.2.1.0 , I was getting "Invalid config jar" error. When I migrated that project to Jdeveloper 12.2.1.0 and imported that config jar in the same version, its working. Is it an expected scenario ? If I want to develop on 12.2.1.2 and deploy that jar in 12.2.1.0 server how should I create the jar compatible to a lower version of weblogic ?

Upvotes: 1

Views: 1999

Answers (1)

Trent Bartlem
Trent Bartlem

Reputation: 2253

OK, so you can't alter the product version during the creation of the config jar. You can, however, put an additional step after creation to modify the config after it's created - either before you put into a repo, or just before deploying to a particular environment if you want to customise it beyond the (meagre) capabilities of the ALSB customisation file.

My go-to tool is Configurator, which you would need to fork and write an extra feature to update the product version, but if that doesn't appeal you can write some code to unjar the file and alter the value yourself before jarring it again.

Upvotes: 2

Related Questions