Forms 10g crashes on XMLType.createXML()

Hello,
I'm using Forms 10g services for calling a web service, I'm using standard soap request / respond function :
function myfun() returns varchar2 is
  soap_request varchar2(30000);
  soap_respond varchar2(30000);
  http_req utl_http.req;
  http_resp utl_http.resp;
  resp XMLType;
begin
soap_request:='<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
http_req:= utl_http.begin_request (url, 'POST', 'HTTP/1.1');
utl_http.set_header(http_req, 'Content-Type', 'text/xml');
utl_http.set_header(http_req, 'Content-Length', length(soap_request));
utl_http.set_header(http_req, 'SOAPAction','');
utl_http.write_text(http_req, soap_request);
http_resp:= utl_http.get_response(http_req);
utl_http.read_text(http_resp, soap_respond);
utl_http.end_response(http_resp);
resp:= XMLType.createXML(soap_respond);
resp:= resp.extract('/soap:Envelope/soap:Body/child::node()', 'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"');
resp:=resp.extract('ns1:MyResponse/MyReturn/text()','xmlns:ns1="urn:wslice_vstv"');
return resp.getClobVal();
end;soap_respond looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:wslice_vstv" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:MyResponse>
<MyReturn xsi:type="xsd:string">testno# testname# testname2# testname3# testname4# </MyReturn>
</ns1:MyResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>Forms crashes on resp:= XMLType.createXML(soap_respond) with error:
FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration.
Please look into the web-server log file for details.
Details...
Java Exception:
oracle.forms.net.ConnectionException: Forms session <92> abourted: unable to communicate with runtime process.
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)
Does anyone have any idea why this happens? There is no xmlparse error or something similar, just what I wrote above.
Thanks,
Jelena

Hello,
1.) You missed out important informations like database and forms versions
2.) where did you write this? dbms_output.put_line will not display anything in forms (unless you get the lines you put on the buffer back with get_lines which is kind of useless in your case)
3.) You might want to read all responses; here:
Jelena Stankov wrote:
"Forms is an old product and does not support all the new PL/SQL database types. If you can't see the datatype in the list displayed for 'Data Type' for a form's item then you most probably won't be able to use it in a form." (http://www.orafaq.com/forum/t/128146/2/)
is the solution to your problem.
4.) this
cursor cursor_xml (p_id in varchar2)
  is select * from MY_TABLE where id=p_id for update;
  rec cursor_xml%rowtype;is a bad idea. using %rowtype and select * is a real bad coding practice and will lead to unexpected behaviour when you do changes to the underlying table. In fact why do you want to do this anyway? You take some informations out of your table, create an xmltype of it and put it back into the table? What happens when you do changes to your data? You will have to do this again (probably in a database trigger <sigh>)...
Why not simply:
SQL> select level, xmltype('<company>'||level||'</company>') from dual connect by level < 20;
     LEVEL|XMLTYPE('<COMPANY>'||LEVEL||'</COMPANY>')
----------|---------------------------------------------------------------------------------------------------------------
         1|<company>1</company>
         2|<company>2</company>
         3|<company>3</company>
         4|<company>4</company>
         5|<company>5</company>
         6|<company>6</company>
         7|<company>7</company>
         8|<company>8</company>
         9|<company>9</company>
        10|<company>10</company>
        11|<company>11</company>
        12|<company>12</company>
        13|<company>13</company>
        14|<company>14</company>
        15|<company>15</company>
        16|<company>16</company>
        17|<company>17</company>
        18|<company>18</company>
        19|<company>19</company>
19 rows selected.create a view upon that end never bother again with updating your xmltype column?
cheers

