ADF Code Deployment Error: No credential mapper entry found for password indirection user=???

When we are deploying ADF application code in integrated weblogic server, it will work as expected but when we make ear file and try to deploy on other weblogic server it will give “No credential mapper entry…” error.


We have database connection created in our Model project.When we generate ear file from Application –> Deploy, it will generate %-jdbc.xml file for each Database connection. Set password attribute and update weblogic-application.xml and web.xml file.

Read More »


Error: cannot be cast to

  • When we Migrate OSB 11g project to 12c or create new project in 12c, it will give error while opening composite.xml:

java.lang.ClassCastException: cannot be cast to



Read More »

XA Vs Non-XA DataSource


XA and Non XA are transaction protocol for a JDBC data source that determines how the connections are handled from a data source during any transaction.

XA data source:

· In simple term XA datasource supports “global transaction”. It supports two way commit operation.

Let’s understand this with an example:


Oracle OSB Proxy service updating more than one database table using update query as shown below:

(Image 1)


If all the three queries are dependent on each other and any of the three query gets failed while updating table then the whole transaction will be rolled back.

Read More »

Setup the Database Connection in JDeveloper 11g

In this post we will see steps for creating new Database connection in JDeveloper 11g.

Refer my previews post for JDeveloper Installation Steps for install jdev 11g and Oracle XE Database installation for do XE database setup in our local machine.

Steps to create database connection in JDeveloper:

1. Open JDeveloper and select View > Database > Database Navigator.

1. Select IDE Connections > Right-click and choose New Connection.

2. In the Create Database Connection window, specify the field parameters:

a. Connection Name: <any name>

b. Connection Type: Oracle JDBC

c. Username: HR

d. Password: ******

Read More »

Oracle Database XE Installation

In this post we will discuss second step for ADF installation and demo application. First step you need to install jDeveloper 11g into your local machine.

Requirements for XE Database Installation

· Oracle XE Installer – Download from Oracle website. ex : OracleXEUniv.exe

· 256 MB Memory or more should be available.

· Hard Disk Space – 1.5GB or more.

Note: We will use this XE database for our tutorial.

Oracle XE installation Steps (Windows):

1. Select the Installer, double click, this will launch the Oracle Database 10g Express Edition – Install Wizard.

2. In the Welcome screen click ‘Next’.


1. Click’ I accept’ and then click ‘Next’.


2. In the Choose Destination Location, choose the default folder ‘c:\oraclexe\’. You can change the default location to your liking. Click ‘Next’.


Read More »

Setup for develop ADF application

Minimum setup required to start building ADF application is as follows:

· JDeveloper 11g.

· Oracle XE Database.

· Setup the Database Connection in JDeveloper 11g.


JDeveloper Installation Steps

1. Download jDev 11g version from Oracle site and Select the Installer ‘exe’ file, double click, this will open Oracle Universal Installer.

2. Click Next’ in the Welcome screen.


1. In the ‘Choose Middleware Home Directory’ – you have option to define a new Middleware Home or Use an existing Middleware Home (for example, C:\Oracle\Middleware).

2. Select the option ‘Create a new Middleware Home’ and then define the directory and then click ‘Next’.


1. In the ‘Choose Install Type’ step, you can select the installation type either Complete or Custom. Complete will install JDeveloper, ADF and Weblogic Server (with ADF Runtime).


Read More »