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 and later
Information in this document applies to any platform.


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(
    at oracle.reports.rwclient.AuthManager.handleUserId(
    at oracle.reports.rwclient.AuthManager.getUserId(
    at oracle.reports.rwclient.RWClient.appendUserid(
    at oracle.reports.rwclient.RWClient.processRequest(


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

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