Wednesday, January 9, 2013

Cannot deploy OSB 11.1.1.5 project to 11.1.1.4

Problem:

An OSB project is developed under Oracle Service Bus 11.1.1.5. When you export the JAR file and try importing it to Oracle Service Bus 11.1.1.4, you get the following error:

Invalid configuration file java.lang.IllegalArgumentException: The jar that is being imported is an unsupported version of the product. The version was 11.1.1.5. Supported versions are: 10.3.0.0.dev2, 2.6.0, 2.6.1, 3.0.dev2, 3.0.dev1, 3.0.0, 3.0, 2.6, 10.3.0.0, 2.6.dev5, 2.6.dev4, 2.6.dev3, 2.6.dev2, 2.6.dev1, 11.1.1.2, 11.1.1.3, 11.1.1.4, 10.3.2.0.dev.1, 10.3.1.0, 10.3.2.0.dev.2, 10.3.2.0.dev.3, 3.2.dev1, 3.2.dev2, 11.1.1.2.dev.1, 11.1.1.2.dev.2,


Even though downgrading it this way from 11.1.1.5 to 11.1.1.4 is certified, it still does not work.


Solution:

1. Assuming you have WinZip (or equivalent) installed, double-click the JAR file on your desktop.

2. If you are using WinZip, click on the file ExportInfo and edit it by clicking View (or equivalent).


3. Replace the following entry:

OLD: <imp:property name="productversion" value="11.1.1.5"/>
NEW: <imp:property name="productversion" value="11.1.1.4"/>


4. Save the file and update the archive.


5. Try again and you should be good!


Applicable Versions:
  • Oracle Service Bus (OSB) 11.1.1.4
  • Oracle Service Bus (OSB) 11.1.1.5


References:

1 comment:

shiladitya dasgupta said...

thanks a lot!!!perfect suggestion!!!you saved a lot of time!!was trying for few hrs!!!