Monday, September 10, 2012

Oracle ADF BI Integration

This blog post will guide through the process of embedding OBIEE analytics (reports/dashboards) on an ADF application. Also hoping that this resource will act as a reference material for future.

There are multiple ways in which we can achieve BI integration with ADF. The illustrated version on this post is one that I found very sophisticated.

The reasons for OBIEE integration could be manifold. The default DVT features available within ADF can be used to build reports however not as sophisticated as BI does. In such cases, it would be a great time-saver plus a great way to show analytics to the user on a jspx page.

In a more interesting use case, I have used this feature within a BPM process user task - where the reviewer/approver can see the BI analytics on the UI along with process parameters before taking an action.



Step 1: Download the following JDev extensions

Provides the ability to browse the BI Catalog through the JDeveloper resource catalog and add BI objects to an ADF page.
Provides the ability to browse the BI Catalog through the WebCenter resource catalog and add BI objects to a webCenter page.
Provides the ability to create a BI Soap Connection.
Provides the ability to create a View Object that can query Oracle BI using logical SQL.
Provides design time capabilities for the WebCenter Customization Framework.
Provides design time capabilities for the WebCenter Framework and Services.

Links for download:

I know it is a quite a list - but can't get away from this :)

Step 2: Install these extensions to your JDeveloper

Help -> Check for Updates... -> Choose "Install From Local File" option, select the extensions one-by-one and let JDeveloper install them. JDeveloper will prompt for restarts for every extension install.

Step 3: After installing all the BI extensions, under the "Application Resources" panel of the ADF application (where you want to integrate the OBIEE reports), right click on the "Connections" -> "New Connection" -> "BI Presentation Services..."

Step 4: Provide the OBIEE analytics environment information in the wizard and proceed to complete connection creation. If you have not enable 'impersonation' in BI, change this option to 'false' in the following screen. Ensure that the connection is successfully established to the BI server.
Step 5: Now, this connection should appear automatically in the "IDE Connections" panel under the "Resource Pallete". This can be used to browse through the BI analytics for available dashboards/reports.
Now that the BI presentation services is available, all that remains is integrating the available BI reports into the ADF page

Step 6: First step towards ensuring that the ADF project is BI technology enabled. To do this, right click on the ADF project -> Project Properties

Under "Technology Scope" option ensure that the "Business Intelligence ADF View Components" is selected.
Step 7: We are almost there! Browse through the BI presentation services catalog from under the "Resource Pallete", drag & drop the required reports on to the ADF page.

Common Impediments & Resolutions:

I1: Unable to drag & drop the reports to ADF page

Resolution: Initially I was not able to drag and drop the BI reports on to the ADF page successfully. I had to manually include the following element to my ADF page source to force ADF to recognize the BI reports;

<adfbi:content id="content1" value="#{bindings.biExecBinding1}"/>

After doing this the BI technology binding was enabled on my ADF project. Then I removed the element which I added manually.

I2: At runtime, OBIEE reports were not displayed. The following error was reported on the ADF page;

Unable to connect to the BI Presentation Server. Please ensure that it is running, configured properly, and that the connection details within this application are correct.Please check the log file for more details.

The server logs reported the following error;

