Select Page

Art of BI: Proxy As Upgrade to 11g Does Not Like NQSession.User

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:

[sourcecode lang=”sql”]

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

[/sourcecode]

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).

[simage=609,640,y,center]

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:

[sourcecode lang=”sql”]

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

[/sourcecode]

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.

12c Upgrade Bug with SQL Tuning Advisor

This blog post outlines steps to take on Oracle upgrade 11.2 to 12.1 if you’re having performance problems. Oracle offers a patch and work around to BUG 20540751.

Megan Elphingstone | March 22, 2017

Oracle EPM Cloud Vs. On-Premises: What’s the Difference?

EPM applications help measure the business performance. This post will help you choose the best EPM solutions for your organization’s needs and objectives.

Bobby Ellis | April 10, 2018
sharepoint ideas

9 Awesome Things You Can Do with SharePoint

This blog post discusses out-of-the-box uses for SharePoint that you can execute in just a few clicks without using any code.

Amol Gharat | May 23, 2017

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