Adapter db not supported for jca – Error while deploying OSB project using JCA adapter

Hello,

Recently had a very strange issue while deploying a OSB(11g) project having JCA adapter(fetch data from a DB procedure) using the hudson auto deployment scripts.

The code worked in manual deployment in our development environment were as while deploying using the Hudson build job, code failed during compilation with error “Adapter db not supported for jca”.

While analyzing the issue, we did noticed that JCA file having a reference of adapter as “db” which were causing this issue. After changing this to adapter=”Database Adapter” , this issue is fixed.

Environment configuration:-

1. JDev 12c was used to build the JCA adapter.
2. OSB 11g was used to build and compile the code.

Before changes :

<adapter-config name=”SearchAllData” adapter=”db” wsdlLocation=”../WSDL/SearchAllataAbstract.wsdl” xmlns=”http://platform.integration.oracle/blocks/adapter/fw/metadata”&gt;

After changes :

<adapter-config name=”SearchAllData” adapter=”Database Adapter” wsdlLocation=”../WSDL/SearchAllataAbstract.wsdl” xmlns=”http://platform.integration.oracle/blocks/adapter/fw/metadata”&gt;

Advertisements
This entry was posted in OSB and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s