Cannot lookup the connection, BI using fallbacks[[ No credentials found for this connection - please check that your connection credentials were deployed properly.
at oracle.adf.share.jndi.ReferenceStoreHelper.getObjectForReference(

at weblogic.servlet.internal.WebAppServletContext.execute(

Resolution: To resolve this error, ensure that the "Credentials" option is unchecked under the "Security Deployment Options" of the "Application Properties".
This config ensured that the credentials are not overwritten and are picked up from the cwallet.sso file under the EAR package. The issue was resolved and the BI reports were displayed on the ADF page as expected.

Write back if you have any thoughts/suggestions/clarifications :)


  1. Hi Sathyam,

    I followed the steps mentioned in the post to embed obiee reports in a ADF page, data is displaying fine but the style sheets are not getting displayed.My email address is, can you please send me an email so i can send the screen shots.


  2. Hi Sathyam,

    Great post!

    But after disabling the credentials option I still get the same error: Cannot lookup the connection,BI Extension Services using fallbacks....

    What shoult it be?

    I really struggling with this since 1 week!

    Would be great to hear from you

    1. Are you able to establish connection successfully from your JDeveloper otherwise? ie., from Resource Palette?

      When I encountered this error, disabling 'Credentials' option worked just fine.

  3. Hi Sathya,
    I have a new requirement to build an application which contains mostly OBIEE reports/dashboards and few ADF pages . The question is how to integrate these 2 technologies into 1 application with common security enabled.Please let me know the best way to proceed.
    Your response is highly appreciated.


    1. Vishnu,

      Absolutely. You can follow the steps on the post to integrate ADF & BI technologies. If you want to have a secured communication, you must configure Oracle BI Presentation Services to communicate over SSL. You can refer to documentation for more details on how to do this. After integraion, your ADF application as such can be secured by ADF security. After all ADF security is built on top of OPSS. Hope this helps.

  4. Hi Sathya, This is a great post. While developing Mobile App for OBIEE with Oracle ADF Mobile do what is the function of Oracle ADF, Do we still have to integrate ORACLE ADF and OBIEE and then use oracle ADF mobile to build the mobile app.


  5. Hi Sathya,
    How to display Obiee reports in html/jsp with out using jdeveloper.


    1. Hi Lokesh,

      Absolutely. That is the beauty of open, standards-based, best-of-breed Oracle technology. Just ensure that your OBIEE reports are webservice enabled (through action link framwork) and consume it as any other normal webservice from your application.

      You will have to tackle the single-sign on using identity management software - like Oracle Adaptive Access Manager.

    2. Hi Sathya ,

      I have created an analysis/dashborad in obiee and saved it.Can i see this analysis on my adf page by calling a webservice as you said.If yes can you guide me with the steps.I have seen that BI publisher has been exposed as webservice but in case of bi analytics i havent seen any webservice call which would fetch the analysis/dashboard created in BI Analytics

  6. This is the information that I was looking for and let me tell you one thing that is it is very useful for who is looking for ORACLE ADF.

  7. Really good piece of knowledge, I had come back to understand regarding your website from my friend Sumit, Hyderabad And it is very useful for who is looking for ORACLE ADF.

  8. Hi I am getting this error on my page.
    Please help me with this.I have a sample adf application without any security .The same connection shows results on my adf page but when i try to show the analysis on other adf application where security is enabled, the following exception occurs.

    I am struggling since last week .Please guide me ...

    Cannot lookup the connection,BIPresentattion using fallbacks Authentication error. An invalid User Name or Password was entered.

  9. Hi Sathya,
    Thank you for posting an article I'm struggling to find over the web!
    I'm trying to create a jsf page(jspx/jsp any page) which can display an OBIEE report.

    I have jdev v 12c.
    First I followed the steps to " Embedding Business Intelligence Objects in ADF Applications"
    as in Oracle link -

    I was able to connect to OBIEE presentation catalog and was able to drag the report into the jspx page.
    However the table does not have any formatting. No borders for the analysis etc. Plus I was not able to see any graphs in the analysis.

    I was hoping you knew of any steps or instructions I might be missing potentially.

    2. Then I followed the link -
    for - Using the Oracle BI EE Logical SQL View Object

    The website gave me the hint that this would help me display Analysis in table/graph format.

    However after following all the steps- I keep getting the error-

    <Failure occurred in the execution of deployment request with ID "1398699897845" for task "25". Error is: "weblogic.application.ModuleException: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class:"
    weblogic.application.ModuleException: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class:
    at weblogic.jdbc.module.JDBCModule.prepare(
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(
    at weblogic.application.internal.flow.ModuleStateDriver$
    at weblogic.application.internal.flow.ModuleStateDriver$
    at weblogic.application.utils.StateMachineDriver.nextState(
    Truncated. see log file for complete stacktrace

    I do not see any help anywhere for this error. Hope you have some insights-

    OBIEE -
    WebLogic Server Version:
    JDEV 12c
    Studio Edition Version
    Build JDEVADF_12.
    Added all the extensions required/ described

    I tried with JDEV 11g as well to get same errors.
    Studio Edition Version
    Build JDEVADF_11.

    Any help is highly appreciated.

    1. Amit,

      First observation is that you are using JDev 12c and this post clearly defines the version of each product and extension used. Also all your documentation references are for 11g. Please use the recommended product versions as stated in the documentation and follow this post for any guideline/help. Hope that helps.

  10. Hi Sathya,

    I am getting same error what Amit has mentioned in previous post when security is configured. Can you please help me out. Thanks in advance.

    1. I haven't tried this on secured ADF applications. Can you please post this on to seek resolution. I would also appreciate if you could post resolution (if any) on this post so it would be helpful for others. Thanks!

  11. Hi Satya,

    I am also getting same issue for secured application what Amit has mentioned above. Can you please help. I am getting below issue.

    Unable to connect to the BI Presentation Server. Please ensure that it is running, configured properly, and that the connection details within this application are Authentication error. An invalid User Name or Password was entered.

  12. Thank you provide valuable informations and iam seacrching same informations,and saved my time SAS Online Training

  13. Hi,

    I have integrated OBIEE contents into my ADF page and deployed it on server. when i open the page through HTTP URL it works fine and get me proper data.

    But when i use HTTPS URL to open my ADF page, my browsers block the OBIEE contents and then i have to click on "Load Unsafe scripts" to open the OBIEE contents. This has to be done each time i open the page.

  14. I am trying to integrate ADF and OBIEE in jdeveloper using BI Presentation Service. But it show the following error :

    Dec 29, 2014 2:57:38 PM
    SEVERE: Perform impersonation was enabled for the BI Presentation Services SOAP connection, but there was no logged in user!

    And in Test Connection it shows the following Error:
    Connection attempt failed. The server sent HTTP status code 404: Not Found: http://dev2.corp.ecubein:9704/analytics-ws/saw.dll?SoapImpl=nQSessionServic

  15. Hi Satyam,

    I was able to integrate OBIEE with WC-Portal successfully and also showing the dashboard with grids/tables/Charts.
    But Maps are not getting shown, instead seeing the below message :
    "Unable to download resource files from Oracle Fusion Middleware MapViewer. Please contact your administrator if this problem persists".

    Can you help me please.

  16. Sathyam :(

    WebCenter extension is not available for my J Dev Version

  17. Hi Lakshmi Vara Prasad Hari,

    Did you got any solution for your problem, I am still facing the same problem.

  18. Hi,

    I did exactly as mentioned and was able to pull dashnoards and individual analysis, however if i want to build a complete dashboard that is pull prompts and analysis i was not able to do that. In the folder i can see only dashboards and analysis, no prompts. Is there something that can be done fof the same.

  19. Hi Sathya,

    I am currently using oracle ADF 12c, in which I was not able to perform the step 6 mentioned by you(The problem is Technology Scope is not there in project properties). I am able to add new BI connection under Application Resources.But the reports created under the BI publisher are not getting displayed. Can someone help me to resolve this.