Library D2KWUT60.DLL Not Accessible From Webutil (Doc ID 427660.1)

Last updated on OCTOBER 31, 2016

Applies to:

Oracle Forms - Version 9.0.4.0.19 to 11.1.1.4.0 [Release 9.0.4.0 to 11g]
Information in this document applies to any platform.
***Checked for relevance on 12-OCT-2011***


Symptoms

Running two different Forms sessions using WebUtil and d2kwutil functions in the same browser
gives these error messages:

WUL-928 [CApiFunctions.register_function()] Library d2kwut60.dll not accessible, or does not contain function d2kwutil_GetRegKey

WUL-925 [CApiFunctions.parse_funcHnd()] Object returned from object cache is not of type CFunc 

WUL-911 : Unsupported return type for C DLL Function

-- Steps To Reproduce:
Create a Forms module (a.fmx) that makes use of D2kwutil functions, e.g.

l_registry := 
client_win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE','ORACLE_HOME',false); 
 


Have two different configuration sections in the formsweb.cfg, using a different value for archive or archive_jini tag:

[A]
form=a.fmx
archive=frmwebutil.jar,jacob.jar,A_icons.jar
[B]
form=a.fmx
archive=frmwebutil.jar,jacob.jar,B_icons.jar

Run http://machine.domain:port/forms/frmservlet?config=A
Execute code to read the registry value.
Exit the form. 


In the same IE browser window run:
http://machine.domain:port/forms/frmservlet?config=B
Execute code to read the registry value:
The problem will be reproduced.

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