OBIEE 11g Repository Question: session context

The Metadata Repository Builder's Guide says in chapter 13, "Note: Alternatively, you can use the database session context to pass end user identity to the database. Use a connection pool script to set up session context. Note that this approach does not rely on database authentication."
However, no example or instruction is given to show/explain how to do that. Does anyone know how to set up a connection pool script to pass the :USER value to the database session context object? We have to pass the user ID of the Analytics user to the database so as to apply VPD policies.
Thanks,
Ken

I'm trying also to get work VPD with OBIEE 11.1.1.5, but no luck. I have done almost all the same as are in Venkatakrishnan's example. It seems that select statement with set function in "execute befire query" goes to the database, but it have no effort because query in Answers returns no rows, means that :USER is not forwarded to the policy function. Is it possible that statement in "execute before query" and Answer request are not in same database session? Have anyone got work VPD with OBIEE 11.1.1.5? Everything works ok for example in SQLPlus and in SQL Developer.
- Risto
Edited by: risto.soikkeli on 6.8.2011 17:56
Edited by: risto.soikkeli on 6.8.2011 23:04

Similar Messages

  • "No Log Found" in OBIEE 11g Administration- Manage Sessions

    I am using 11.1.1.5 and have set the Repository logging to Log Level 2..and have also made the User logging to Level 2 as well. I know there is a session variable called LOGLEVEL and I have also tried to edit that. Despite this, I am still unable to see the physical SQL generated by the BI Server under Administration->Manage Sessions. Any idea what I may be missing?

    Hi,
    It's bug. you do workaround method.
    Method 1:
    create session veraible and set it log level 0 ro 7 then u can able to manage session view log (physical query)
    see my screen short
    http://imageshack.us/photo/my-images/215/viewloginitsessionvaria.jpg/
    INIT LOGLEVEL
    and just add dummy table mentioned below kind
    select 7 from IW_POSITION
    assign system session variable:
    LOGLEVEL
    then save it and try to login weblogic then u can able to see the view log.
    Method 2:
    for the particular report do it in answres -->advanced tab
    can you try putting the below syntax in prefix section of advanced tab.
    SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;
    It should generate the log with database sql as well.
    for more
    http://total-bi.com/2010/10/obiee-11g-no-log-found/
    http://prasadmadhasi.wordpress.com/2011/12/01/unable-to-view-log-file-in-obiee-11-1-1-5-0/
    http://bischool.wordpress.com/2009/04/06/set-loglevel-from-answers/
    http://boardreader.com/thread/OBIEE_11g_No_log_found_lj8hXo4f7.html
    Thanks
    Deva
    Edited by: Devarasu on Dec 15, 2011 11:56 AM

  • OBIEE 11g caching question - cross database joins

    Hi, I'm seeing something strange (a.k.a. not wanted) in OBIEE (11g, not sure that version matters).
    I have a simple data mart that contains spend information. The supplier dimension contains keys that can be used to join it to detailed supplier information and supplier address information in our ERP system (that sits in a different database / on a different box). In the OBIEE physical layer I've created a cross database join between the supplier dimension table and the ERP tables that contain the address info.
    Here's the odd behavior I'm seeing. If I write an answers request to select the supplier, some address info, and total spend for fiscal year 2010, I'm seeing OBIEE fire off two queries (this I expect):
    A) Select supplier, address key, and total spend for fiscal year = 2010 against the spend mart
    B) select address_key and associated address info against the ERP system (no limit on this query, it pulls back all rows from the address table)
    OBIEE then does an internal join itself and serves up the results, everything is correct. But here's what's "wrong" - if I then run the exact same answers request, but change the fiscal year to 2009, I again see OBIEE firing off the two queries. What I expected and/or want to see is that, since the entire result set from query #B doesn't change at all, that it wouldn't have to rerun this query. However, it seems to be.
    Is there any way to get #B to cache so that, for any subsequent query that contains supplier address info, OBIEE can pull it from cache instead of rerunning the query (which is pretty slow)? I really thought it would do that, but it doesn't seem to be.
    Thanks!
    Scott

    Hi,
    Could you give a bit more of context for this case? The table in SQL server; Is it a dimension and the one in Oracle DB is a fact? I am guessing, you have set up the driving table here. Have you given a try taking it off, and let BI Server do the filter in memory?
    -Dhar

  • OBIEE 11g: Admin= Manage Session= View Log throwing error

    Hi,
    When we are trying to see the logs from obiee 11g admin screen=>manage sessions, it is throwing the following error:
    Log Could Not Be Retrieved
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <3791257602>: Syntax error [nQSError: 26012] . (HY000)
    - But we are not getting any error while running report or dashboard or anything else.
    What could be the possible reason for this? Where to check?
    Thanks in advance

    Sudipta Gupta wrote:
    Hi,
    When we are trying to see the logs from obiee 11g admin screen=>manage sessions, it is throwing the following error:
    Log Could Not Be Retrieved
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <3791257602>: Syntax error [nQSError: 26012] . (HY000)
    - But we are not getting any error while running report or dashboard or anything else.
    What could be the possible reason for this? Where to check?
    Thanks in advanceIf you restart the service the problem would resolve but every time its not a good idea to bounce the services the problem is with cache/queries stores in nqquery.log have a script to clear the cache files periodically
    upgrade to 11.1.1.6.2 the problem is fixed
    thanks,
    Saichand

  • Build OBIEE 11g repository accessing Essbase problem

    When I use OBIEE 10g to import Essbase cubes metadata, the measures are displayed as 'physical cube columns' in physical layer; however, when I use OBIEE 11g to import the same Essbase cubes metadata, these 'physical cube columns' disappear (i.e., I cannot see profit, margin, etc. anymore) but rather, the measures are shown with 'physical dimension' with a hierarchy structure (up to Gen4 measures).
    The implication is that when I drag the structures to BMM layer and then presentation layers, I am not able to select any measures in the presentation layer.
    Are there anyone who can help me solve this problem?
    Thanks a lot.

    Hi user,
    Obiee 10g had a big problem importing essbase measures. In order for you to create a measure you needed to make the measure dimension and "Account" type dimension which would mostly be the Scenario dimension rather than the Account dimension.
    Obiee 11g allows you to import the account dimensino and decide whether to treat it as measures or as a dimension. Once the cube is imported,right click on it and select "Convert measure dimension to flat measures". This will resolve your problem.
    J

  • OBIEE 11g Map question

    Hi all,
    We are using OBIEE 11g Mapviewer to display some results. We have point as well as polygon location geometries which combined with other dimensions display scores on the map.
    It seems there is a restriction on the display graphics that can be used based on a geometry type. It is something like the following table:
    Geometry Type - Graphic Format
    Polygon - Color Fill, Bubble, Pie Graph, and Bar Graph
    Point - Bubble, Variable Shape, Image, and Custom Point
    We display a pie graph of scores on a given polygon and would like to keep it standard irrespective of the underlying geometry.
    I was wondering if its possible to force use a Pie Graph on Point geometry?
    Please let us know if there is a way to solve this. Really appreciate your time.
    Thanks!

    Hi
    Your best bet is to follow the Security Guide:
    http://docs.oracle.com/cd/E20490_01/bia.7963/e19042.pdf
    Really you just need to make sure the Responsibility names are the same as the Application Roles. So either you create new responsibilities in EBS to match the existing (seeded) roles or you create new roles in OBI Apps to match your existing responsibilites. Both ways round are valid and it all depends on your security solution.
    Thanks
    Robin

  • OBIEE 11G Formatting Question

    Hello - I'm new to OBIEE 11G.
    Is there a way to format one column of a pivot table to have the percentage sign (and possibly have more decimal places) and leave the rest to whole numbers?
    Thank you.
    Jennifer

    To format a column, simple go into the column properties and change it to percentage.
    Take a look at the documentation...
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10544/format.htm#i1030865

  • OBIEE 11g Presentation Level Session Logging

    Hi All
    I have migrated OBIEE 10g to 11g in which everything is working fine.But when i am looking into the session for physical query in analytics ,iam getting the logical query . i.e. the query on the subject areas instead of the exact physical query.Can anybody help me in this to find my exact physical query.
    Advance Thanks

    Hi,
    Go to Manage> Identity> double click the required user > click on Permission Button > click on Data Filters tab > there select the required column,
    here year column > then set the filter year =2006,07,08.
    for another user follow the same steps then set the filter year= 2009,10,11.
    so when the user login he can only see the restricted data.
    please mark if Helpful/correct.
    Thanks,
    Tinku
    Edited by: 934322 on Feb 22, 2013 2:52 AM

  • Obiee 11g Noob question - bring in one sql table

    I am a new to obiee.
    Using version 11g and trying to bring in one sql table. I created my db and table, then I create the data source in odbc. Everything tests fine.
    I then open up the oracle BI administration tool, and 'import metadata'. Everything imports fine - under the 'physical' side I see my sql table and if I hit 'view data' I can see my data just fine.
    I think my problem is that under 'business model and mapping' the icon isn't green it has what looks like a red 'no' type icon. My guess is there is something I have to make that green before I will be able to create a report using my sql table. (diagram?)
    This is just one sql table with no foreign keys or even a pkey. How can I bring in just this one table?

    I created the key in the physical layer...
    then I dragged over the table and then dragged it over again (into the BMM) this created a table called (IT_Metric #1)..
    now I right click and select 'business model diagram', 'whole diagram' which opens a new window with my one table (IT_Metric) then the mouse cursor just shows waiting (hourglass) ...it never stops the hourglass..

  • Essbase as a source in OBIEE 11g and using lookup to Relation database

    Hello All,
    We are trying to implement Essbase as primary source for our obiee 11g repository and using relational database as secondary source of data.
    I was using a lookup functionality in repository to lookup value from one of the Essbase's Dimension's attribute to relational database, however, there is error when testing this in OBIEE Dashboards.
    And tried to look this error in support.oracle and googled it but was not able to find anything on it.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 46008] Internal error: File server\Query\Src\SQLookupUtility.cpp, line 145. (HY000)
    Have you had any such issue and how can we pass this issue?
    I am trying to find if there are any quick resolution before going to oracle support.
    TIA.
    Parish

    Is Essbase 11.1.1.3 supported as a source for OBIEE 11g?From the certification matrix (http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/bi-11gr1certmatrix-166168.xls) we can see that only Essbase 9.3.3+ and 11.1.2+ are supported, not 11.1.1.3
    Paul

  • Deploy RPD in OBIEE 11g

    Hi experts,
    I am able to deploy RPD & catalog using EM but this process is very time consuming(may be because of graphical presentation takes time to load).
    I want step by step how can I deploy RPD using command in windows.
    I am trying  http://obiee-rk.blogspot.in/2012/08/how-to-deploy-rpd-using-shell-script.html but not getting success.
    Can u please explain it in more brief.

    you can do it using EM
    check this BI Direct: OBIEE 11G Repository and WebCat Migration Procedures -PART A -Full Repository &amp; Webcat Migration

  • Security question in obiee 11g

    Hi,
    I have a question on security configuration on what we have in 10 and deploying to 11g.
    Q1. how deploy external database security(users, groups) to OBIEE 11g.
    we used external database security in 10g. all the users and groups maintained in database and obiee rpd has security groups. repository has group information only so it is deployed groups information to obiee 11g by upgrade assistant but how can it deploy users in external database?
    Q2. all the users and roles in LDAP server. in this case how obiee 11g read users and group information?
    Thanks
    Jay.

    Q1. how deploy external database security(users, groups) to OBIEE 11g.
    we used external database security in 10g. all the users and groups maintained in database and obiee rpd has security groups. repository has group information only so it is deployed groups information to obiee 11g by upgrade assistant but how can it deploy users in external database?
    Solution:
    http://www.varanasisaichand.com/2011/09/external-table-authenticationorder-of.html
    http://www.rittmanmead.com/2012/03/obiee-11g-security-week-connecting-to-active-directory-and-obtaining-group-membership-from-database-tables/
    http://obieeblog.wordpress.com/2009/06/18/obiee-security-enforcement-%E2%80%93-external-database-table-authorization/
    Q2. all the users and roles in LDAP server. in this case how obiee 11g read users and group information?
    Obiee11g is intergated with weblogic fusion middleware (Console,EM). in that console have feature to enable mulitiple LDAP authentication
    while configuring AD via weblogic console we need to give the users and group info
    Solution refer:
    http://obieeelegant.blogspot.com/2012/01/obiee-11g-integration-with-ldap.html
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10543/privileges.htm#BABCDCFE
    Thanks
    Deva

  • OBIEE 11g installation failed multiple times at Distributing Repository Configuration Step

    Hi,
    I am getting the following error during the Distributing Repository Configuration step in the OBIEE 11g 11.1.1.7 enterprise installation in Windows 8 system.
    Severe: Element Type:Domain
    Element id: null
    Operation result: failed to obtain domain file lock
    Detail Message: java.util.concurrent.timeoutException.Timeout;
    waiting for lock: Domain config lock;
    c:\OBIEE\MIDDLE~1\USER_p~1\domains\EAM_DO~1\config\FMWCON~1\biee-config.lock;[121 secs]
    Step Distributing Repository failed
    Configuration Action 'Distributing Repository' has failed. Please check logs for details.
    Step Distributing repository failed
    I checked another blog for this https://forums.oracle.com/thread/2565716 and even there the explanation doesn't convince me.
    I tried to look at the Locale of my system where I am installing and I could see it is using Eng-Us by default. One way suggested to check the Unicode format from the web browser and I could check that too to be UTF-8 as suggested by someone on some other blog.
    I checked in the logs too as suggested by the Installation dialogue box but it didn't seem much conclusive too.
    Here is the snapshot of the log file which I could found.
    INFO: Current Inventory:
      Oracle Home: OraDb11g_home1
      This Oracle Home has not been changed in this session.
      Oracle Home: OH1858390736
      This Oracle Home has not been changed in this session.
      Oracle Home: OH440082373
      This Oracle Home has not been changed in this session.
      Oracle Home: OH440082374
      This Oracle Home has not been changed in this session.
      Oracle Home: OH1597391518
      This Oracle Home has not been changed in this session.
      Oracle Home: OH1285215443
      This Oracle Home has not been changed in this session.
    INFO: Ending the inventory Session
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: Using an existing InstallAreaControl for this Inventory Session with existing access level 1
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    INFO: The ORACLE_CONFIG_HOME env var is set to
    Can someone please help me with this since I am stuck with for quite some time now.
    Is there any way to check in command prompt to check the locale as required by the system.
    What could be the issue here?
    Thanks,
    Nitin

    Hi all,
    We are able to resolve the above issue with the below solution.
    Root cause of the issue:
    You may have a temp directory in the path C:\Documents and Settings\user_name\Local Settings\Temp. You got the above mentioned exception because of the temp directory path having spaces_+ in it.
    Solution:
    1. Create a new directory called TEMP in a different location for ex: C:\TEMP
    2. Now, Right click on My computer --> Properties --> Advanced --> click on Environment Variables.
    3. You should be having TEMP and TMP as variables under user variables section pointing to the C:\Documents and Settings\user_name\Local Settings\Temp path.
    4. Edit the TEMP and TMP variables and mention C:\TEMP in the variable value.
    5. Deinstall and re-install OBIEE 11g.
    Happy OBIEE 11g installation!!
    Thanks,
    Rajesh Gurram

  • Installing  Repository Creation Utility (RCU) for OBIEE 11g

    Hello,
    We are working on installing the Oracle Business Intelligence Entreprise Edition Plus 11g (v 11.1.1.6.0) for a POC in our Company's network.
    We have to install the OBI Server and other server-side components on a IBM AIX (64-Bit) server; and the client tools on the local Desktops.
    My queries:
    *1. I am downloading the following softwares for this setup. Please help me understand is this the complete list of softwares required, or are there any more softwares required for OBIEE 11g intallation?*
    List of softwares to be downloaded:
    1) Oracle Business Intelligence, v. 11.1.1.6.0
    - for AIX (64-Bit):
    Disk 1 (1of2) (1.4G) (cksum 4182440856)
    Disk 1 (2of2) (1.5G) (cksum 2020935297)
    Disk 2 (1of2) (1.7G) (cksum 796853559)
    Disk 2 (2of2) (1.3G) (cksum 685152953)
    Disk 3 (1.6G) (cksum 1431984641)
    2) Repository Creation Utility (11.1.1.6.0)
    for Microsoft Windows (32-bit) (320M) (cksum 2503314275) OR for Linux x86 (32-bit) (391M) (cksum 201758785)
    Link for (1) and (2): http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bi-downloads-1525270.html
    3) Oracle Business Intelligence Developer Client Tools Installer (11.1.1.6.0)
    - for Microsoft Windows x86 (32/64-bit): (360M) (cksum 3317017977)
    Link for (3): http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bus-intelligence-11g-165436.html
    NOTE: The JDK 1.5.0 is installed
    *2. Where should the additional required software 'Repository Creation Utility' be installed in this case?*
    I can see it is available for 32-bit OS (Windows or Linux x86), and that is why I suspect it to be a client-side software - which is to be installed on my local desktop. Hence, Can I download the Repository Creation Utility (11.1.1.6.0) for Microsoft Windows (32-bit) (320M) (cksum 2503314275)
    Please clarify.
    *4. I will not be installing any of the Oracle BI Applications, so will I require the software Oracle Business Intelligence Data Warehouse Administration Console (10.1.3.4.1)?*
    I assume NO.
    *5. IMP: Is there a Web server (E.g. Oracle WebLogic Server) included in the OBIEE suite, which gets installed in the default installation settings?*
    OR Is there a need to download and install a separate Webserver on the AIX system before installing OBIEE.
    Please reply ASAP.
    Thanks,
    Shweta.

    Although it is a POC, but the installation has to be done on a AIX6.1 remote system, which will be used as a server in the enterprise, with 5 to 7 people accessing it. So 'simple install' is not suitable in this case.
    The AIX6.1 system has a JDK 6 (64 bit).
    I understand that the OBIEE 11g suite comes with a Oracle WebLogic Server (OWLS) installable included in the suite. However, in case of Software Only installation type, the OWLS needs to installed first and then the installer has to be started in 'Softwar Only' mode.
    Could anyone please suggest:
    *1) does 'Enterprise Install' type suite on the AIX6.1 system? If yes, does it mean that it will install JDK once again? is this recommended, as the host system is a shared server and the existing JDK 6 (64-bit) can be in use by other applications on this system.*
    *2) If (1) is not true, is there a way to install the Oracle WebLogic server using the OBIEE 11g installer itself? or do I need to download the WebLogic server installer separately from the OTN site?*
    Thanks in advance for any helping pointers on the above.
    Please reply ASAP, as this is urgent.
    Thanks,
    Shweta.

  • How to deploy repository manually in OBIEE 11g

    Hi,
    I understand that the RPD to be deployed in EM(enterprise Manager) in OBIEE 11g. But unfortunatley we are unable to open core-application in EM for RPD Deployment. The EM is very slow.
    Can any one help me in deploying RPD MANUALLY or by using some command prompts other than in EM..
    Thanks.

    You have to disable the central configuration:
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10541/disable_em.htm#BEIIAEGD
    Change your repository in the file nqsconfig.ini
    and
    change the password if needed in the credential store ...
    http://gerardnico.com/wiki/_detail/dat/obiee/obiee11g_credential_store.jpg?id=dat%3Aobiee%3Acredential
    But if you can't open EM, it will be very difficult and may be you must have to add resource (memory, ...) to your server.
    Success
    Nico

