Webutil Problem in Oracle Forms 10g

Hi All,
been reading various posts over time on the forums but this is the first time for me to post here.
My name is george an i am a novice forms developer.(very novice i would say )
i am in the process of altering an existing form, and i am trying to add webutil functionality to the form.
i am succesfull getting webutil to run but i get some weired behaviour from the form, and in more detail i get the 40200 error.
the error only appears after the usage of webutil in the form and this prevents the user from entering a query string in a text item (actually it is when the user tries to type in the text box that oracle throws the 40200).
i am able to get around this problem, by moving the WEBUTIL DATA BLOCK at the end of the DATA BLOCKS tree. The form once more works as it should (queries etc) only that the webutil window and canvas are displayed on the top of my form (i.e webutil about form) and the user has to click OK to get rid of it.
i have tried to hide the webutil window, the webutil canvas but i am unsuccesful.
any ideas of how to keep the webutil data block at the end of the data block tree but not appearing in front of the form ??
i hope i did not confuse you with my explanation.
thank you,
George

Oracle Forms is Heirarchical. It uses the order in which items appear in the Object Navigator as the "Default" navigation order. Items like WebUtil should always appear after other objects (such as Data Blocks, Canvases and Windows). Making sure objects are listed in the right order in the Object Navigator is typically all you need to do, however, you could use the Form Module First Navigation Data Block property to override the default heirarchy (as MLBrown suggests) as well as write code in a When-New-Form-Instance trigger to Hide the WebUtil canvases and direct the form to the desired starting point (first navigation block/item).
I personally, prefer to use the order of objects in the Object Navigator since this does not require any lines of code or the setting of properties.
On a side note, it is always good to post your Forms version (eg: 10.1.2.0.2 versus 10g) when posting a Forms question. :)
Craig...

