My Oracle Support Banner

How To Use TWO_TASK/LOCAL Setting with the "Securing Web.Show_Document" (Doc ID 398601.1)

Last updated on OCTOBER 09, 2023

Applies to:

Oracle Forms - Version 10.1.2.0.2 and later
Information in this document applies to any platform.

Goal

Oracle Forms Services - Secure Web.Show_Document() calls to Oracle Reports

How is it possible to have this mechanism pick up the default connect string LOCAL (on win32) or TWO_TASK (on Unix)?

Any attempts to do so, result in the error
    500 Internal Server Error
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.charAt(String.java:444)
    at oracle.reports.rwclient.AuthManager.handleUserId(AuthManager.java:539)
    at oracle.reports.rwclient.AuthManager.getUserId(AuthManager.java:401)
    at oracle.reports.rwclient.RWClient.appendUserid(RWClient.java:1965)
    at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1485)
    .......

Solution

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
Goal
Solution

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