Maybe you are looking for

  • Builder.parse return null under jdk 1.5.0

    I would like to understand why the following code return a correct Document instance if it running under jdk 1.4.2 and instead return null if it running under jdk 1.5.0. Thanks! F. String test = "<root>" + "" + "</root>"; StringReader sreader = new S

  • 92010NT_Disk3.zip corrupt

    This file (Disk3 of Oracle Server 9.2.0.1 for Windows) seems to be corrupt. I tried downloading it several times and extracting it in different ways (Winzip 8/9, Winrar) and still get an error on the file jarfiles1.4.jar.

  • What is bzip2 and why is it such a system hog?

    I understand it to be a compression utility but what is it compressing? I saw the temp on my CPU going up and up and up, checked the Activity Monitor and showed bzip2 as the hog It shot my CPU temp up to 60C... It happened right around midnight so I

  • Getting CRM Org unit by the R/3 sales org/office/group

    Hello everyone, We have a need to get CRM Org unit ID by R/3 sales org/office/group as maintained in transaction PPOMA_CRM. Does anyone knows a function/table that gives this mapping ? Thanks,    Nitzan.

  • External drive not mounting with FW800

    Hi, I have a strange problem... I am trying to connect a SATA 3.5" drive (Seagate Barracuda) in a Vantec NexStar enclosure to a MacBook Pro (17"), and the drive will mount (either on the desktop or in Disk Utility) when connected with FW400 and with