CREATING REAL APPLICATION USER SESSION FAILS WITH ORA-46094: XS user not effective (Doc ID 2270897.1)

Last updated on JUNE 01, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

 Creating a real application user session error with ORA-46094: XS user not effective as below

 

SQL> DECLARE
2 sessionid RAW(16);
3 BEGIN
4 SYS.DBMS_XS_SESSIONS.CREATE_SESSION('LWUSER1', sessionid);
5 END;
6 /
DECLARE
*
ERROR at line 1:
ORA-46094: XS user not effective
ORA-06512: at "SYS.DBMS_XS_SESSIONS_FFI", line 3
ORA-06512: at "SYS.DBMS_XS_SESSIONS", line 45
ORA-06512: at line 4

 

Changes

 No changes. It is assumed the application user is already created in the database with effective start_date and end_date.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms