WebUtil_Core.BEAN_NOT_REGISTERED

The exception raised WebUtil_Core.BEAN_NOT_REGISTERED.
How to get rid of this exception.
Please help.
I want to Install Bean BDK

It is likely you are not correctly picking up the webutil configuration information and files. As a simple test, run your form with the sample entries provided for you in formsweb.cfg. For example:
http://machine:port/forms/frmservlet?form=myWebUtil.fmx&*config=webutil*
If this works correctly, it means you are missing the configuration info in your config area of formsweb.cfg

Similar Messages

  • How to save pdf file(path) in oracle db

    Hi all,
    we are using forms 10g. the requirement is user can upload the pdf file from the forms. the pdf file should store in the server folder and the path can store in the db table field. when ever the user wish to download that pdf based up on the unique pdf name that should be open or save on client machine.
    can anybody help me how to do this
    Thank you

    Hi Amatu Allah,
    thank you for your reply
    i have the code based upon the webutil functions but it is not working can u pls help me
    Here---B8 is Block name
    if :toolbar.li_mode in('M') then
         if :b8.pdf_loc1 is not null then          
    declare
    l_success boolean;
    BEGIN
         mesg(1);
    l_success := webutil_file_transfer.Client_To_DB_with_progress
    (:b8.pdf_loc1-------------------------------------------------------------------------------------source file location,
    't002pod_pdf', ---------------------------------------------------------------------------------table name
    'pdf',-----------------------------------------------------------------------------------------------column name
    'doc_no = :b8.doc_no',---------------------------------------------------------------------doc_no is field
    'Upload to Database in progress',
    'Please wait',
    false,
    null
    if l_success
    then
    message('File uploaded successfully into the Database');
    else
    message('File upload to Database failed');
    end if;
    exception
    when others
    then
    message('File upload failed: '||sqlerrm);
    END;
    else
         mesg('Plese Select The File name');
         go_item('B8.pdf_open');
         end if;
    end if;
    ---------------------------------------------------------------------WEBUTIL FUNCTION BODY------------------------------------------------------------------------
    FUNCTION Client_To_DB_With_Progress
    ( clientFile in VARCHAR2,
    tableName in VARCHAR2,
    columnName in VARCHAR2,
    whereClause in VARCHAR2,
    progressTitle in VARCHAR2,
    progressSubTitle in VARCHAR2,
    asynchronous in BOOLEAN default FALSE,
    callbackTrigger in VARCHAR2 default NULL) return BOOLEAN is
    BEGIN
    return UploadInt
    ( clientFile,
    tableName,
    columnName,
    whereClause,
    true,
    true,
    progressTitle,
    progressSubTitle,
    asynchronous,
    callbackTrigger);
    END Client_To_DB_With_Progress;
    -- Internal implementations ----
    FUNCTION UploadInt ( clientFile in VARCHAR2,
    spec1 in VARCHAR2,
    spec2 in VARCHAR2,
    spec3 in VARCHAR2,
    toDB in BOOLEAN,
    withProgress in BOOLEAN,
    progressTitle in VARCHAR2,
    progressSubTitle in VARCHAR2,
    asynchronous in BOOLEAN default FALSE,
    callbackTrigger in VARCHAR2 default NULL) return BOOLEAN is
    clientFileSize PLS_INTEGER := 0;
    clientFileChunks PLS_INTEGER := 0;
    clientFileInfo VARCHAR2(1000 char);
    result BOOLEAN := FALSE;
    dataBuffer VARCHAR2(32767);
    ignore VARCHAR2(2);
    jobj ORA_JAVA.JOBJECT;
    lastErrorCode PLS_INTEGER;
    lastErrorArgs VARCHAR2(1000);
    encodedFile ORA_JAVA.JOBJECT;
    ftemp TEXT_IO.FILE_TYPE;
    tempFileName VARCHAR2(512);
    bool_ignore boolean;
    BEGIN
         mesg('inside function--2');
    -- Client file cannot be null
    if clientFile is null then
    raise CLIENT_FILE_NULL;
    end if;
    -- AS file cannot be null. AppsServerFileWriter also handles this. Better to handle here.
    if NOT toDB AND spec1 is null then
    raise AS_FILE_NULL;
    end if;
    -- Make sure the client file to be uploaded exists and readable
    -- If we don't raise exception here, we end up creating an empty file on DB or AS
    if NOT webutil_file.file_is_readable(clientFile)
    OR webutil_file.file_is_directory (clientFile) then
    raise FILE_NOT_FOUND;
    end if;
    -- First check to see if a transfer is not currently happening
    if In_Progress then
    raise AGENT_BUSY;
    end if;
    -- reset the target
    m_toDB := toDB;
    -- Set up the file info
    clientFileInfo := clientFile||'|0|'||
    WEBUTIL_UTIL.BoolToStr(asynchronous,'A|','S|')||
    WEBUTIL_UTIL.BoolToStr(withProgress,'Y|','N|')||
    progressTitle||'|'||
    progressSubTitle;
    WebUtil_Core.setProperty(WebUtil_Core.WUT_PACKAGE,'WUT_FILE_INFO', clientFileInfo);
    mesg('clietfileinfo: '||clientFileInfo);
    -- get the size and chunk info of the client side file
    clientFileInfo := WebUtil_Core.getProperty(WebUtil_Core.WUT_PACKAGE,'WUT_FILE_INFO');
    clientFileSize := DelimStr.getNumber(clientFileInfo,1,true,'|');
    mesg('size: '||clientFileSize);
    if clientFileSize = 0 then
    raise CLIENT_FILE_EMPTY;
    -- no need to close AS file since it is not yet opened.
    end if;
    clientFileChunks := DelimStr.getNumber(clientFileInfo,2,true,'|');
    -- Set up the Open command
    if toDB then
    if not m_DBEnabled then
    raise TRANSFER_FORBIDDEN;
    end if;
    if not WebUtil_DB_Local.openblob(spec1, spec2, spec3,'W', m_maxTransferSize) then
    WebUtil_core.Error(WebUtil_Core.WUT_PACKAGE,WebUtil_DB_Local.getLastError,
    'WEBUTIL_FILE_TRANSFER.uploadInt');
    raise READWRITE_ERROR;
    end if;
    else
    if not WebUtil_Core.checkJava then
    raise NO_JAVA;
    end if;
    if not checkASACL(spec1,m_writeACL) then
    raise TRANSFER_FORBIDDEN;
    end if;
    jobj := JAVA_APPSERV_WRITER.NEW;
    if not JAVA_APPSERV_WRITER.openFile(jobj,spec1) then
    lastErrorCode := JAVA_APPSERV_WRITER.getLastError(jobj);
    lastErrorArgs := JAVA_APPSERV_WRITER.getLastErrorArgs(jobj) ;
    WebUtil_core.Error(Webutil_Core.WUT_PACKAGE,lastErrorCode,
    'WEBUTIL_FILE_TRANSFER.uploadInt',lastErrorArgs);
    raise READWRITE_ERROR;
    end if;
    end if;
    -- Is this Async? if So we do nothing more here just set the callback and kick it off
    if asynchronous then
    -- set callbackTrigger even if it is null. we will take care
    -- before calling
    WebUtil_Core.SetCallbackTrigger(-1,callbackTrigger);
    ignore := WebUtil_Core.getProperty(WebUtil_Core.WUT_PACKAGE,'WUT_TRANSFER');
    m_chunks := clientFileChunks;
    m_fileSize := clientFileSize;
    m_uploadSucceeded := NULL;
    if not toDB then
    m_persistObj := ORA_JAVA.NEW_GLOBAL_REF(jobj);
    end if;
    result := true;
    else
    if NOT toDB then
    encodedFile := JAVA_FILE.createTempFile('WUAS','.enc');
    tempFileName := JAVA_FILE.getPath(encodedFile);
    end if;
    -- loop through each chunk
    for i in 1..clientFileChunks LOOP
    dataBuffer := WebUtil_Core.getProperty(WebUtil_Core.WUT_PACKAGE,'WUT_TRANSFER',false);
    if (WebUtil_Core.isError) or (dataBuffer is null) then
    raise AGENT_BUSY;
    end if;
    -- Write to the correct place
    if toDB then
    WebUtil_DB_Local.WriteData(dataBuffer);
    else
    ftemp := TEXT_IO.FOPEN(tempFileName, 'W');
    TEXT_IO.PUT(ftemp, dataBuffer);
    TEXT_IO.FCLOSE(ftemp);
    -- if not JAVA_APPSERV_WRITER.WriteData(jobj,dataBuffer) then
    if not JAVA_APPSERV_WRITER.decodeBASE64File(jobj,tempFileName) then
    lastErrorCode := JAVA_APPSERV_WRITER.getLastError(jobj);
    lastErrorArgs := JAVA_APPSERV_WRITER.getLastErrorArgs(jobj) ;
    WebUtil_core.Error(Webutil_Core.WUT_PACKAGE,lastErrorCode,
    'WEBUTIL_FILE_TRANSFER.UploadInt',lastErrorArgs);
    raise READWRITE_ERROR;
    end if;
    end if;
    end LOOP;
    if toDB then
    if WebUtil_DB_Local.CloseBlob(clientFileSize) then
    result := true;
    else
    WebUtil_core.Error(Webutil_Core.WUT_PACKAGE,WebUtil_DB_Local.getLastError,
    'WEBUTIL_FILE_TRANSFER.UploadInt');
    end if; -- close
    else
    bool_ignore := JAVA_FILE.DELETE_(encodedFile);
    if JAVA_APPSERV_WRITER.CloseFile(jobj,clientFileSize) then
    result := true;
    else
    lastErrorCode := JAVA_APPSERV_WRITER.getLastError(jobj);
    lastErrorArgs := JAVA_APPSERV_WRITER.getLastErrorArgs(jobj) ;
    WebUtil_core.Error(Webutil_Core.WUT_PACKAGE,lastErrorCode,
    'WEBUTIL_FILE_TRANSFER.UploadInt',lastErrorArgs);
    raise READWRITE_ERROR;
    end if;
    end if;
    end if; -- async
    return result;
    EXCEPTION
    when CLIENT_FILE_EMPTY then
    WebUtil_Core.Error(Webutil_Core.WUT_PACKAGE,133,'WEBUTIL_FILE_TRANSFER.UploadInt', clientFile);
    return false;
    when CLIENT_FILE_NULL then
    WebUtil_Core.Error(Webutil_Core.WUT_PACKAGE,130,'WEBUTIL_FILE_TRANSFER.UploadInt');
    return false;
    when AS_FILE_NULL then
    WebUtil_Core.Error(Webutil_Core.WUT_PACKAGE,117,'WEBUTIL_FILE_TRANSFER.UploadInt');
    return false;
    when FILE_NOT_FOUND then
    WebUtil_Core.Error(Webutil_Core.WUT_PACKAGE,129,'WEBUTIL_FILE_TRANSFER.UploadInt', clientFile);
    return false;
    when TRANSFER_FORBIDDEN then
    WebUtil_Core.Error(Webutil_Core.WUT_PACKAGE,121,'WEBUTIL_FILE_TRANSFER.UploadInt');
    return false;
    when AGENT_BUSY then
    WebUtil_Core.Error(Webutil_Core.WUT_PACKAGE,116,'WEBUTIL_FILE_TRANSFER.UploadInt');
    return false;
    when READWRITE_ERROR then
    return false;
    when NO_JAVA then
    return false;
    when WebUtil_Core.BEAN_NOT_REGISTERED then
    WebUtil_Core.ErrorAlert(WebUtil_Core.getImplClass(WebUtil_Core.WUT_PACKAGE)
    ||' bean not found. WEBUTIL_FILE_TRANSFER.UploadInt will not work');
    RAISE FORM_TRIGGER_FAILURE;
    when WebUtil_Core.PROPERTY_ERROR then
    RAISE FORM_TRIGGER_FAILURE;
    END UploadInt;

  • Webutil, read registry with defaut entry?

    webutil, read registry not working well?
    Hi,
    I cannot read the default value for an entry in the registry.
    if I read another value, it works fine.
    On metalink, a note was giving an exemple that was doing that... but it doesn't work when I try it....
    Doc ID:      Note:121909.1
    Subject:      How to Open a File with its Associated Program from Forms ?
    Here is my code, the first block works, but the others don't work. Could somebody explain me how do I do to access the default value?
    PROCEDURE P_TEST IS
    lv_valeur_retour1 VARCHAR2(255);
    BEGIN
    BEGIN
    -- this works fine
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows',
    'Device',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '10';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT\' || '.doc',
    NULL,
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '11';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT\' || '.doc',
    'Default',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '12';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT\' || '.doc',
    '(Default)',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '15';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT\' || '.doc',
    '0',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '14';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT',
    '.doc',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '13';
    END;
    END;

    I had to customize the webutil.pll to get this to work. I modified the WEBUTIL_C_API.ADD_PARAMETER_WU function so it did not always consume null string parameters. The change follows.
    FUNCTION ADD_PARAMETER_WU (paramList IN ParameterList, parameterType IN PLS_INTEGER,
    inOut IN PLS_INTEGER, str IN VARCHAR2, strmaxlen IN PLS_INTEGER) RETURN ParameterHandle IS
    paramHnd ParameterHandle;
    BEGIN
         IF (str = 'mjpNULLmjp') THEN
                        WebUtil_Core.SetProperty(WebUtil_Core.WUL_PACKAGE,'WUL_PARAM_PROPERTIES', 'B|' -- indicate Bind
              || TO_CHAR(paramList.hnd) || '|'
              || TO_CHAR(parameterType) || '|'
              || TO_CHAR(inOut) || '|'
              || TO_CHAR(strmaxlen) || '|'
              || '',false);
         ELSE
              IF str IS NULL THEN
              WebUtil_Core.SetProperty(WebUtil_Core.WUL_PACKAGE,'WUL_PARAM_PROPERTIES', 'B|' -- indicate Bind
              || TO_CHAR(paramList.hnd) || '|'
              || TO_CHAR(parameterType) || '|'
              || TO_CHAR(inOut) || '|'
              || TO_CHAR(strmaxlen) || '|'
              || '(null)',false);
         ELSE          
              WebUtil_Core.SetProperty(WebUtil_Core.WUL_PACKAGE,'WUL_PARAM_PROPERTIES', 'B|' -- indicate Bind
              || TO_CHAR(paramList.hnd) || '|'
              || TO_CHAR(parameterType) || '|'
              || TO_CHAR(inOut) || '|'
              || TO_CHAR(strmaxlen) || '|'
              || str,false);
         END IF;
         END IF;
         paramHnd.hnd := TO_NUMBER(WebUtil_Core.GetProperty(WebUtil_Core.WUL_PACKAGE,'WUL_ADD_PARAMETER'));
         RETURN paramHnd;
    EXCEPTION
    when WebUtil_Core.BEAN_NOT_REGISTERED then
    WebUtil_Core.Error(15,WebUtil_Core.getImplClass(WebUtil_Core.WUF_PACKAGE));               
    RAISE FORM_TRIGGER_FAILURE;
    when WebUtil_Core.PROPERTY_ERROR then
    RAISE FORM_TRIGGER_FAILURE;
    END ADD_PARAMETER_WU;
    Here is an example call to get the default registry entry:
    reg_val := CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE','mjpNULLmjp',FALSE);

  • Problems with WEBUTIL_CORE on OAS 10.1.2 (CLIENT_IMAGE.READ_IMAGE_FILE)

    Hello,
    I get a problem with webutil 106 on Application Server 10.1.2.0.2 (RedHat 4)
    Some functions raise errors as :
    oracle.forms.net.ConnectionException: Abandon de la session Forms <839> : communication avec le processus runtime impossible.
    at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
    at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
    at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
    at oracle.forms.net.HTTPNStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    For testing, I use the demo form WU_TEST_106 and I encounter this problem with :
    CLIENT_IMAGE.READ_IMAGE_FILE
    I get another problem with SHOWBEANS(FALSE) that doesn't terminate (showbeans(true) works fine)
    I've tried others Webutil functions that works fine
    I've another platform with same release of Webutil / OAS 10.1.2 / Redhat4 which works fine (the major difference is that OAS was installed with portal in this last platform).
    I've made those test with same client and same database (10g)
    Any ideas ?

    Seems to be a bug. That was the response from Oracle support (Metalink)
    Response:
    Your issue seems to be related to bug 5594702 - Abstract: EJB30 ENTITY BEAN WITH @ID AND @COLUMN ANNOTATION FAILS TO DEPLOY ON AIX.
    There is an issue with the IBM JDK/JRE 1.5's processing of annotations.
    Links:
    http://www.theserverside.com/discussions/thread.tss?thread_id=37764
    http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=367&thread=112543&cat=10
    When processing annotations it returns boolean values as false.
    Work-around:
    Fully specify the @Column annotation's boolean values. If insertable and updatable are set to false (which will happen due to this bug) then TopLink sets the PK
    mapping to read-only and the exception seen is expected.
    Note: nullable attribute of the @Colmun is not used in the EJB3/JPA preview of 10.1.3.0 If the customer MUST override the default column name then they should use:
    @Column(name="column-name", insertable=true, updatable=true)
    If they do not wish to override the default column name then simply do not use an @Column annotation.
    It can be deleted or commented out in the JDev generated code.
    There are two reported annotation processing issues with the AIX JVM. One was fixed in SR1 and the other is fixed
    in SR3 (due out Oc 11 - today). Upgrading to these more recent JVM releases may also address this issue.
    RECOMMENDED SOLUTIONS:
    1. Upgrade the IBM AIX JVM to SR3.
    OR
    2. Fix all generated @Column annotations as described above

  • Creation of CSV file on client machine with data from forms

    Hi,
    My requirement is to generate a CSV file(or .XLS) on the client machine ie local drive with the details shown in a form.
    Oracle version -
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for Solaris: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production.
    I have searched the web for last couple of days and got to know that TEXT_IO is to be used to generate files on client machine. However, when I tried TEXT_IO, it was not able to generate the file on client rather it was able to generate on database server. After further browsing on this, there was a link which said that we need to use CLIENT_TEXT_IO to generate file on client side. For this, i was required to subclass the webutil.pll which i did and corrected the code to use CLIENT_TEXT_IO. The form was unable to compile and was not able to find "webutil_core" package.
    I am very confused with the disparity in the information available on the web as in what to use to generate a file on client side. If anyone has use it in the past, can he/she please detail what to use to get things sorted.
    Thanks,
    R

    Oracle version - Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for Solaris: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production. >
    So, what is your FORMS version. This is more important than your database version.
    My requirement is to generate a CSV file(or .XLS) on the client machine ie local drive with the details shown in a form. Depending on your Forms version, you would use TEXT_IO (if Forms 6i running in Client/Server mode) or WebUtil (if Forms 9i or higher).
    I'm going to guess that you are at least using Oracle Forms 9i since you stated that your attempt at using TEXT_IO produced a file on the DB server.
    There is more to using WebUtil than just attaching the WEBUTIL.PLL. If you had performed a simple search of the Forms Help System would have found numerous WebUtil topics to include: Introduction to WebUtil, Configuring WebUtil, Using WebUtil in Your Applications and the WebUtil User's Guide. If you have Oracle Forms release 10g or higher, WebUtil is included when you installed Forms, however, you do need to configure your installation to use WebUtil and you must download the Java COM Bridge (jacob.jar) from Source Forge. Take a look at the Configuring WebUtil Forms Help topic to find out which version of the Java COM Bridge you will need to download.
    After you have successfully configured WebUtil, take a look at the Using WebUtil in Your Applications topic to find out how to implement WebUtil in a form.
    Searching the Internet for answers is great, but don't forget the look at the Forms Help System because the majority of your questions can be answered there. :)
    Lastly, configuration of WebUtil is primarily done on your Application Server (AS). However, if you plan to perform preliminary runtime testing by running your Form from the Forms Builder, then you will configure your local runtime to support WebUtil as well as configure your AS. The steps are exactly the same. A common mis-step is to skip a step during the configuration because you don't think the step applies. Take a look at the Forms Help Runtime Setup Checklist topic for a list of step you need to complete in order to enable WebUtil.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Webutil file load/upload problem

    Hi,
    When i upload/download file from DB or AS and filename contains only english letters there is no problem. But when i wanna upload file which filename contains baltic leters webutil demo showing thah all ok,no errors, but blob column is empty.
    I try to debug code and found that after this code clientFileInfo always = '0|0'
    function UploadInt in webutil.pll
    WebUtil_Core.setProperty (WebUtil_Core.WUT_PACKAGE,'WUT_FILE_INFO', clientFileInfo);
    -- get the size and chunk info of the client side file
    clientFileInfo := WebUtil_Core.getProperty(WebUtil_Core.WUT_PACKAGE,'WUT_FILE_INFO');
    How i can fix this problem if user wants upload file wich filename contains not only english leters?
    Andriejus

    This is being tracked on BUG:3454831

  • Read Image from client

    I am trying to import the picture from the client, using WEBUTIL (v 1.0.2)
    Procedure looks like:
    DECLARE
    FILE_NAME VARCHAR2(200);
    File_Filter varchar2(30):='JPEG Files (*.jpg)|*.jpg|';
    BEGIN
    FILE_NAME:=CLIENT_GET_FILE_NAME(NULL,NULL,File_Filter,NULL,OPEN_FILE,TRUE);
    CLIENT_IMAGE.READ_IMAGE_FILE(FILE_NAME, 'JFIF',
    '<table>.<BLOB column>');
    END;
    "CLIENT_GET_FILE_NAME" works fine, but when it comes to "CLIENT_IMAGE.READ_IMAGE_FILE" I get message
    Checking through the debugger I found that the error is generated in the
    WEBUTIL.WEBUTIL_CORE.CHECKJAVA
    at the line
    classpath := JAVA_SYSTEM.getProperty('java.class.path');
    I checked, and all CLASSPATH variables in registry contain the path to webutil.jar
    I also tried with: "webutil_file_transfer.Client_To_DB_with_progress"
    And it works fine to me, file is transferred to the BLOB field but then I can not display the image in the form. (Is there any advice on how to do this, any example code)
    I have been using iDS9.
    Is there anyone who could help. Thanks in advance
    Sead

    What is really odd to me is the fact that the value in "classpath" after the command
    classpath := JAVA_SYSTEM.getProperty('java.class.path');
    does not correspond to any variable in the registry.
    I searched the registry and the value of the string does not exist in any variable in the registry. I do not know how did "JAVA_SYSTEM.getProperty('java.class.path')" produce the classpath string.

  • Error Handling in WebUtil CLIENT_OLE2.get_obj_property

    Hello,
    we have a problem with the error handling in WebUtil's CLIENT_OLE2.get_obj_property function. The WebUtil version is 1.0.2 and the problem can be reproduced on the 9iAS, 9iDS and 10gAS as well.
    Problem description:
    The get_obj_property function does not throw a PL/SQL exception when it is given an invalid object as first argument (i.e. an object handle to an application that has intermittently been closed by the user). Instead, the function returns a NULL value and the control flow of our application code continues as if the function had succeeded. So the problem is that the get_obj_property function neither throws an exception nor can the failure be caught by calling WEBUTIL_CORE.IsError as this returns that no error occurred.
    Example:
    PACKAGE BODY word IS
    OBJ_HND CLIENT_OLE2.OBJ_TYPE := NULL;
    mydocs CLIENT_ole2.obj_type;
    -- Start Word97
    PROCEDURE wordopen is                         
    BEGIN
    obj_hnd := null;
    obj_hnd := CLIENT_OLE2.create_obj ('Word.Application');
    CLIENT_OLE2.Set_property(obj_hnd,'Visible',1);
    END;
    PROCEDURE test is
    BEGIN
    IF obj_hnd IS NULL THEN
    wordopen;
    END IF;
    BEGIN
    mydocs := CLIENT_OLE2.get_obj_property(obj_hnd,'Documents');
    EXCEPTION WHEN OTHERS THEN
    -- Word has probably been closed by the user
    -- so just start it again and retry...
    wordopen;
    mydocs := CLIENT_OLE2.get_obj_property(obj_hnd,'Documents');
    END;
    END;
    END;
    If the procedure test is called once then the Word application is started and the procedure performs some work. The procedure could be called several times on the same Word instance but fails in case the user closes the Word application because the procedure does not get an exception or error from WebUtil's get_obj_property function. Only a JACOB Java exception is logged in the Java console of the user's computer - the PL/SQL code has no way of knowing that an error has occurred.
    Possible solution / patch for webutil.pll:
    The webutil.pll can be patched to throw an exception if it is given an invalid object handle. In webutil.pll version 1.0.2 in get_object_property, line 1205, just add the condition "(v_javaHandle IS NULL) or " at the beginning of the if-statement in that line so that an OLE_ERROR will be raised if v_javaHandle is NULL:
    if (v_javaHandle IS NULL) or (v_javaHandle = 0) or (v_javaHandle='') or (v_javaHandle=-1) then     
    raise OLE_ERROR;      
    end if;     
    Can you confirm the error and re-release a patched webutil.pll at a later time?
    Regards,
    Andreas Leidner
    infoteam GmbH Berlin

    Hi
    It is mentioned in webutil doc that, you must regenerate webutil.pll before using it; otherwise you’ll encounter error ORA-06508 when running a form with the attached library.
    Hope this helps...
    Regards,
    Amatu Allah

  • WEBUTILS CLIENT_HOST

    I am using the webutil client_host functionality.
    The following command calls the program correctly but the tabs have been ignored or replaced by spaces.
    CLIENT_HOST('creditcarddonations.exe '||:global.connum||CHR(9)||v_name||CHR(9)||RTRIM(v_address, CHR(9)));
    Any Ideas?
    Works fine using host in Forms 6i
    Nigel

    On further investigation the tabs exist in the command string up to the SET_CUSTOM_PROPERTY in the webutil_core.set_item_property procedure

  • Webutil form compilation error

    Hi all
    I configured webutil on Application server 10g on linux. but when i compile the demo form on application server using
    /u01/app/oracle/OraHome_2/bin/frmcmp.sh module=$ORACLE_HOME/forms/WU_TEST_106.fmb userid=webutil/webutil@orant module_type=form compile_all=yes OUTPUT_FILE=$ORACLE_HOME/forms/WU_TEST_106.fmx
    it give me the errors
    FRM-18108: Failed to load the following objects.
    Source Module:webutil.olb
    Source Object: WEBUTIL
    Compiling procedure GET_CLIENTINFO...
    Compilation error on procedure GET_CLIENTINFO:
    PL/SQL ERROR 201 at line 3, column 35
    identifier 'WEBUTIL_CLIENTINFO.GET_USER_NAME' must be declared
    PL/SQL ERROR 0 at line 3, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 4, column 35
    identifier 'WEBUTIL_CLIENTINFO.GET_IP_ADDRESS' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compilation errors have occurred.
    Form not created
    ==========================================
    i search a lot but failed ..
    any solution regarding this plz thanks in advance.

    [oracle@appserver ~]$ /u01/app/oracle/OraHome_2/bin/frmcmp_batch.sh module=$ORACLE_HOME/forms/webutil.pll userid=webutil/webutil@orant module_type=library compile_all=yes OUTPUT_FILE=$ORACLE_HOME/forms/webutil.plx
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.4.0 Production
    Compiling library WEBUTIL...
    Invalidating Package Spec CLIENT_IMAGE......
    Invalidating Package Spec CLIENT_OLE2......
    Invalidating Package Spec CLIENT_TEXT_IO......
    Invalidating Package Spec CLIENT_TOOL_ENV......
    Invalidating Package Spec CLIENT_WIN_API_DEBUG......
    Invalidating Package Spec CLIENT_WIN_API......
    Invalidating Package Spec CLIENT_WIN_API_ENVIRONMENT......
    Invalidating Package Spec CLIENT_WIN_API_PRELOAD......
    Invalidating Package Spec JAVA_EXCEPTION......
    Invalidating Package Spec WEBUTIL_BROWSER......
    Invalidating Package Spec WEBUTIL_CLIENTINFO......
    Invalidating Package Spec WEBUTIL_C_API......
    Invalidating Package Spec JAVA_SYSTEM......
    Invalidating Package Spec JAVA_APPSERV_READER......
    Invalidating Package Spec DELIMSTR......
    Invalidating Package Spec WEBUTIL_FILE......
    Invalidating Package Spec JAVA_APPSERV_WRITER......
    Invalidating Package Spec WEBUTIL_DB_LOCAL......
    Invalidating Package Spec JAVA_FILE......
    Invalidating Package Spec WEBUTIL_FILE_TRANSFER......
    Invalidating Package Spec WEBUTIL_HOST......
    Invalidating Package Spec WEBUTIL_SEPARATEFRAME......
    Invalidating Package Spec WEBUTIL_CORE......
    Invalidating Package Spec WEBUTIL_SESSION......
    Invalidating Package Spec WEBUTIL_UTIL......
    Invalidating Package Body WEBUTIL_UTIL......
    Invalidating Package Body WEBUTIL_SESSION......
    Invalidating Package Body WEBUTIL_SEPARATEFRAME......
    Invalidating Package Body WEBUTIL_HOST......
    Invalidating Package Body WEBUTIL_FILE_TRANSFER......
    Invalidating Package Body WEBUTIL_FILE......
    Invalidating Package Body WEBUTIL_DB_LOCAL......
    Invalidating Package Body WEBUTIL_C_API......
    Invalidating Package Body WEBUTIL_CORE......
    Invalidating Package Body WEBUTIL_CLIENTINFO......
    Invalidating Package Body WEBUTIL_BROWSER......
    Invalidating Procedure Body SHOW_WEBUTIL_INFORMATION......
    Invalidating Package Body JAVA_SYSTEM......
    Invalidating Package Body JAVA_FILE......
    Invalidating Package Body JAVA_EXCEPTION......
    Invalidating Package Body JAVA_APPSERV_WRITER......
    Invalidating Package Body JAVA_APPSERV_READER......
    Invalidating Package Body DELIMSTR......
    Invalidating Package Body CLIENT_WIN_API_PRELOAD......
    Invalidating Package Body CLIENT_WIN_API_ENVIRONMENT......
    Invalidating Package Body CLIENT_WIN_API_DEBUG......
    Invalidating Package Body CLIENT_WIN_API......
    Invalidating Package Body CLIENT_TOOL_ENV......
    Invalidating Package Body CLIENT_TEXT_IO......
    Invalidating Package Body CLIENT_OLE2......
    Invalidating Package Body CLIENT_IMAGE......
    Invalidating Procedure Body CLIENT_HOST......
    Invalidating Function Body CLIENT_GET_FILE_NAME......
    Compiling Package Spec CLIENT_IMAGE......
    Compiling Package Spec CLIENT_OLE2......
    Compiling Package Spec CLIENT_TEXT_IO......
    Compiling Package Spec CLIENT_TOOL_ENV......
    Compiling Package Spec CLIENT_WIN_API_DEBUG......
    Compiling Package Spec CLIENT_WIN_API......
    Compiling Package Spec CLIENT_WIN_API_ENVIRONMENT......
    Compiling Package Spec CLIENT_WIN_API_PRELOAD......
    Compiling Package Spec JAVA_EXCEPTION......
    Compiling Package Spec WEBUTIL_BROWSER......
    Compiling Package Spec WEBUTIL_CLIENTINFO......
    Compiling Package Spec JAVA_SYSTEM......
    Compiling Package Spec JAVA_APPSERV_READER......
    Compiling Package Spec DELIMSTR......
    Compiling Package Spec WEBUTIL_FILE......
    Compiling Package Spec JAVA_APPSERV_WRITER......
    Compiling Package Spec WEBUTIL_DB_LOCAL......
    Compiling Package Spec JAVA_FILE......
    Compiling Package Spec WEBUTIL_FILE_TRANSFER......
    Compiling Package Spec WEBUTIL_HOST......
    Compiling Package Spec WEBUTIL_SEPARATEFRAME......
    Compiling Package Spec WEBUTIL_CORE......
    Compiling Package Spec WEBUTIL_SESSION......
    Compiling Package Spec WEBUTIL_UTIL......
    Compiling Package Body WEBUTIL_UTIL......
    Compiling Package Body WEBUTIL_SESSION......
    Compiling Package Body WEBUTIL_SEPARATEFRAME......
    Compiling Package Body WEBUTIL_HOST......
    Compiling Package Body WEBUTIL_FILE_TRANSFER......
    Compiling Package Body WEBUTIL_FILE......
    Compiling Package Body WEBUTIL_DB_LOCAL......
    Compiling Package Body WEBUTIL_C_API......
    Compiling Package Body WEBUTIL_CORE......
    Compiling Package Body WEBUTIL_CLIENTINFO......
    Compiling Package Body WEBUTIL_BROWSER......
    Compiling Procedure Body SHOW_WEBUTIL_INFORMATION......
    Compiling Package Body JAVA_SYSTEM......
    Compiling Package Body JAVA_FILE......
    Compiling Package Body JAVA_EXCEPTION......
    Compiling Package Body JAVA_APPSERV_WRITER......
    Compiling Package Body JAVA_APPSERV_READER......
    Compiling Package Body DELIMSTR......
    Compiling Package Body CLIENT_WIN_API_PRELOAD......
    Compiling Package Body CLIENT_WIN_API_ENVIRONMENT......
    Compiling Package Body CLIENT_WIN_API_DEBUG......
    Compiling Package Body CLIENT_WIN_API......
    Compiling Package Body CLIENT_TOOL_ENV......
    Compiling Package Body CLIENT_TEXT_IO......
    Compiling Package Body CLIENT_OLE2......
    Compiling Package Body CLIENT_IMAGE......
    Compiling Procedure Body CLIENT_HOST......
    Compiling Function Body CLIENT_GET_FILE_NAME......
    Done.
    [oracle@appserver ~]$
    here is the code how i compile webutil.. its done sucessfully.

  • Options for Client_host

    Hi,
    Do anyone have a link which can show what are all the parameters (or options) that can be used along with client_host and webutil_host
    Regards

    All is written in the webutil.pll itself:
    PROCEDURE CLIENT_HOST(syscmd Varchar2, kwd Number default NULL) IS
    * CLIENT_HOST
    *   This procedure duplicates the action of the HOST Built-in, except that it
    *   operates on the client (browser) tier rather than the Applcation server tier. 
    *   Existing HOST code  can be re-directed to run on the client simply by
    *   prefixing all the calls with "CLIENT_"
    *   The oracle.forms.webutil.host.HostFunctions bean is needed in your
    *   Form to use these functions
    *   Note 1) This version (like client server) is Blocking and will prevent
    *   re-draw of the Forms Screen whilst the Host command is active
    *   Note 2) The kwd argument (e.g. NO_SCREEN etc) is ignored
    *   For more flexible "Host" commands see the WEBUTIL_HOST package
    *   That has facilities for Asynchronous callbacks and return codes
    * Version 1.0.0
    * Change History
    *   1.0.0 DRMILLS 03/JAN/2003 - Creation
    BEGIN
         -- simply call through the to WEBUTIL_HOST.HOST() Function
      if WEBUTIL_HOST.HOST(syscmd) <> 0 then
           raise form_trigger_failure;
      end if;
    END CLIENT_HOST;
    PACKAGE WEBUTIL_HOST IS
    * WEBUTIL_HOST
    *   This Package contains routines to execute "host" commands on the client
    *   Calls may be blocking or asynchronous and if aysnchronous may have a
    *   callback mode e.g. You fire off the process on the client and when it
    *   has finished a user named trigger will execute
    * Version 1.0.2
    * Change History
    *   1.0.0 DRMILLS 27/JAN/2003 - Creation
    *   1.0.1 DRMILLS 01/MAR/2003 - Slight API changes
    *   1.0.2 DRMILLS 17/MAY/2003 - Added call to WebUtil_Core.Init
       * Types
       * PROCESS_ID is a type to represent a process so that you can do
       * things like get the return code and error output and also kill it
      type PROCESS_ID is record (handle PLS_INTEGER);
       * OUTPUT_ARRAY is used to return the Standard Out and Standard Error output
       * from a host command - each line of the output will appear as a member of this array
      type OUTPUT_ARRAY is table of VARCHAR2(256 char) index by binary_integer;
       * Functions
       * HOST function is closest to the old client/server Host.
       * It blocks the Forms client until the host call is finished.
       * This version returns with the return code from the client
      FUNCTION  Host(cmd in VARCHAR2) return PLS_INTEGER;
       * HOST function is closest to the old client/server Host.
       * It blocks the Forms client until the host call is finished.
       * This version returns nothing
      PROCEDURE Host(cmd in VARCHAR2);    
       * Blocking like the Host function blocks the client until
       * it is finished.  However it returns the process id rather
       * than the return code.
      FUNCTION  Blocking(cmd in VARCHAR2) return PROCESS_ID; 
       * This version of Blocking is identical to the HOST Procedure
      PROCEDURE Blocking(cmd in VARCHAR2);  
       * NonBlocking executes a Host command and returns
       * to the Form, allowing PL/SQL to continue at the same time that
       * the command is running on the client.
       * The process id is returned so that you can:
       * 1) Get the Return code from the Process once it's finished
       * 2) Get the console output and error output
       * 3) Kill the Process you started
       * NOTE: It is important to call Release_Process(processId) when
       * You have finished with this process ID - this will release
       * resources in the client (but will not kill the program that
       * you started - use Terminate_Process() for that)
      FUNCTION  NonBlocking(cmd in VARCHAR2)return PROCESS_ID;
       * The Procedure version of NonBlocking executes a Host command
       * and returns to the Form, allowing PL/SQL to continue at the
       * same time that the command is running on the client.
       * In this case the process id is not returned and the client
       * side objects are automatically cleaned up for you.
      PROCEDURE NonBlocking(cmd in VARCHAR2);
       * NonBlocking_With_Callback executes a Host command and returns
       * to the Form, allowing PL/SQL to continue at the same time that
       * the command is running on the client.
       * The difference between this call and NonBlocking is that you
       * can supply the name of a User Defined trigger which WebUtil
       * will automatically call as soon as the process you've started
       * has ended.
       * The process id is returned so that you can:
       * 1) Get the Return code from the Process once it's finished
       * 2) Get the console output and error output
       * 3) Kill the Process you started
       * NOTE: It is important to call Release_Process(processId) when
       * You have finished with this process ID - this will release
       * resources in the client (but will not kill the program that
       * you started - use Terminate_Process() for that)
       * Only call ReleaseProcess in this case *After* the callback
       * trigger has been called.
      FUNCTION  NonBlocking_With_Callback(cmd in VARCHAR2, callbackTrigger in VARCHAR2)return PROCESS_ID;
       * Given a Valid process id that you've gotten from
       * NonBlocking() or NonBlockingWithCallback() you can terminate
       * the client program that you are running.
      PROCEDURE Terminate_Process(process in PROCESS_ID);
       * Get the return code from a given process
      FUNCTION  Get_Return_Code(process in PROCESS_ID) return PLS_INTEGER;
       * Get the console output from a given process
      FUNCTION  Get_Standard_Output(process in PROCESS_ID) return OUTPUT_ARRAY;
       * Get the error output from a given process
      FUNCTION  Get_Standard_Error(process in PROCESS_ID) return OUTPUT_ARRAY;
       * Clean up the resources allocated to a particular Process
       * on the client
      PROCEDURE Release_Process(process in out PROCESS_ID); 
       * Get the ID of the process that has just finished.
       * This call is only valid for use in a callback trigger
       * that has been set up and called through NonBlockingWithCallback()
      FUNCTION  Get_Callback_Process return PROCESS_ID; 
       * Test to see if this Process ID is null
      FUNCTION  ID_NULL(process PROCESS_ID) return BOOLEAN;
       * Test to see if two Process IDs represent the same process
      FUNCTION  EQUALS(process_1 PROCESS_ID, process_2 PROCESS_ID) return BOOLEAN; 
    END WEBUTIL_HOST;Francois

  • Access Violation while initialising WEBUTIL on Ora9iDS

    Hello,
    as part of an urgent evaluation I installed WEBUTIL as described in the documentation, did the additional steps described in the readme and added WEBUTIL as described to an existing form. Now the form raises an access violation error while executing trigger WHEN-CUSTOM-ITEM-EVENT on item WEBUTIL.WEBUTIL_FILETRANSFER_FUNCTIONS exactly when calling procedure WEBUTIL_CORE.CustomEventHandler while registering the beans.
    Did anybody experience the like? Any guess what's going wrong or what could help?
    The crash is documented in the log as follows:
    [09/09/03 08:38:46 Westeuropäische Sommerzeit]::Client Status [ConnId=0, PID=3048]
         >> ERROR: Abnormal termination, Error Code: C0000005 ACCESS_VIOLATION
    ======================= STACK DUMP =======================
    Fault address: 60A98D4D 01:00097D4D
    Module: E:\Programme\OraHome1\bin\orapls9.dll
    System Information:
    Operating System: Windows NT Version 5.0 Build 2195 Service Pack 4
    Command line: ifweb90 server webfile=HTTP-0,0,1,53.147.33.61
    FORM/BLOCK/FIELD: DOKUMENTE:DOKUMENTE.KLARTEXT
    Last Trigger: WHEN-CUSTOM-ITEM-EVENT - (In Progress)
    Msg: <NULL>
    Last Builtin: NAME_IN - (Successfully Completed)
    Registers:
    EAX:00000000
    EBX:0012D9C0
    ECX:00000000
    EDX:0012D9C0
    ESI:0777C6E4
    EDI:02A26C78
    CS:EIP:001B:60A98D4D
    SS:ESP:0023:0012D978 EBP:0012D998
    DS:0023 ES:0023 FS:003B GS:0000
    Flags:00010246
    ------------------- Call Stack Trace ---------------------
    Frameptr RetAddr Param#1 Param#2 Param#3 Param#4 Function Name
    0x0012d998 60a3d308 0777c6e4 00000001 0012d9c0 070468a8 pfrb1assign_aad2va
    0x0012d9ec 60a92b11 0777c6e4 00000001 66020030 070468a8 pevmGBVAR+d8
    0x0012e0f0 60a1ce7d 0777c6e4 02a26c78 0776dd6c 00000002 _pfrrun+6841       
    0x0012e158 6601ea45 02a26c78 0777c6e4 02a46f00 029de3b4 _peicnt+ed         
    0x02a26874 029de3b4 65fdb2a0 65fdb2e0 65da1f30 00000000 0x6601ea45
    0x02a46f00 00000001 0000000a 02a46fd8 0026181f 65d51752 0x029de3b4
    ------------------- End of Stack Trace -------------------
    WebUtil-Logfile is not very verbose (despite detailed logging enabled):
    53.147.33.61:ZSCHAU: Connection from Form=E:\ISAP_ASP4\isap\websourcen\Doktestweb.fmx Client O/S=Windows 2000 locale=de
    53.147.33.61:ZSCHAU: 2003-Sep-09 08:38:00.889 WUF[VBeanCommon.getIPAddress()] 53.147.33.61
    53.147.33.61:ZSCHAU: 2003-Sep-09 08:38:00.929 WUH[VBeanCommon.getIPAddress()] 53.147.33.61
    53.147.33.61:ZSCHAU: 2003-Sep-09 08:38:00.949 WUS[VBeanCommon.getIPAddress()] 53.147.33.61
    Java Console prints:
    JInitiator: Version 1.3.1.9
    Verwendung der JRE-Version 1.3.1.9 Java HotSpot(TM) Client VM
    Home-Verzeichnis des Benutzers = C:\Dokumente und Einstellungen\zschau
    Proxy-Konfiguration:Automatische Proxy-Konfiguration
    JAR cache enabled
    Location: C:\Dokumente und Einstellungen\zschau\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://localhost:8888/forms90/webutil/webutil.jar from JAR cache
    Loading http://localhost:8888/forms90/webutil/jacob.jar from JAR cache
    Loading http://localhost:8888/forms90/java/f90all_jinit.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    connectMode=HTTP, native.
    Forms Applet-Version : 90290
    2003-Sep-09 08:38:00.819 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Sep-09 08:38:00.839 WUI[VBeanCommon.getIPAddress()] 53.147.33.61
    2003-Sep-09 08:38:00.879 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Sep-09 08:38:00.889 WUF[VBeanCommon.getIPAddress()] 53.147.33.61
    2003-Sep-09 08:38:00.909 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Sep-09 08:38:00.929 WUH[VBeanCommon.getIPAddress()] 53.147.33.61
    2003-Sep-09 08:38:00.939 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Sep-09 08:38:00.949 WUS[VBeanCommon.getIPAddress()] 53.147.33.61
    2003-Sep-09 08:38:00.969 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Sep-09 08:38:00.969 WUT[VBeanCommon.getIPAddress()] 53.147.33.61
    2003-Sep-09 08:38:01.460 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Sep-09 08:38:01.470 WUO[VBeanCommon.getIPAddress()] 53.147.33.61
    2003-Sep-09 08:38:01.500 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Sep-09 08:38:01.510 WUL[VBeanCommon.getIPAddress()] 53.147.33.61
    2003-Sep-09 08:38:01.550 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Sep-09 08:38:01.560 WUB[VBeanCommon.getIPAddress()] 53.147.33.61
    2003-Sep-09 08:38:48.268 WUB[VBeanCommon.destroy()] WebUtil Browser Functions being removed..
    2003-Sep-09 08:38:48.298 WUL[VBeanCommon.destroy()] WebUtil C API Functions being removed..
    2003-Sep-09 08:38:49.59 WUO[VBeanCommon.destroy()] WebUtil Client Side Ole Functions being removed..
    2003-Sep-09 08:38:49.89 WUT[VBeanCommon.destroy()] WebUtil File Transfer Bean being removed..
    2003-Sep-09 08:38:49.89 WUS[VBeanCommon.destroy()] WebUtil Session Monitoring Facilities being removed..
    2003-Sep-09 08:38:49.89 WUH[VBeanCommon.destroy()] WebUtil Client Side Host Commands being removed..
    2003-Sep-09 08:38:49.99 WUF[VBeanCommon.destroy()] WebUtil Client Side File Functions being removed..
    2003-Sep-09 08:38:49.99 WUI[VBeanCommon.destroy()] WebUtil GetClientInfo Utility being removed..
    I run Ora9iDS on a Windows2000 system.
    Thanks to anybody who tries to help.

    Hello, Grant,
    the crash occurs before I try to do anything vital. There is some init stuff in the form (initialising items, global variables etc.), query execution for initial displaying of database entries and a sychronize statement. After that the triggers in the WEBUTIL section fire, as I understand to initialise the beans (registering). As part of this registering the crash occurs - before I call any of the WEBUTIL functionality from my own code.

  • Pl/sql error while compiling forms on AS 10g running on linux

    Compiling WHEN-BUTTON-PRESSED trigger on FILECHOOSER item in BLOCK2 data block...
    Compilation error on WHEN-BUTTON-PRESSED trigger on FILECHOOSER item in BLOCK2 data block:
    PL/SQL ERROR 201 at line 14, column 9
    identifier 'WEBUTIL_FILE.FILE_SELECTION_DIALOG' must be declared
    PL/SQL ERROR 0 at line 14, column 1
    Statement ignored
    Compiling WHEN-BUTTON-PRESSED trigger on DUMMY item in WEBUTIL data block...
    Compilation error on WHEN-BUTTON-PRESSED trigger on DUMMY item in WEBUTIL data block:
    PL/SQL ERROR 201 at line 4, column 1
    identifier 'WEBUTIL_CORE.SHOWBEANS' must be declared
    PL/SQL ERROR 0 at line 4, column 1
    Statement ignored
    Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_CLIENTINFO_FUNCTIONS item in WEBUTIL data block...
    Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_CLIENTINFO_FUNCTIONS item in WEBUTIL data block:
    PL/SQL ERROR 201 at line 2, column 3
    identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
    PL/SQL ERROR 0 at line 2, column 3
    Statement ignored
    Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_FILE_FUNCTIONS item in WEBUTIL data block...
    Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_FILE_FUNCTIONS item in WEBUTIL data block:
    PL/SQL ERROR 201 at line 2, column 3
    identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
    PL/SQL ERROR 0 at line 2, column 3
    Statement ignored
    Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_HOST_FUNCTIONS item in WEBUTIL data block...
    Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_HOST_FUNCTIONS item in WEBUTIL data block:
    PL/SQL ERROR 201 at line 2, column 3
    identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
    PL/SQL ERROR 0 at line 2, column 3
    Statement ignored
    Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_SESSION_FUNCTIONS item in WEBUTIL data block...
    Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_SESSION_FUNCTIONS item in WEBUTIL data block:
    PL/SQL ERROR 201 at line 2, column 3
    identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
    PL/SQL ERROR 0 at line 2, column 3
    Statement ignored
    Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_FILETRANSFER_FUNCTIONS item in WEBUTIL data block...
    Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_FILETRANSFER_FUNCTIONS item in WEBUTIL data block:
    PL/SQL ERROR 201 at line 2, column 3
    identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
    PL/SQL ERROR 0 at line 2, column 3
    Statement ignored
    Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_OLE_FUNCTIONS item in WEBUTIL data block...
    Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_OLE_FUNCTIONS item in WEBUTIL data block:
    PL/SQL ERROR 201 at line 2, column 3
    identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
    PL/SQL ERROR 0 at line 2, column 3
    Statement ignored
    Compiling WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_C_API_FUNCTIONS item in WEBUTIL data block...
    Compilation error on WHEN-CUSTOM-ITEM-EVENT trigger on WEBUTIL_C_API_FUNCTIONS item in WEBUTIL data block:
    PL/SQL ERROR 201 at line 2, column 3
    identifier 'WEBUTIL_CORE.CUSTOMEVENTHANDLER' must be declared
    PL/SQL ERROR 0 at line 2, column 3
    Statement ignored

    i have already compile webutil.pll and its successfully compiled.
    now,when i go for compiling my form, the pl/sql error have been ocured.
    help required in placing the files (.pll,.olb.....) for utilizing the webutil functionality
    kindly reply. its urgent
    Message was edited by:
    user494855

  • When-custom-item-event

    Hello!
    I have problem with webutil.pll in runtime.
    When i run my form i get the next exception:
    "when-custom-item-event trigger raised unhandled exception ORA-06508".
    When i moved webutil_core and delimstr to program units the forms run fine.
    What can be a problem?
    Thanks.

    Webutil was compiled in my database schema.
    I see that if i move my forms in same directory with webutil.pll and then re-attache the pll - no exception in runtime.
    When i can remove pll from this directory and my form contunue to work fine.
    Do you have any explanation?
    Message was edited by:
    Aver

  • WUT-121 error on 9iAS

    Using WebUtil, I successfully opened an image file in a form in 9iDS. When we moved to the app server, we encountered the WUT-121 error. The temporary directory space is not restricted, and this is in the file webutil.cfg:
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE          
    transfer.appsrv.workAreaRoot=E:\WUTemp
    transfer.appsrv.accessControl=TRUE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=E:\WUTemp     
    transfer.appsrv.read.2=E:\WUTemp\199_60_89_70\MackJ
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=E:\WUTemp
    transfer.appsrv.write.2=E:\WUTemp\199_60_89_70\MackJ
    A process can open the client file dialog, and create the sub-direcories under the workAreaRoot, but can not then write the file into the work area, whethr they are listed in the above file or not.
    Are there any other parameters we should be setting on the app server? (server: Win2000, 9iAS release 2)

    So 121 indicates that the Access control check faile - the last time I saw this going false failures was when Forms was installed onto Unix and the .cfg file was still in DOS format e.g. had <cr><lf> line terminators.
    You are in a Windows machine so this should not be an issue - however, it might be worth checking that you don't have some non printing characters that prevent a match between the upload directory and the transfer.appsrv.write list.
    So what you need is to use the debugger and set a breakpoint in the WebUtil_core.checkASACL() function, you can also examine the package variables: m_readACL, m_writeACL in the package body - these maintain the list that is read from the config file.

Maybe you are looking for

  • Is there a way to replace re-sized images?

    I have several images (640 x 480) that I have placed into a PDF. When I use the Object TouchUp Tool, (right-click and choose "Place Image...") they come in WAY too big for the layout, so I scale them down to fit. Now, I need to replace those images w

  • External Hard Drive error code -50

    After I boot my iMac, my USB external drive mounts and functions as normal. After the computer has been left alone for a period of time (most notably, overnight) the drive still appears mounted on the desktop, I can read it, but attempting to write t

  • Pro Mac Pro Tip for Lion Users

    Been frustrated with your Mac Pro since upgrading to Lion?  Maybe I can help. I’ve spent the last few months just hating OS X Lion. I thought Apple should have given it a better nickname, like “System Hang” or “Patience is a Virtue.” I spent more tim

  • Sending attachments with email from iPad

    Can I send attachments, such as a pages file, when I send an email from my iPad? Thanks for your help

  • ODI Variable Usage

    Hi, I have two variables var1 and var2. Now I wann calculate var1-var2. How can I do this? Thanks, Monika