Similar Messages

  • Forms 10g crashes when i try to open FMB file

    Hi, i have forms 10g 10.1.2.3.0 on windows vista business edition. but when i try to open a FMB file with some sintax or any error forms crashes. If FMB file doesn´t have any sintax error open ok.
    Regards

    Have a look here:
    Error compiling a form under Vista
    cheers

  • Forms 10g Crash in Windows 7

    Hi,
    Forms builder crashed during opening a file from a network location.
    Version:
    Forms= [32 Bit] Version 10.1.2.0.2
    DB = Oracle Database 10g Enterprise Edition Release 10.1.0.2.0
    Event Id in Event Viewer is 1000
    Error in Event Viewer:
    Faulting application name: frmbld.exe, version: 10.1.2.0, time stamp: 0x42d63632
    Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e2111c0
    Exception code: 0xebad198c
    Fault offset: 0x0000d36f
    Faulting process id: 0x15b8
    Faulting application start time: 0x01cd91811af366eb
    Faulting application path: C:\DevSuiteHome_1\BIN\frmbld.exe
    Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
    Report Id: 603d77eb-fd74-11e1-bcf8-00199953bfb7
    I have windows 7 32bit Enterprise
    Note: This crashed while opening a subclassed form.
    please need a solution.

    As you are still on 10.1.2.0.2 I assume you did not follow the steps mentioned in MOS note 1292919.1 and 727410.1
    After applying the patches mentioned in those notes you should be fine.
    cheers

  • Forms 10g crashes while opening an oversize Oracle seeded form

    Hi,
    I am trying to open Oracle R12 seeded form 'PAXPREPR' using forms 10g. I connect to the database before opening the file. The size of the file is 11.8MB.
    But when i open this file, oracle forms crashes without any error message.
    I checked the 11i version of same form, that is of size 6.07 MB, and that opens fine with forms 10g.
    Is it a way i can reduce the size of file, or open it with some way. I just want to have look into some code in the form, and find out any changes done from 11i to R12.
    My form builder version is Forms [32 Bit] Version 10.1.2.0.2
    and running on Windows 7.
    Thanks!!
    Harleen

    Apply the patches mentioned in MOS note 1292919.1 Certification of Oracle Developer Suite 10g (10.1.2) on Windows 7 (32-bit) plus Note 727410.1 Form/Report Builder 10.1.2.3 Crashes When Trying to Open a Form/Report
    cheers

  • Forms Builder 10g Crashes after opening R12 .fmb

    Hi,
    I'm trying to open Oracle apps R12 .fmb from Oracle forms 10g(Forms [32 Bit] Version 10.1.2.0.2 ).
    It errors out with the following error :
    "Oracle forms Designer has stopped working".
    I checked metalink for this error no luck.
    Thanks,
    Kiran

    user518071 wrote:
    Hi,
    I'm trying to open Oracle apps R12 .fmb from Oracle forms 10g(Forms [32 Bit] Version 10.1.2.0.2 ).
    It errors out with the following error :
    "Oracle forms Designer has stopped working".
    Hello, Kiran
    Don't worry, just follow my guide line and you will be get correct answer and solution.
    1. Open form builder
    2. Don't open any form.
    3. Make connection with your database
    4. open the forms now.
    Works !
    Hope this will help you
    If someone's response is helpful or correct, please mark it accordingly.

  • 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

  • In FORMS 10G found dead shared server 'S000', pid = (10, 9)

    during a test phase that we are doing before convert to FORMS 10G sometime the form crash (random) and in the same moment we foun the follow message in the log :
    found dead shared server 'S000', pid = (10, 9)
    DO YOU SOMEThING ???

    what is MTS ??
    we have doa standard installation with forms and report as application server and oracle 9i as db.
    we leve the standard configuration for the db.
    I don't Know what is MTS?

  • Sysfader: iexplore.exe - Application Error in Forms 10g

    Hi,
    I am new to Oracle Forms 10g. When I tried to run the Form, it is giving me an Error saying that
    *"The Instruction at "0x06130b58" referenced memory at "0x00000054". The memory could not be "read".*
    I am unable to run any Form.
    Somebody help me out in this regard.
    Thansk in advance :)
    Regards
    Raj
    Edited by: 889224 on Nov 30, 2011 8:40 AM

    Please always mention 4 digit version numbers (e.g. 10.1.2.0.2) as well as Operation System, Browser and Java Versions.
    Just taking a lucky guess here, but if you are using the default config of forms 10.1.2 on a nowadays OS you have a combo of JInit and IE8 which isn't supposed to work and most likely to crash. If this is the case then use a current Sun JPI instead: http://www.oracle.com/technetwork/developer-tools/forms/documentation/forms-jre-131772.pdf
    If this is not the case then...well...you might give us a more deeper insight in what you do so we can get an idea what's going wrong.
    cheers

  • Re: Configuring Jinitiator for Oracle Forms 10g Using IE 8.0

    Hi team,
    iam facing difficulty in running the Oracle Forms 10g , using IE 8.0.
    What are the settings i need to perform while running the forms, please help me.
    While Running : http://localhost:8889/forms/frmservlet
    the tab is not getting crashed and it is displaying "We were unable to return you to the page you were viewing."
    What are the settings i need to modify before running.. Please help..
    thanks

    Hello,
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/techlisting10gr2-093389.html
         How to use Sun's plug-in with Forms 21-Aug-2008
         This whitepaper describes how to use Sun's plug-in 1.4 or later with Forms version 10.1.2.
    Client Platform Statement of Direction 14-Feb-2007
         Describes Oracle Corporation's statement of direction to support Oracle Forms 10g applications on multiple Java client platforms
    Denis

  • Forms Builder Crashes when converting FMT to FMB

    Has anyone ever encountered this problem? I just installed 10g developer suite and am opening Forms Builder and I am using the Convert function, converting a from FMT to a FMB, and when I select the file and hit the convert button, Forms Builder crashes almost instantly saying Oracle Forms Designed has encountered a problem and needs to close.
    Any ideas? Thanks!

    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (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

  • Overwrite .fmx in Forms 10g for Production

    Forms 6 to Forms 10g migration:
    In production environment, how can we deploy new version of application's fmx file over existing one of the same name without causing any downtime?
    The client machines' OS is Windows whereas the server machine's OS is HP-UX RISC. It is reported to me that overwriting a .fmx file will cause the connected clients to crash. However, customer has the requirement to keep system up when replacing particular .fmx application modules in production time.
    Geoffrey

    Well, the original question was a bit vague. I know you can have 6i and 10g running at the same time, but you do have to switch between the two environments (it's a different URL to the 6i or 10g server). I.e. you cannot have a 6i fmx file replaced with a 10g fmx without the user noticing anything.
    It could be that the original poster just means "we have upgraded our forms 6i to 10g and we want to be able to quickly patch the upgraded 10g forms without the user noticing anything". I guess that is a more likely situation than a gradual upgrade from 6i to 10g.

  • Sys.Xmltype.Createxml performance

    Hello all,
    I have these two functions,these functions are present in a package and this package is being called from .net code.There is a lot of performance issue with this code,It is taking 27 minutes for inserting 1000 rows,please help me fine tune this piece of code.And also there is a before insert trigger for the table XXXXXX
    since we are using the concept of VPD here
    There are close to 14000 rows to be inserted,please help.
    Database version
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE     10.2.0.5.0     Production
    TNS for Solaris: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Procedure Some_Information(in_Some_Details In Clob, in_Batch_Id In Varchar2, in_Modified_User_Uid In Varchar2, in_Modified_Date In Varchar2, out_Status Out Varchar2, out_Error Out Varchar2)
    As
    Begin
    Xml_Type:=Sys.Xmltype.Createxml(in_Some_Details);
    Insert Into XXXXXX(I_Batch_Id,I_Client_Account_Id,V_Client_Legal_Name,
    V_Old_Office_Code, V_Old_Office_Business_Name,V_New_Office_Code,V_New_Office_Business_Name,
    V_Old_Cost_Center_Code,V_Old_Cost_Center_Name,V_New_Cost_Center_Code, V_New_Cost_Center_Name,
    V_Client_Status,D_Client_Inactivation_Date,V_Select_Ynflag,
    V_Replace_Ynflag,V_Replace_All_Policy_Ynflag,V_Replace_All_Service_Ynflag,
    I_Created_By_Uid,I_Modified_By_Uid,
    D_Created_Timestamp,D_Modified_Timestamp,
    V_Batch_Status,D_Pol_Eff_Date_From,D_Pol_Eff_Date_To
    (Select in_Batch_Id, A.CLIENT_ACCOUNT_ID, A.CLIENT_LEGAL_NAME, A.OLD_OFFICE_CODE, A.OLD_OFFICE_BUSINESS_NAME,
    A.NEW_OFFICE_CODE, A.NEW_OFFICE_BUSINESS_NAME, A.OLD_COST_CENTER_CODE, A.OLD_COST_CENTER_NAME,
    A.NEW_COST_CENTER_CODE, A.NEW_COST_CENTER_NAME, A.CLIENT_STATUS,
    CASE
    WHEN A.CLIENT_INACTIVATION_DATE =' ' THEN NULL
    ELSE To_Date(A.CLIENT_INACTIVATION_DATE,'DD/MM/YYYY')
    END ,
    A.SELECT_FLAG, A.REPLACE_FLAG, A.REPLACE_ALL_POLICY_FLAG, A.REPLACE_ALL_SERVICE_FLAG,
    in_Modified_User_Uid,in_Modified_User_Uid,
    To_Date(in_Modified_Date,'yyyyMMddhh24miss'),To_Date(in_Modified_Date,'yyyyMMddhh24miss'),'A',
    CASE
    WHEN A.POL_EFF_DATE_FROM =' ' THEN NULL
    ELSE To_Date(A.POL_EFF_DATE_FROM,'DD/MM/YYYY')
    END ,
    CASE
    WHEN A.POL_EFF_DATE_TO =' ' THEN NULL
    ELSE To_Date(A.POL_EFF_DATE_TO,'DD/MM/YYYY')
    END
    From (
    SELECT
    (CLIDETAIL.EXTRACT('//InformationSet/I_CLIENT_ACCOUNT_ID/text()').getstringval()) as CLIENT_ACCOUNT_ID,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_CLIENT_LEGAL_NAME/text()').getstringval()) as CLIENT_LEGAL_NAME,
    (CLIDETAIL.EXTRACT('//InformationSet/V_OLD_OFFICE_CODE/text()').getstringval()) as OLD_OFFICE_CODE,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_OLD_OFFICE_NAME/text()').getstringval()) as OLD_OFFICE_BUSINESS_NAME,
    (CLIDETAIL.EXTRACT('//InformationSet/V_NEW_OFFICE_CODE/text()').getstringval()) as NEW_OFFICE_CODE,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_NEW_OFFICE_NAME/text()').getstringval()) as NEW_OFFICE_BUSINESS_NAME,
    (CLIDETAIL.EXTRACT('//InformationSet/V_OLD_COSTCENTER_CODE/text()').getstringval()) as OLD_COST_CENTER_CODE,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_OLD_COSTCENTER_NAME/text()').getstringval()) as OLD_COST_CENTER_NAME,
    (CLIDETAIL.EXTRACT('//InformationSet/V_NEW_COSTCENTER_CODE/text()').getstringval()) as NEW_COST_CENTER_CODE,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_NEW_COSTCENTER_NAME/text()').getstringval()) as NEW_COST_CENTER_NAME,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_CLIENT_STATUS/text()').getstringval()) as CLIENT_STATUS,
    (CLIDETAIL.EXTRACT('//InformationSet/V_CLIENT_INACTIVATION_DATE/text()').getstringval()) as CLIENT_INACTIVATION_DATE,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_SELECT_FLAG/text()').getstringval()) as SELECT_FLAG,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_REPLACE_FLAG/text()').getstringval()) as REPLACE_FLAG,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_REPLACE_ALL_POLICY_FLAG/text()').getstringval()) as REPLACE_ALL_POLICY_FLAG,
    Escape_Chars(CLIDETAIL.EXTRACT('//InformationSet/V_REPLACE_ALL_SERVICE_FLAG/text()').getstringval()) as REPLACE_ALL_SERVICE_FLAG,
    (CLIDETAIL.EXTRACT('//InformationSet/V_POL_EFF_DATE_FROM/text()').getstringval()) as POL_EFF_DATE_FROM,
    (CLIDETAIL.EXTRACT('//InformationSet/V_POL_EFF_DATE_TO/text()').getstringval()) as POL_EFF_DATE_TO
    FROM TABLE(XMLSEQUENCE(Xml_Type.EXTRACT('//NewDataSet/InformationSet')))CLIDETAIL
    ) A
    Where Not Exists (Select 1 From XXXXX1 M Where M.I_Batch_Id=in_Batch_Id And M.I_Client_Account_Id=A.Client_Account_Id)
    out_Status:='0';
    out_Error:='No Error 2';
    dbms_output.put_line(out_Status);
    EXCEPTION WHEN OTHERS THEN
    out_Status:='100';
    out_Error:= SQLERRM;
    End;
    Function Escape_Chars(in_Details Varchar2) Return Varchar2 Is
    Begin
    If Replace(Replace(Replace(Replace(Replace(Trim(in_Details),
    ''||'&'||' amp;',''||'&'||''),
    ''||'&'||' quot;','"'),
    ''||'&'||' lt;','<'),
    ''||'&'||' gt;','>'),
    ''||'&'||' apos;',''''
    ) = '' Then
    Return Null;
    Else
    Return Replace(Replace(Replace(Replace(Replace(Trim(in_Details),
    ''||'&'||'amp;',''||'&'||''),
    ''||'&'||'quot;','"'),
    ''||'&'||'lt;','<'),
    ''||'&'||'gt;','>'),
    ''||'&'||'apos;',''''
    End If;
    End;

    Hello Marco,
    I am a novice in Oracle with xml,please help me out with the following question listed in the points below
    1) re-write the whole
    From (
    SELECT (CLIDETAIL.EXTRACT('//InformationSet/I_CLIENT_ACCOUNT_ID/text()').getstringval()) as CLIENT_ACCOUNT_ID,
    Escape
    bit to 1 XMLTABLE statement, if not only you will be easily see issues and/or get rid of all the clutter via "extract"
    Point 1 I am exploring it,since I do not know anything about XMLTABLE.
    2) Use the full XPath path in this statement - do not use // everywhere in the statement (this alone will be drastically improve your performance).
    I have made the change mentioned in point 2 except for this section in the previous post,please let me know if i have to make the change here also,
    FROM TABLE(XMLSEQUENCE(Xml_Type.EXTRACT('//NewDataSet/InformationSet')))
    My Xml will be of the format
    <NewDataSet>
    <InformationSet>
    <I_CLIENT_ACCOUNT_ID>Some value</I_CLIENT_ACCOUNT_ID>
    </NewDataSet>
    </InformationSet>
    3) Do not use the OO notation. eg. "user.table.xmltype.extract.operator" but the supported notation, eg. "extract(user.table.xmltype, '$XPath', '$namspce').operator"
    Point 3 I have made the changes
    4) Do not use XML/SQL operators anymore, they will be deprecated/desupported in future versions (11, 12, xx). Use the offcial W3 XML standards, in the case XQuery alternatives like XMLTABLE. If not only they do already support XPath V2 while the XML/SQL stuff only supports XPath V1.
    Point 4 can you please elaborate on XML/SQL operators that I am using in my code,so sorry this is dumb but still.
    5) escape handling can also be done by a by Oracle supported function in package DBMS_XMLGEN (convert? and other procedures/functions), why write your own (would something like a regular expression comparison etc not be easier instead of replace(replace(replace...)
    Thank you very much,I have handled the point 5 by using the DBMS_XMLGEN.convert

  • Form Service Crashes

    hi,
    I am having a problem with the oracle financial server. The problem is that it gives the error "Faulting application ifsrv60.exe, version 6.0.8.18, faulting module ifsrv60.exe, version 6.0.8.18, fault address 0x00003f8c." 3 or 4 times a day and the form service crashes. I have checked this error through the event log. the operating platform is Windows server 2003. The automatic updates were on. The version of the application is 11.5.7.
    please help me as soon as possible.
    Regards,
    Saad.

    It is probable that any operating system updates caused the problem.
    You are saying that every 10 minutes forms service crashes.
    Are you restarting the service?
    have you restarted the OS after the updates were installed?
    According to your forms version I still recommend you install the latest Oracle form 6i patches, (I think it's patch 17).
    As for the location of the trace files I don't remember exactly where forms 6 (i'm using 10g) used to store, but they are Definitely under the %ORACLE_HOME% directory, they are in trc extension.
    Again I suggest you post your problem in the Forms Forum, you will get much more help over there. trust me :)
    Forms
    Regards,
    Tony Garabedian

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

Maybe you are looking for

  • Mini DVI - VGA doesn't fit mac

    I just bought a Mini-DVI to VGA Adaptor cord So I could have dual displays. But the slot on my mac is a diffrent size. Did I buy the wrong cord? what cord should i buy.

  • Airport download speeds slow when extending display to LCD

    When I connect my Macbook using the mini display to DVI, DVI to HDMI adapter to my LCD TV, my download speeds pretty much fall off to nothing. When I disconnect the display adapter, the connection resumes. Any ideas?

  • MSI 180 front panel not working in both modes

    hi, I bought a msi mega 180 with AMD cpu, works quite nice for a barebone Now the problem is the front panel doesn't work anymore. It worked before, but now it doesn't work anymore. I think nothing is changed. I thougt the panel was broken, so I repl

  • Security update 2013-04 won't install

    I am running snow leopard on imac 10.6.8. This update has been showing for months now but I get a message 'failed to install'. Over past few months safari is getting slower and more glitchy - could the lack of update be causing this? How do I fix the

  • Backing up to external hard drive?

    I find it hard to believe that the only way to back up my iTunes music library is to do it using 30+ CD-Roms - - that is so 1998! Does anyone know how to back up an iTunes library using an external hard drive or even a thumb drive? I can't seem to fi