Forms 10g R2 10.1.2.0.2 hangs on startup on XP with SP2

Hi all,
I am having problems starting Forms 10g on my Toshiba Notebook with 1G RAM. The CPU usage for csrss.exe goes up to 100% after the splash screen is displayed and the form hangs.
All other products (Reports, sql*plus etc.) starts without any problem.
Is this an OS issue or did I forget something during the installation?
I'll appreciate your help.
Fidix

maybe the suggestion in this post can help?
see Running local OC4J and Webforms hangs

Similar Messages

  • Key Mapping in Forms 10g

    Dear All,
    I have migrated forms 3.0 in unix to forms 10g in windows 2003 server.
    In my older version, '+' key is mapped to do COMMIT. I want to map the same key in forms 10g. i tried the same in my frmweb.res. Pls find the mapping done by me below.
    *107 : 0 : "Add" : 36 : "Commit"*
    This works fine.
    The Issue is ... My cursor is in a text item .... I entered some data and press " + " key to save. The data is saved but at the same time the data in the text item is erased and + is getting replaced in the text item. I dont want my data to be erased and replaced with "+" symbol.
    How to map the "+" just for COMMIT and should not replace the data in the text item ?
    Can anyone help me to solve this issue...
    Thanks in Advance
    Sharf

    Unfortunately, sometimes the role of the developer is to educate the user/management what can/can't and should/shouldn't be done. If I were in your postition, I would make every effort to educate the user/management this this is a REALLY bad idea and encourage them to use the standard key mapping or use a modifed key mapping that uses just the F-Keys.
    The problem you have to overcome is that you have to not only tell Forms to do something different when the '+' key is pressed, but you have to have a listener in your application that is listening for the '+' key and supress the '+' character. To my knowledge, this cannot be done with native Forms built-ins. You would have to write your own Java solution (JavaBean or Pluggable Java Component [PJC]) to suppress the '+'. I have found that if you can provide the user/management with a cost estimate associated with the effort needed to code a particular feature. Once they realize the level effort and more importantly the cost associated with coding a particular feature, they typically will change their mind and see reason.
    I know this is not what you wanted to hear, but I hope it will help anyway. :(
    Craig...
    Edited by: CraigB on Aug 2, 2010 2:05 PM
    Edited by: CraigB on Aug 2, 2010 2:07 PM

  • Oracle reports 6i to Oracle forms 10g migration

    Hi,
    I have .rdf files which were created on Oracle Reports 6i. I would like to migrate the .rdf files into Oracle Reports module which is present as a part of Oracle Forms 10g to generate PDF output.
    Please let me know the detailed steps to be followed as I am a total newbie. Also I need to generate these reports on demand from a java 5 application (JSF 2.0).
    Currently for ORacle reports 6i, I have the following code in my java application
    rwrun60.exe g:\tomcat33\webapps\reports\web-inf\src\null userid=***/*** destype=FILE desformat="pdf" paramform=NO printjob=NO batch=YES desname=temp.pdf
    1. What would be the equivalent for reports in ORacle Forms 10g ? I know there is an Oracle Apps server where ther report services reside. How to I invoke my report from my java application (residing on a weblogic server 10.3.6)?
    2. What ould I do with the 6i .rdf files to upgrade them to 10g ?

    I am trying to call an Oracle report i.e .rdf (which is located on the Oracle  App Server) from my java EE 5 (JSF) application. The Oracle  App server is Oracle Application Server 10g Release 2. I assume Oracle report generation capability is available in this release.  I need to invoke the report from my Java JSF application on demand (whenever the user clicks a button on the web browser page, the report should appear on the browser as PDF) . My java application resides on Linux weblogic server.
    Please let me know how it can be done ? I see rwclient.sh and another method to directly invoke using a URL. How do I do it on java, would a request.redirect() to the URL work ?
    Also for hiding the params in the URL. keys need to be configured on the Oracle server right ?
    Also if we use rwclient.sh or the URL based invocation, would there be any issue in concurrency when multiple users request the same report at the same time ?

  • Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)

    Hi everyone,
    I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
    The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
    Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
    Thanks

    duplicate
    Re: Oracle Forms 10G not working as Oracle Forms 6i

  • Forms 10g installed and running on Windows Vista

    <font color=0000FF>Update 12-Dec-2008: </font>Oracle has published NOTE 559067.1 -- How to Install Developer Suite 10.1.2.0.2 - hence 10.1.2.3 - on Windows Vista, 24-OCT-2008 with some installation help.
    <font color=0000FF>Update 07-July-2008: </font> Added text at the bottom showing how to find patchsets for Forms 10g.
    <font color=0000FF>Update 29-May-2008: </font> This thread was started in November, 2007.  In January, 2008, Oracle released Patch 3 for Forms 10g, which makes Forms 10g compatible with Windows Vista.  As time permits I'll try to keep the information in this post up to date.   Updated information will be inserted <font color=0000FF>as blue text.
    </font>
    <font color=0000FF>Original message begins here:</font>
    This is a second thread I am posting to outline the steps I have used to install Forms on a Windows Vista Home Basic laptop.   The other thread describes installing Forms 6i:
          Forms 6i installed and running on Windows Vista
    Please read through the initial part of that post for the background.  I realize Oracle has not certified Forms 10g to run on Vista, but the time has come for my associates and I to upgrade our old computers to new desktop/laptop platforms, and I would hate to acquire XP machines and be stuck with them for the next 5 years.  <font color=0000FF>(Note: Since first posting this message, Oracle has certified Forms 10g Patch 3 (version 10.1.2.3.0) to run on Vista)</font>  So after another person informed me that he had Forms installed and running on Vista, I went ahead and bought one.  I found that as long as I set the compatibility mode to run Forms programs as Windows XP (and a few other changes), Forms 6i and 10g run quite satisfactorily.
    <font color=0000FF>Update 29-Jan-2008: </font> Unfortunately, it turns out that the Forms 10g Builder running on Vista <font color=0000FF>had</font> a major flaw:   If you try to develop a form, the Builder will crash if you try to compile a procedure that calls another procedure in the form that has errors.  The problem is reported and described in this thread:  Error compiling a form under Vista
    <font color=0000FF>Update 12-Mar-2008: </font> Installing Patch 3 on Vista does not help with this problem -- the Builder still crashes in the same situation.
    <font color=0000FF>Update 25-July-2008: </font> Applying Patch 7047034 has corrected the problem.   See this link within this thread:   Forms 10g: Installing Patch 7047034 on Windows Vista
    Webutil note:  I am stuck in a Forms 6i client/server world, so all my forms must run in that environment.   Therefore I have not used any Webutil software, and I do not know whether that part will run under Vista.
    Internet Explorer note:  On Windows Vista, IE CANNOT be used to run the Web Forms runtime.  It crashes immediately when you try to run a form.  Instead, I can use either Firefox (Firefox 2, Firefox 3.0 Crashes with Forms 10g) or Netscape, as long as they are set to disable java.  <font color=0000FF>[ Correction:   IE7 on Vista now runs the Forms 10g forms.   You just need to add "?config=jpi" to the browser URL when starting the Web Forms session.   More IE/Vista info: [url=http://forums.oracle.com/forums/thread.jspa?threadID=642973]Vista JInitiator Problem ]</font>
    The Oracle Developer Suite download page:
        http://www.oracle.com/technology/software/products/ids/index.html
    Oracle Developer Suite Installation Guide:
        http://download.oracle.com/docs/cd/B25016_07//doc/dl/core/B16012_04/toc.htm
    The steps below are those I followed to install Forms 10g (version 10.1.2.0.2)
    I.  Preliminary system changes in Windows
    When I started installing, I got the following error message:    Install has encountered an error while
        attempting to verify your virtual memory settings.
        Please verify that the sum of the initial sizes of
        the paging files is at least 256 MB.To fix this:  Go to Control Panel, System and Maintenance, View amount of RAM and processor speed (under "System"),
    Advanced system settings (in left "Tasks" column), Advanced tab, Settings (under "performance"), Advanced tab:
    Virtual Memory shows a "Total paging file size for all drives: 2337MB.
    Click "change", Uncheck "Automatically manage paging file size for all drives"
    Click "custom size:", set Initial size to: 2048, Max to 4096
    Click set button, then OK, get message:The changes you have made require you to restart your computer before
       they can take effect.Restart the computer.
    II.  Installing Forms 10g
    1.  Download two files from Oracle:
        ds_windows_x86_101202_disk1.zip (626,122,752 bytes)
        ds_windows_x86_101202_disk2.zip (236,880,881 bytes)
    2a.  Before extracting, it is a good idea to shut down any virus protection software.  It can sometimes prevent some files from being created.
    2b.  Extract both into the C:\oracle directory, as disk1 and disk2.
    3.  Using Windows Explorer, change the properties of setup.exe in the C:\oracle\disk1 folder.  (In windows explorer, right click, properties, Compatibility tab.)   Change the compatibility to run as Windows XP (Service Pack 2).
    4.  Right click setup.exe and click "Run as administrator"
    5.  Select "Installation type" = Complete (1.11 GB)
    6.  Received this message:Windows Firewall has blocked this program from
    accepting incoming network connections.  If you
    unblock this program, it will be unblocked on all
    public networks that you connect to.
    C:\users\steve\appdata\local\temp\orainstall...
      2007-10-29_11-59-08am\jre\1.4.2\bin\javaw.exeI clicked "Unblock"
    7.  Received this message:  "Provide outgoing mail server information"  I entered the smtp mail server that I use.
    8.  A summary screen displayed showing 274 products under New Installations.
    I clicked the Install button.
    9.   Received this message:  You can find a log of this install session at:
    C:\Program Files\Oracle\Inventory\logs\installActions2007.....log
    10.  The installation completed.  Installed products shows Forms 10.1.2.0.2
    III.  After the install completed
    1.  Create a shortcut to the Forms 10 Builder on the Desktop.
    On the shortcut line, after the .exe, add *userid=userxxx/pwxxx@orcl* so Builder automatically logs into 10g database.  If you do step 4 below (creating an easily-accessible folder to use for your forms) change the "Start in" path on the shortcut so it points to that folder.  Otherwise, Forms Builder will not find referenced objects and PLL libraries when it opens a form.  Also do the same on the Start, All Programs shortcut for the Forms Builder.
    Edit:  After applying Patch 3, the following steps are not necessary.
    Set its compatibility to Windows XP.
    Set checkbox: "Run this program as as an administrator."  (Without this, FormBuilder will NOT open a PLL library.)
    Click the "Show settings for all users" and change values there.
    2.  Copy "Start OC4J Instance" icon to desktop.
    Set its compatibility to Windows XP.
    The first time it runs, I got a Windows popup to unblock program named Java.  I clicked "Unblock".
    3.  tnsnames.ora:
    Rename C:\oracle\DevSuiteHome_1\network\admin\tnsnames.ora
    to:  tnsnames_orig.ora
    If you created a tnsnames.ora file for Forms 6i, just copy it to the path above.  If not, do this:
    Create a new tnsnames.ora file, copying entries old file on my old laptop, which contains all the connections I use.
    Delete the old laptop entry, replace with new entry for the new local ORCL connection on new laptop from tnsnames file renamed from the c:\oracle\... ...\10.2.0\db_1\ path.
    4.  Optional:  Create an easily accessible folder to store fmb files:
    C:\users\steve\.1\fmb10
    You don't really want to keep drilling into C:\oracle\DevSuiteHome_1\forms, and then find your .fmb file among the several dozen oracle-supplied files.
    To create a folder named .1, you have to open a CMD.exe (Windows DOS) window, and type the Make Directory command:
    MD .1
    That will create the folder within the current directory -- mine defaults to C:\users\steve
    Note:  If you also need to use Forms 6i like me, DO NOT EVER open a .fmb file in the Forms 10 Builder from the Forms 6i folder.  If you compile it, or even worse, save the .fmb, Forms 6i *cannot ever* access the file.  Instead, always use the File Manager (Windows Explorer) to copy the fmb from the fmb6 folder into the fmb10 location.
    5.  Change the Forms 10g Default.env file using a text editor.
    This file replaces all the settings originally written to the Windows Registry (GREAT idea, Oracle!  I hate the registry.)  No more Regedit.  The default.env file is located at: (DevSuiteHome_1 path)\forms\server\default.env
    Locate line with:  FORMS_PATH= and add:
        ;C:\users\steve\.1\fmb10
    Add a new line:
    FORMS_MMAP=FALSE
    The above allows compiling an fmx while the form is running.
    Add a new line:
    FORMS_ROWLOCK_OPTIMIZATION=FALSE
    (This fixes Oracle bug number 3949854, which prevents automatic skipping if the same value is typed over another value. TAR 4806199.993 Automatic Skip failure...)  See bug 4068896
    Add a new Line:
    FORMS_RESTRICT_ENTER_QUERY=False
    This allows use of Query-Where window in enter query, after entering a colon in any input field.  Without this, Forms returns FRM-40367: Invalid criteria in field nnn in example record.  Oracle shut it down to prevent "sql injection" attacks.
    6.  Jiniator setup:
    Run file jinit.exe in C:\oracle\DevSuiteHime_1\jinit\jinit.exe
    It installs Jinitiator 1.3.1.22.
    I installed it in C:\oracle\JInitiator 1.3.1.22\
    For Firefox, make sure a copy of file \bin\NPJinit13122.dll resides in   C:\Program Files\Mozilla Firefox\plugins.
    For Netscape, the path is:  C:\Program Files\Netscape\Navigator 9\plugins
    7.   Browser settings
    See the note above about using Firefox 2 and not Firefox 3!
    In Firefox 2 go to:  Tools-> Options-> Content
    Uncheck the "Enable Java" checkbox
    --Firefox terminates if this is not done!
    Note:  After my system automatically installed updates to either java or Firefox, re-check the "Enable Java" setting.  I am suspicious that one of these installs re-enables java in the browser.
    Also note:  some web sites cannot display properly if java is disabled.  Example:  U.S. time website: http://www.time.gov   Use Internet Explorer to view these.
    In Netscape make the same changes as Firefox.  Without disabling java, it also terminates when you try to run a form.
    Creating a url to use in the browser:
    Try this:
        http://127.0.0.1:8889/forms/frmservlet
    If it does not work, change the 8889 port number as follows:
    Open file:  C:\oracle\DevSuiteHome_1\install\portlist.ini
    Note the number in line:
    Oracle Developer Suite HTTP port = 8889
    Use the number as the port number.
    You can also change the 127.0.0.1 to the computer name:
    Control Panel, System and Maintenance, See the name of this computer (under "System").  Mine is "steve-PC"
    So the alternate URL is:     http://steve-PC:8889/forms/frmservlet
    To try out the URL, start the OC4J instance set up above.  Then start either Netscape or Firefox, and enter the URL.  You should get a welcome screen.
    If the above URL works, start up the Forms Builder, and open Edit, Preferences.  On the General tab, uncheck the "Build before running" check box (optional).  On the Runtime tab, set the "Application Server URL to the url above.
    To run a real form, add this to the URL after frmservlet, (with no spaces):
        ?form={formname}&userid={userxxx}/{passwordyyy}@{connect-string}
    but replace the parts in curly braces with the appropriate values.  Example:
        http://127.0.0.1:8889/forms/frmservlet?form=ABC&userid=abc123/zyx@orcl
    Setting up Forms Builder to directly run a form in the browser:
    Run the Forms Builder.  Go to Edit, Preferences, Runtime tab.
    Set the Application Server URL to:
        http://127.0.0.1:8889/forms/frmservlet
    (or use whatever URL string you developed above)
    Set the Web Browser Location to:
        "C:\Program Files\Netscape\Navigator 9\navigator.exe"
    (or an equivalent to run the Firefox browser).
    8.  FORMSWEB.CFG file changes
    The file is located at:
    C:\ORA_DS_101202\DevSuiteHome_1\forms\server\formsweb.cfg
    I changed the following two lines in the file, but these are my personal preferences:
    separateFrame=true
    lookandfeel=Generic
    9.  FMRWEB.RES file changes
    For Oracle help:  Enabling Key Mappings
    The file fmrweb.res defines actions (triggers that run) when a function key is pressed while running Forms.  The one released has unix-style key mapping, but I prefer keys originally mapped for Windows PC Forms users. There is a fmrpcweb.res in the same folder that can be renamed to fmrweb.res.
    In the C:\oracle\DevSuiteHome_1\forms path, I renamed fmrweb.res to fmrweb_orig.res.
    I have a file that I prefer to use, so I put it into the folder as fmrweb.res. The contents are listed below. It is organized so the most important keys are listed alphabetically at the top (URFD column is the sort column), followed by a group of less-important keys.  These are keys that are available to users, but they either would not use, or are disabled within most forms.  The URFD column in the second set starts with a hex A0 character, which is a high-order space, so collates after normal alphabetic characters.  (Note: If you want to copy the text below and use it, the hex A0 character has been changed by the forum software to a space. So you would need to use a text editor with hexadecimal character capabilities to replace the space with the original character. )
    My file has special keys defined for F2 (I use it for a debugging Key-F2 trigger in my forms), and a "Cursor to Home" F12 function. All the rest are pretty much the same as in the released fmrpcweb.res file, only mine are organized alphabetically on the URFD column.
    The Web Forms fmrweb.res file is editable using any programming editor (NOT MS Word!!!). The old Client/Server key mapping file, fmrusw.res, could only be changed using the Oracle Terminal program (and it is a pain to use).
    Here is the main part of my fmrweb.res file:#
    #Jfn :Jmn:  URKS            :Ffn :  URFD
    #    :   : (User-readable   :    : (User-readable
    #    :   :  Key-sequence )  :    :  function description)
    118  : 1 : "Shift F7"       : 74 : "Clear Form"
    121  : 0 : "F10"            : 36 : "Commit"
    117  : 0 : "F6"             : 65 : "Create Record"
    10   : 1 : "Shift Enter"    : 82 : "Cursor to Home" # sdsu uses this
    123  : 0 : "F12"            : 82 : "Cursor to Home" # sdsu uses this
                                        #: --Alt+Home works, but leaves the Action (first
                                        #: --pull-down menu item) highlighted.  Press Esc or
    36   : 8 : "Alt Home, then Alt" : 82 : "Cursor to Home" #-- Alt again to clear highlight.
    117  : 1 : "Shift F6"       : 63 : "Delete Record"
    119  : 0 : "F8"             : 77 : "Execute Query"
    120  : 0 : "F9"             : 29 : "List of Values"
    9    : 0 : "Tab"            : 1  : "Next Field"
    40   : 0 : "Down-Arrow"     : 7  : "Next Record"
    9    : 1 : "Shift Tab"      : 2  : "Previous Field"
    38   : 0 : "Up-Arrow"       : 6  : "Previous Record"
    112  : 0 : "F1"             : 35 : "Show Keys"
    116  : 1 : "Shift F5"       : 69 : " Clear Block"
    116  : 2 : "Ctrl F5"        : 3  : " Clear Field"
    113  : 1 : "Shift F2"       : 80 : " Count Query Hits"
    112  : 1 : "Shift F1"       : 78 : " Display Error"
    114  : 0 : "F3"             : 73 : " Duplicate Item"
    115  : 0 : "F4"             : 64 : " Duplicate Record"
    69   : 2 : "Ctrl E"         : 22 : " Edit Field"
    122  : 0 : "F11"            : 75 : " Enter " # Causes validation, w/o cursor move
    118  : 0 : "F7"             : 76 : " Enter Query"
    81   : 2 : "Ctrl Q"         : 32 : " Exit"
    112  : 2 : "Ctrl F1"        : 30 : " Help"
    34   : 0 : "Page Down"      : 66 : " Next Set of Records"
    119  : 1 : "Shift F8"       : 79 : " Print"
    10   : 0 : "Enter/Return key": 27: " Enter/Next Field"
    33   : 0 : "Page Up"        : 12 : " Scroll Up"
    116  : 0 : "F5"             : 87 : " F5 Key for special uses"
    #121 : 3 : "Shift Ctrl F10" : 82 : " Function 0" #--disabled.  Cursor to home defined above
    112  : 3 : "Shift Ctrl F1"  : 83 : " Function 1"
    113  : 0 : "F2"             : 84 : " Function 2"
    113  : 11: "Ctrl Alt Shift F2":95: " List Tab Pages" #<-REQUIRED, or F2 cant be assigned
    114  : 3 : "Shift Ctrl F3"  : 85 : " Function 3"
    115  : 3 : "Shift Ctrl F4"  : 86 : " Function 4"
    117  : 3 : "Shift Ctrl F6"  : 88 : " Function 6"
    118  : 3 : "Shift Ctrl F7"  : 89 : " Function 7"
    119  : 3 : "Shift Ctrl F8"  : 90 : " Function 8"
    120  : 3 : "Shift Ctrl F9"  : 91 : " Function 9"<B>Finding Forms 10g Patchsets</B>
    Here is how to do the search: Log into metalink ( https://metalink.oracle.com ), then click on the Patches & Updates tab, then Simple Search.
    In "Search by", select Product or Family. Enter "Developer Forms" in the box.
    Then click the Release choices, and select "iAS 10.1.2.3"
    Patch Type should be "Patchset/Minipack"
    Platform or Language should be "Microsoft Windows (32-bit)"
    Click Go, and the Forms 10g patch should show up. As of July, 2008 the only one available is: [url=
    https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5983622&release=1710123&plat_lang=912P&patch_num_id=943599
    ]5983622
    Edited 2008-12-12 to add a link to Oracle Note 559067.1  and added the fmrweb.res file listing.
    Edited 2008-10-28 to change text format to work better within new forum format
    Edited 2008-7-7 to add patchset search information.
    Edited 2008-4-21 to modify information.
    Edited 2008-3-6 to add information.
    Edited 2008-5-29 to update information.

    I followed your instructions and installed Developer Suite 10G on Windows Vista Home Premium edition. I have Oracle 11G DB running on the same machine.
    Two points, Steve:
    1. When I tried to set the maximum virtual memory to 6110 an error message displayed from Windows and told me that I can't set the maximum virtual memory to more than 4096. I set it to 4090 and it worked and I got nothing wrong during the installation process.
    2. After installing JInitiator and disabling Java on Firefox I called the http://127.0.0.1:8889/forms/frmservlet page and everything seemed to be OK because the Oracle Forms Services logo appeared and then a successful installation message appeared , but as I clicked (ok) to continue a gray screen appeared inside the browser (like the one displayed when you try to run a Java applet inside a browser) and then I wait to death till something appears but sadly nothing. I just get a blank gray screen inside my Firefox browser.
    Do you have any idea what to do to solve the problem?
    Regards

  • How to FTP a file from client machine to database server using forms 10g

    Hi
    I want to ftp a file from a client machine to the database server machine using forms 10G (or PL/SQL).
    could you please tell me how can I do this
    Regards

    hi
    How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
    Solution
    Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
    here are steps to get a small test form running, using WebUtil 1.06.
    Note: Oracle_Home is used as an alias for your real oDS ORACLE_HOME.
    Feel free to copy this note to a text editor, and do a global find/replace on
    Oracle_Home with your actual value (no trailing slash). Then it is easy to
    copy/paste actual commands to be executed from the note copy.
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
    and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    2) Copy or move jacob.jar and jacob.dll
    C:\webutile is the folder where you extracted Jacob, and will end in ...\jacob_18
    cd C:\webutile
    copy jacob.jar Oracle_Home\forms\java\.
    copy jacob.dll Oracle_Home\forms\webutil\.
    The Jacob staging area is no longer needed, and may be deleted.
    3) Sign frmwebutil.jar and jacob.jar
    Open a DOS command prompt.
    Add Oracle_Home\jdk\bin to the PATH:
    set PATH=Oracle_Home\jdk\bin;%PATH%
    Sign the files, and check the output for success:
    Oracle_Home\forms\webutil\sign_webutil Oracle_Home\forms\java\frmwebutil.jar
    Oracle_Home\forms\webutil\sign_webutil Oracle_Home\forms\java\jacob.jar
    4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
    you may skip this step. Otherwise,
    Create a schema to hold the WebUtil stored code, and privileges needed to
    connect and create a stored package. Schema name "WEBUTIL" is recommended
    for no reason other than consistency over the user base.
    Open Oracle_Home\forms\create_webutil_db.sql in a text editor, and delete or comment
    out the EXIT statement, to be able to see whether the objects were created witout
    errors.
    Start SQL*Plus as SYSTEM, and issue:
    CREATE USER webutil IDENTIFIED BY [password]
    DEFAULT TABLESPACE users
    TEMPORARY TABLESPACE temp;
    GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
    CONNECT webutil/webutil@rcci
    @Oracle_Home\forms\create_webutil_db.sql
    -- Inspect SQL*Plus output for errors, and then
    CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
    Reconnect as SYSTEM, and issue:
    grant execute on webutil_db to public;
    5) Modify Oracle_Home\forms\server\default.env, and append Oracle_Home\jdk\jre\lib\rt.jar
    to the CLASSPATH entry.
    6) Modify Oracle_Home\forms\server\formsweb.cfg insde [default] add :
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
    archive=frmall.jar
    also add :
    [webutil]
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=frmall_jinit.jar
    WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
    archive=frmwebutil.jar,f90all.jar
    lookAndFeel=oracle
    7) Modify Oracle_Home\forms\server\webutil.cfg and add :
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    8) Start the OC4J instance
    9) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
    Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
    It is important to generate the PLX, to avoid the FRM-40039 discussed in Note 303682.1
    If the PLX is not generated, the Webutil.pll library would have to be attached with
    full path information to all forms wishing to use WebUtil. This is NOT recommended.
    10) Create a new FMB.
    Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
    There is no need to Subclass the WebutilConfig object.
    Attach the Webutil.pll Library, and remove the path.
    Add an ON-LOGON trigger with the code
    NULL;
    to avoid having to connect to an RDBMS (optional).
    Create a new button on a new canvas, with the code
    show_webutil_information (TRUE);
    in a WHEN-BUTTON-PRESSED trigger.
    Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    11) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
    the "Application Server URL" is empty.
    Then append "?config=webutil" at the end, so you end up with a URL of the form
    http://server:port/forms/frmservlet?config=webutil
    12) Run your form.

  • 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..

  • Calling Report from Menu (Oracle Forms 10g)

    We have the applications in Forms6i & Reports 6i (Client Server) and migrating to Forms 10g and Reports 10g. We have the menu, from that menu we are calling all the forms and Reports. For especially Reports earlier we user RUN_PRODUCT but now 10g it is not working. How can call the report using RUN_REPORT_OBJECT
    Important things we have some dynamic parameters (input) to the each report. That means when i called the report from the menu i need to get first parameter form to take the parameters and then can be run the report.

    Here is the code to call report from menu in 10g
    DECLARE
    pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep varchar2(100);
    v_server VARCHAR2(100);
    rep_status varchar2(100);
    v_host VARCHAR2(100);
    BEGIN
         select rep_server into v_server from reports_data;
         select machine into v_host from reports_data;
    pl_id := Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_id) THEN
         Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('tmpdata');           
    Add_Parameter(pl_id,'P_C_CODE',TEXT_PARAMETER,:GLOBAL.COMPANY);
    Add_Parameter(pl_id,'P_B_CODE',TEXT_PARAMETER,:GLOBAL.BRANCH);
         repid := find_report_object('REPORTOBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_VOUCHER_ENTRY.RDF');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
              v_rep := RUN_REPORT_OBJECT(repid, pl_id);
              rep_status := REPORT_OBJECT_STATUS(v_rep);
              WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
                   LOOP
                        rep_status := report_object_status(v_rep);
                             message('Running');
                   END LOOP;
              IF rep_status = 'FINISHED' or rep_status is NULL THEN
                   --Display report in the browser
                   WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
              ELSE
                   null;
         END IF;
    END;

  • DB link is not working in forms 10g

    Hi,
    I have to different machines with DB Oracle 10g and Oracle 9i. I have created dblink to access data from Oracle 9i from Oracle 10g. This DB link is working perfectly from sql. but when i am using this dblink in form 10g. it is giving following errors.
    Here it is compiling post-query trigger.
    my query is select count(*) into var1 from CL_PASS_MASTER@ICLC2CISF .
    Compiling POST-QUERY trigger on form...
    Compilation error on POST-QUERY trigger on form:
    PL/SQL ERROR 0 at line 0, column 0
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [55916]
    ORA-02063: preceding 2 lines from ICLC2CISF
    the same query is working from sql prompt.
    Please help me..

    +"How about if you create a synonym in the back-end using db link?+
    +create synonym syn_CL_PASS_MASTER for CL_PASS_MASTER@ICLC2CISF;+
    +and use the synonym in post-query. "+
    + 1
    Francois

  • TABLE_FROM_BLOCK is not working in forms 10g ??????

    Hi all,
    How to use TABLE_FROM_BLOCK in forms 10g. its working in forms 6i .
    the same form is not working in 10g . i got this error.
    frm-40933 Cannot populate table because datatype is incorrect.
    pls help me
    Regards
    Gopinath M

    According to Metalink's Developer 2.1 Release Notes (Doc ID #90090.1), section 4.2.1, "TABLE_FROM_BLOCK Built-In":
    DO NOT use the TABLE_FROM_BLOCK built-in described in the
    documentation. It is reserved for internal use only. No support
    for this built-in will be provided under any circumstances.
    If you used this built-in, you will need to recode your from(s) for 10g.
    Message was edited by:
    Mark Roberts

  • Batch procedure in Forms 10g, calling rdf and send by mail

    Hi all,
    I need your advice regarding my task: i have a table with invoices of some clients. I have created a report in Oracle Reports 10g R2, so to have a pdf with all the data from this table.
    I have created a form in Forms 10g R2, displaying in a screen one field, where the user can choose the date of invoice. Then i will query by that date all my invoices in that table, and then i want to create a procedure in Forms, so that for every line in that table with the invoice date just chosen i will run HOST(rwrun ... all my parameters).
    My questions:
    1. I need to read some more about how to create a custom xml so to pass to my rwrun, and depending on the records fetched in my cursors in Forms 10g, i will pass a xml variable to my reports, so i will get the data from Forms 10g in the report created in Oracle Reports 10g. Is there any way that i can grep the errors? I need to create some insertions based on succes on failure, how can i accomplish this?
    2. Is the above described scenario way to complicated to loop throuh a cursor, create a pdf, and mail the pdf until the cursor is totally fetched? Do you recommend me a simpler way to accomplish this task?
    Thank you so much,
    Michael.

    Hello,
    I have a report with all my clients, with their email addresses in the same report. Each client as unique account number or invoice number.
    So i want to burst and distribute each invoice to the corresponding client:
    1. I have set REPEAT ON: INVOICE in oracle reports.
    2. From Oracle Reports, i click on Distribution list, and in the DESNAME i type email_address (which is the column from the table with the invoices).
    3. Then, File >> Distribute. Says: distribution completed succesfully, but nothing happens.
    Question:
    1. Where am i mistaking?
    2. Is there any log activity file that i could see what the application is doing, step by step?
    Thank you,
    Michael

  • Migrating forms from 6i to forms 10g

    Hi all,
    We plan to migrate the current forms 6i to forms 10g. Can you please suggest/advise the advantages of forms 10g to that of forms 6i.
    thanks in advance
    Chettarjee

    Hi
    the one main big advantage is that you will have Oracle support in 10g. 6i is not supported any more. Other benefits are 10g is more open to Java . You can call out to Web service and java apis. REfer to the forms otn page for more 10g features.
    Rgds
    Arvind Balaraman

  • 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.

  • Re: Opening a pdf file through form 10g

    Dear Mark
    I have downloaded the PDFviewer.zip file and followed all instructions.
    I user Oracle forms 10g.
    The forms runs in explorer but pdf file not shown, nor I see the navigation bar.
    Tried my level best but no success.
    Please guide me what mistake I am doing.
    Looking forward for your kind co-operation
    Qazi

    I understand, often people post in old threads not realising that they are old.
    I think that it is difficult to understand how to helpp you without more details of what you did (ie which files you changed and how), and what debugging you have then performed to check which parts of the solution are working.
    rgds
    Tony

  • How to fetch data in Excel throuth oracle forms 10g on client machine

    I am using developer suite 10g forms and i want to fetch data in excel through forms 10g on client machine
    presently i m using OLE for fetching the data in excel , it is working fine but it generates the excel file on server machine and i want get the output excel on the client machine. Is there any parameter to set the destination {Server or Client} which decides the location of output file. If such is the case please let me know or please suggest what should i do. Please help me with proper solution.
    thanks
    Manoj

    If you have an "urgent" issue, I highly encourage you to contact Oracle Support. The forum probably isn't going to be your best source for "urgent" issues.
    http://www.oracle.com/us/support/oracle-support-services-359636.html
    https://support.oracle.com
    This will be especially important if you are new to any of the products as you will likely need documentation and/or product updates in order to ensure the most stable environment possible.
    There are a few publicly available documents which may help to get you started. In any case, these are just examples. They may or may not work to your liking. Further, in some cases they may not work at all. Many of the examples online are often outdated and do not function exactly as documented against other versions. Here is one:
    http://www.oracle.com/technetwork/developer-tools/forms/howto-ole-090332.html
    Additional documentation for using WebUtil is included in the Forms Builder online help. An update to the Builder Help files can be downloaded from here. Be sure to carefully review the included ReadMe before attempting to use them.
    http://docs.oracle.com/cd/B25016_08/doc/dl/web/forms_help/frmhelp_update.zip

Maybe you are looking for