Select Page

Proxy As Upgrade to 11g Does Not Like NQSession.User

Author: Christian Screen | | September 1, 2012

In Oracle BI 10g the application was a lot more tolerant of bad design cavalier usage of variables. We noticed an issue recently during an upgrade where the Proxy As configuration in Oracle BI 10g used the NQSession.User variable to identify the user logged into Presentation Servers acting as Proxy.

For example the getValues element of the LogonSQLParamsTemplate.xml file looked something like:

select TARGETID from OBIEE_PROXYAS where UPPER(PROXYID) = UPPER('VALUE_OF(NQ_SESSION.USER)')

As you can see in the image below the resulting NQSQuery log file when using 11g Proxy As turns this logic to resolve to the BISystemUser instead of the user logged in (ex: tom1234).

Solution

Quite simple, just leverage the Proxy As configuration logic from the Oracle BI Documentation, which points you to reference the {@USER} variable using the proper syntax.  This was the correct way of doing it in Oracle BI 10g as well even though the VALUE_OF() use of the USER session variable worked in the legacy tool.

In this case:

select TARGETID from OBIEE_PROXYAS where UPPER(PROXYID) = UPPER('@{USERID}')

Proxy As 11g Documentation.

Oracle BI Publisher (BIP) Tips: Functions, Calculations & More

Check out these BI Publisher tips including functions & calculations so you can understand more about the production and support of BI Publisher reports.

Sherry Milad | January 15, 2018

How to Index a Fact Table – A Best Practice

At the base of any good BI project is a solid data warehouse or data mart.

Christian Screen | March 16, 2010

Qlik vs. Tableau vs. Power BI: Which BI Tool Is Right for You?

Tableau, Power BI, and Qlik each have their benefits. What are they and how do you choose? Read this blog post for a quick analysis.

Tom Hoblitzell | June 6, 2019

Subscribe to Our Blog

Never miss a post! Stay up to date with the latest database, application and analytics tips and news. Delivered in a handy bi-weekly update straight to your inbox. You can unsubscribe at any time.

Work with Us

Let’s have a conversation about what you need to succeed and how we can help get you there.

CONTACT US

Work for Us

Where do you want to take your career? Explore exciting opportunities to join our team.

EXPLORE JOBS