My Oracle Support Banner

Unable to Set User Context (Doc ID 315113.1)

Last updated on NOVEMBER 05, 2019

Applies to:

Portal - Version 9.0.4 to 10.1.4.2 [Release 10g to 10gR2]
Information in this document applies to any platform.

Symptoms

Unable to set user context:

1. Login SQL*Plus as PORTAL schema user.
2. Execute the snippet of code below. Use the lightweight Portal username/password:

SQL>set serveroutput on
SQL>Declare
lw_user varchar2(200);
BEGIN
wwctx_api.set_context('portal','<PASSWORD>');
lw_user:= wwctx_api.get_user;
dbms_output.put_line(lc_user);
END;

Get the error:

declare
*
ERROR at line 1:
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_API", line 1414
ORA-06512: at line 3

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.