What is the difference between in ‘deploying the ADF application from Jdeveloper into Weblogic server’ and ‘deploying as an EAR file in the Weblogic server’.

In this post we will learn the details of the difference between in deploying the ADF application from Jdeveloper into Weblogic server and deploying as an EAR file in the Weblogic server.

Deploy From Jdeveloper into Weblogic server

An ADF application which interacts with database will have JDBC connection settings configured within it. So when we deploy such ADF application from Jdeveloper to the Weblogic Admin server, Jdeveloper will automatically create the Data source in Weblogic server for this application based on the the JDBC setting available in the ADF application. So the deployment will be successful and you can easily access this application from Weblogic Admin server.

Deploy as an EAR file in the Weblogic server

But when you create an EAR file in Jdeveloper for the same ADF application and tried to deploy in the Weblogic Admin server console, it throws below error –

Message icon – Error weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=apps for data source DevCon01_Apps

In few cases even you will be able to deploy the ADF application as an EAR file successfully, but you will face the above error while accessing the application.

Go to ADF Application Properties – > Deployment – > Uncheck the ‘Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment’. By default this option is selected in the Application Properties window.

Now you will not face the above error message while deploying as an EAR file into WebLogic server.

You will be able to successfully access the deployed application.

Advertisements
This entry was posted in Jdeveloper, Service Oriented Architecture (SOA 11g), WebLogic Server 11g and tagged . Bookmark the permalink.

4 Responses to What is the difference between in ‘deploying the ADF application from Jdeveloper into Weblogic server’ and ‘deploying as an EAR file in the Weblogic server’.

  1. kunal says:

    Hi……….
    i’m trying to deploy my Jdeveloper application on standalone weblogic and i’m facing this problem:-

    No credential mapper entry found for password indirection user=hr for data source Connection1

    I resolved this problem by:-

    1. Right click on Application drop down select Application properties
    2. Click on Deployment
    3. Uncheck “Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment”

    and I was able to solve this problem and deploy my application but when i run my application

    I saw my jsf page but that jsf page was not Rendered and It showed all adf Tags…………

    Please Solve this problem……….

  2. naveen says:

    hi can anyone please let me know how to deploy .ear from in soa server managed server automatically…is it possible to deploy .ear file in to soa server

  3. Hang says:

    I also deploy to server and state is success but I can’t view any data on browser. Help.

  4. subhas says:

    whats the diff between EAR file deployment and Normal ADF deployment
    .?

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