Similar Messages

  • Slow Problems with Oracle Forms 10g and Oracle Database 11g

    Hi, I wonder if there is a compatibility problem between Version 10.1.2.0.2 32 Oracle Forms and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production. This is because my application runs correctly on a version of Oracle Database 10g, and when we migrated the database to an Oracle Database 11g, slowness problems came out.
    Thanks.

    We have the same issue happening with our custom forms and with some of the standard forms in EBSO. So far we have found that the form invoking a view causes ridiculous slowness in opening the form (40 mins). Using a table access has shortened the open time significantly. At this time Oracle DBAs at OOD have no clear idea why it is happening.
    we are on 11.1 database with 11.5 EBSO
    Edited by: user3223867 on Feb 4, 2011 7:55 AM

  • Integration problem between oracle forms 10g and oracle report 10g

    Hi!
    I've got any error message "Unable to connect to the report server "server name"" when a oracle report is run using run_report_object in the oracle form under oracle form developer 10g. Please advise any settings are required in order to run the report. Thank you very much.
    Best Regards
    Pinga

    The report server is running as the report can be run via URL in the brower. However, it prompts out the error when it is called by oracle form using the run_report_object.

  • Another Problem with Oracle Forms 10G

    Hi Experts;
    Previously I posted here a problem was having with Oracle Form, when I tried to execute it (Internet Explorer has closed this webpage to help protect your computer. A malfunctioning or malicious add-on has caused Internet Explorer to close this webpage) .
    However, with the help of a good Buddy of this forum, I could solved the problem and my forms were running properly. But today, i don't know how it's giving me a new problem. When I choose Run Form, I get this error (website restore error. Internet Explorer has stopped trying to restore this website. It appears that the website continues to have a problem.)
    Any suggestion to solve this problem?
    Thanks for your help.
    Regards
    Al

    Hi Aamir;
    I didn't upate file, but I don't know how, but last sunday the google toolbar was installed. I removed it already yesterday, but now I got this problem, I don't know if the installation and then, removing this toolbar, updated any important file.
    The thing is, now I can not execute my forms.
    Regards;
    Al

  • Oracle Forms 10g & Oracle 10g DB Connection Problem

    Toady i have installed oracle forms 10g and oracle 10g db when i run my form it gives me this error how can i resolve it
    "ora-12154 tns could not resolve the connect identifier specified"
    Here are the values in forms 10g tns
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
              IMS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = IMS)
    and here the values of forms 10g SQLnet
    # sqlnet.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
    (description =
    # (address=(protocol=tcp)(host=localhost)(port=1383))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (connect_data=(rpc=on))
    What changes should i make to overcome this problem.

    "ora-12154 tns could not resolve the connect identifier specified"The problem is local to the Forms Home, probably in tnsnames.ora (seems that there are tabs in IMS entry name). Carefully check it.$ oerr ora 12154
    12154, 00000, "TNS:could not resolve the connect identifier specified"
    // *Cause:  A connection to a database or other service was requested using
    // a connect identifier, and the connect identifier specified could not
    // be resolved into a connect descriptor using one of the naming methods
    // configured. For example, if the type of connect identifier used was a
    // net service name then the net service name could not be found in a
    // naming method repository, or the repository could not be
    // located or reached.
    // *Action:
    //   - If you are using local naming (TNSNAMES.ORA file):
    //      - Make sure that "TNSNAMES" is listed as one of the values of the
    //        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA)
    //      - Verify that a TNSNAMES.ORA file exists and is in the proper
    //        directory and is accessible.
    //      - Check that the net service name used as the connect identifier
    //        exists in the TNSNAMES.ORA file.
    //      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
    //        file.  Look for unmatched parentheses or stray characters. Errors
    //        in a TNSNAMES.ORA file may make it unusable.
    //   - If you are using directory naming:
    //      - Verify that "LDAP" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Verify that the LDAP directory server is up and that it is
    //        accessible.
    //      - Verify that the net service name or database name used as the
    //        connect identifier is configured in the directory.
    //      - Verify that the default context being used is correct by
    //        specifying a fully qualified net service name or a full LDAP DN
    //        as the connect identifier
    //   - If you are using easy connect naming:
    //      - Verify that "EZCONNECT" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Make sure the host, port and service name specified
    //        are correct.
    //      - Try enclosing the connect identifier in quote marks.
    //   See the Oracle Net Services Administrators Guide or the Oracle
    //   operating system specific guide for more information on naming.
    $

  • How to do this in oracle forms 10g

    hi all,
    any idea about how to format a drive using oracle forms 10g and shutting down the remote pc and a personal pc using oracle forms 10g.
    i am using windows XP2 as os.
    please replay..

    Hi Inol and Weiden,
    thanks for your help,
    i have cretaed a form xyz.fmx with a button , i wrote in when-button-pressed and also attached the default webutil.pll(which is in forms path) library in attached-library section
    Client_host('cmd c/ shutdown -i');
    but my problem is that when i run the form i am getting error that
    FRM-40039: Cannot attach library webutil.pl while opening form xyz.fmx.
    Cause: The given library is attached to the form but
    cannot be located in the search path for PL/SQL libraries.
    Action: Make sure that the given library can be found
    and that it has read permissions set.
    Level: 99
    Type: Error
    i think i have to configure the webutill.pll but i don't how to configure
    can you tell me how to configure the webutil.pll file..
    please reply..

  • Getting Error when running oracle form 10g

    Hi all, i have a problem when i run oracle form 10g.
    in the applet show like this :
    Loading http://abc:8889/forms/java/frmwebutil.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 10.1.2.0
    Loading http://abc:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://abc:8889/forms/java/jacob.jar from JAR cache
    Loading http://abc:8889/forms/java/printtext.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.TextFieldItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Can anybody help me how to solve this problem ?
    Thanks,
    Iwan

    Loading http://abc:8889/forms/java/printtext.jar from JAR cache
    This tells me you are using a 3rd party or locally developed Java Bean to perform some type of print function. Is this correct?
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.Does your printtext.jar Java Bean need to open an HTTP connection in order to print?
    Have you been able to print in the past using this Java Bean? Where did you get the Java Bean?
    RegisterWebUtil - Loading WebUtil Version 10.1.2.0Your form appears to be using WebUtil. Has it been successfully configured?
    Honestly, you need to list the following minimum information when you post a question; it gives us all or most of the information we need to help you and it eliminates the need for us to ask for this information. Please always include:
    * Forms Version (eg; 10.1.2.0.0 not 10g)
    * Java Version
    * Client OS version
    * What you were doing when the error occured.
    Craig...

  • How to read a Value from Excel Cell into Oracle Forms 10g with Java

    Did any one Implamented a Java PJC to integrate Excel on Oracle Forms 10g?
    I Open Excel Applikation.
    Open a File like c:\import_test.xls
    read a number 05 from A:1 (i get it as return value).
    Save a number in a variable in Forms 10g
    Can any one help my please?
    Thanks

    why don't you use webutil.
    it has package client_ole2 which allows you to have programmatic interface with excel application.
    this is especially useful if the excel to be read is available in the client.

  • Oracle forms 10G -Version 10.1.2.0.2 will it support timestamp data type ?

    Hi all,
    We are having database server - oracle 10g enterprise edition R2,
    forms - Oracle forms 10G -Version 10.1.2.0.2 on windows 2000 professional.
    We have created a table which has a column of type "timestamp",the following is the structure.
    CREATE TABLE  "STOCK_AREA_MASTER"
            (     "STOCK_AREA_CODE"     NCHAR(5)       NOT NULL    ENABLE,
                  "STOCK_AREA_DESC"     NVARCHAR2(40)  NOT NULL    ENABLE,
                  "RECORD_STATUS"       CHAR(1)        DEFAULT 'A',
                  "USER_ID"             NVARCHAR2(20)  DEFAULT USER,
                  "TIMESTAMP"           TIMESTAMP (6)  DEFAULT CURRENT_TIMESTAMP)
    [\code]
    We  tried to invoke this table(stock_area_master) using database block wizard in forms 10g,we were expecting to see the columns in this table,but we got the following error
    FRM -10095 - Assertion failed
    on seeing the forms help for the error FRM-10095,We are getting the following message
    FRM-10095: Assertion failed in %s, at %s:%d. Cause:  An internal inconsistency was detected. Action:  Contact an Oracle support representative, and proceed with caution
    We have the following concerns.
    1.) is it possible to have datatype "timestamp" in forms 10g,our researches show that we can manipulate using datatime datatype in forms,our requirement is have to precision of 6 digits(millisecond - format - dd/mm/rr hh24:mi:ss:ssss),we are able query and view precision to the tune dd/mm/rr hh24:mi:ss:ssss,but we are unable to insert/update to this precision.
    We would appreciate if some one could throw some light on the above.
    Thanks in advance
    Regards
    Mohan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Mohan,
    Hm. Strange.
    I have reproduced the problem in my environment.
    I have also found, that building the block manually, seems to work, as long as you define the item with datatype Char in Form Builder. Inserts and updates using a value like "22-AUG-06 11:10:11,647354 AM" worked fine for the timestamp item.
    You may want to enforce some dateformat. I don't know whether that will work.
    Good Luck!
    Remco

  • DDE.initiate is not working in oracle forms 10g

    Previously i have used DDE for uploading the data from excel to DB in oracle forms 10g.now it is throwing non-oracle exception at DDE.intiate.
    could you please help me to solve this issue.
    i use the below code
    APPLICATION := OLE2.CREATE_OBJ('EXCEL.APPLICATION');
         ole2.set_property(application,'Visible','false');
         WORKBOOKS := OLE2.GET_OBJ_PROPERTY(APPLICATION,'WORKBOOKS');
         ARGS := OLE2.CREATE_ARGLIST;
         OLE2.ADD_ARG(ARGS,:PARAMETER.P_SERVER_FILE_NAME);
         WORKBOOK := OLE2.GET_OBJ_PROPERTY(WORKBOOKS,'OPEN',ARGS);
         OLE2.DESTROY_ARGLIST(ARGS);
         WORKSHEETS := OLE2.GET_OBJ_PROPERTY(WORKBOOK,'WORKSHEETS');
         WORKSHEET := OLE2.GET_OBJ_PROPERTY(APPLICATION,'ACTIVESHEET');     
         M_CONVID := DDE.INITIATE('EXCEL',:PARAMETER.P_SERVER_FILE_NAME);

    Hello,
    Do not use DDE.intiate.Comment that line.As per your code the file is already open.
    Here is a good example in this metalink note:
    How to Read Data from an EXCEL Spreadsheet into a Form Using Webutil Client_OLE2 (Doc ID 813535.1)
    Regards,
    Alex
    If someone's answer is helpful or correct please mark it accordingly.

  • How to Install Oracle Forms 10g (9.0.4) Demos

    Hi.
    My forms version is :
    Forms [32 bits] Versión 10.1.2.0.2 (Producción)
    Oracle Toolkit Versión 10.1.2.0.2 (Producción)
    PL/SQL Versión 10.1.0.4.2 (Producción)
    I'm trying to install Oracle Forms 10g (9.0.4) Demos. Everything works fine until step 5. I can even access the forms demos home page(changing forms90 to forms). However when i try to access any link, i get the following error:
    404 Not Found Resource /forms90/f90servlet not found on this server
    What's wrong?. I believe forms is pointing to the wrong direction:
    http://mluis:8888/forms90/f90servlet?config=reusable_picklist
    For example to show the tick image on step five on install guide, I have to replace
    http://mluis:8888//forms90/formsdemo/images/tick.gif
    for http://mluis:8888//forms/formsdemo/images/tick.gif
    This is because I don't have a forms90 directory in my Oracle_Home. I changed forms90 for forms in formsdemo.env. But still doesn't work. So my question is
    - Are these forms demos built for my forms version?.
    - If not, what do i have to change in order to make things work. I'm really interested in some special features like PJC, Webutil etc.
    - The configuration is still pointing at a forms90 directory. I need to change it to just forms but don't know which files.
    Thanks in advance ...!

    Hi,
    Have you resolved this issue? I have gotten a bit further.
    You also need to change any f90xxxxxx to frmxxxxxx
    But the servlet cannot seem to find any of the demo forms.
    I assume a path issue, but cannot seem to find it.
    Any clues?
    Thanks.

  • Display in "Oracle Forms 10g" a BLOB item

    Hey, anybody know if there was any java component or a way to display in "Oracle Forms 10g" a BLOB item, which contains no images, but files of type PDF, DOC, TXT ....
    Thank you

    <p>The Enhanced HTML browser bean allows showing amost everything in its window. See this screen shot</p>
    So you could download your stored document onto the AS or the client with the Webutil FILE_TRANSFERT package, or you could envisage top develop
    a nice PL/SQL procedure that would send the content via the UTL_HTTP package.
    Francois

  • Bad bind variable error in oracle forms 10g

    i have a created a table in oracle database 10g
    create table myimage(image_id number, image_name BLOB);
    i want insert an image and retrieve an image through programing(don't want block level) in oracle forms 10g
    without using java beans(and finely working in both windows XP2 and Solaries)
    how can i do this please can anybody give me the source code to do this because i am new in oracle forms.
    i need a immediate replay to this answer why because i have urgent requirement on this in my web erp project

    You can use WEBUTIL to do so, but
    without using java beans(and finely working in both windows XP2 and Solaries)WEBUTIL also contains javabean. I don't know why you have this restriction, i'd say you won't succeed without any java-bean.

  • Where is default icons location in oracle form 10g

    hi,
    Can anybody please tell me, where is the default(given below) icons location in oracle form 10g. I want to user that icons in my form.
    Image: !c:\icons.gif!
    thanks
    mohan

    Hi,
    Is your problem solved?
    This issue occurs because gif images by default are not still images. These are graphical interchange images, i.e. images depicting some kind of action/motion.
    If I am not wrong then just to test this out if you open the gif image you are looking at, in pbrush then image will appear in a corner. Now if you modify that image such that you copy only the icon in the corner and then save the copied icon in a new file in gif format then you will be able to see that image in the centre of button, rather over complete button.
    Hope this helps!
    Av.

  • Query execution taking longer time in Oracle form 10g !!

    Hi,
    I'm generating a report through Oracle form ( forms 10g) and its taking 3-4 hours to finish. But when I run the same report query in (Oracle 11g) database, it gets executed in less than 40 mins.
    The form takes only from and to date as input.
    I tried hardcoring the date in the Oracle Form and then the report takes only 40 mins to generate.
    I tried various approaches like changing the datatypes of form variable and correspondingly changing the query, but met with no success.
    When the report in run through the form , we can see the query getting run in backend for nearly 3 hrs !!! tats really confusing !!
    Please let me know, if anybody got any idea on this problem??

    Hi,
    Even I am facing the same problem above. I am trying to fetch results from a cursor which has subquery running over the db link and placing the results set in a csv file using client_io package. When I run the cursor directly from database (11G), it takes not more than 3-4 min to get the results back. But when I run the same cursor via oracle forms 10G, the query in local database keep on waiting for hours to get results from remote database with "SQL*Net message from dblink". Session on local database remains in active status with state as "Waiting" while the session on remote database goes inactive with state as waiting for event "SQL*Net message from client"
    This is confusing me since the same query when ran directly from backend fetches results soon.
    Please let me know if anyone can help here
    Thanks
    Garima

Maybe you are looking for

  • Simple button highlights in PSD menu not working properly in Encore

    I'm having some trouble making even basic menus this week - I'm working on a couple of projects that need simple menus on their DVDs, but I can't get them to work. For one project, it's a simple menu with a photo as the background and two buttons - '

  • How to use the distinct key in formula field in SAP Crystal Reports

    I want to use the distinct key in formula field in SAP Crystal reports. When i'm using it shows an error. Please suggest me....

  • Error while migrating 10G BPEL to 11G

    Hi All, I am trying to migrate BPEL 10G (10.1.3.5) project to 11G (11.1.1.5) using JDEV. I am opening the project in JDEV 11G and its taking forever, its also not giving any error. Has anyone faced issue like this. Please advice. Thanks Yatan

  • How to get rid of character (A, B or C) in a field after space.

    HI All I have a field of length 18 i.e char 18 (MATNR) It can have values as below      u2018AE10036   Bu2019                                                      u2018AE10091  A u2019                                                      u2018AE10116

  • Filtering on Multiple wildcards

    Hi. I'm using SSRS 2008 and I've created a report of some computers and I added a parameter to filter by computer name using a wildcard. Eg Computer*  This is filtered using the Filter on the dataset so the Expression = Computer_Name  Operator Like V