Slow Performance Forms 10g !!!!

Hi,
I have migrated several forms from 6i to 10g and i use a 11g Database.
Most of the users accessing from different countries complain of slow performance but the basic idea of migration is to get a better performance. My users mostly work on laptops.
I am unable to find where the problem is. Is this might be due to network traffic since they are accessing via internet or any server related issues. Please help me to find and fix the problem and is there any tips for gaining better performance in using forms 10g.
Regards,
Suresh

So, were they running on 6i via laptop and accessing via the internet before you migrated ? (ie: was it 6i client server or 6i web forms)
Did you migrate the database too ?
Slow performance as in : it used to be seconds and now it's taking minutes ?
Steve

Similar Messages

  • Slow performance Designer 10g (on 10gR2 database)

    We are busy testing Designer 10g version 10.1.2.5 (windows XP) on 10gR2 64 bit database (Sun solaris) . The repository was migrated from Designer 6.0.
    But the performance/response is rather slow. Example: At first, opening a server model diagram took 2 minutes or more. By searching the forum we found the tip for the "alter system set OPTIMIZER_SECURE_VIEW_MERGING = false;". That made a big difference.
    But now we still have response problems: Expanding the treeview for the list of tables, views or snapshots takes much longer then in Designer 6.0.
    Also opening for example Design Editor takes longer then one normally expects, allthough some delay can be expected because we have a lot of applications (100) in the repository.
    Is it because it is now written in Java, or are more database optimizations possible?
    Paul.

    Have you computed statistics using the Repository Administration Utility (RAU)? The default percentage of 20% is usually good enough, but you could go higher.
    Do a View Objects in RAU and check for missing, disabled or invalid objects. If you find any, there are ways to correct the situation, mostly under the Recreate button.
    Make sure that no-one else is using the repository, then press the Recreate button in RAU and use the selection labeled: Truncate Temporary Tables. Sometimes these tables get too full and can impact performance.
    Under the Options menu in RAU, there is an item labeled: Enable Performance Enhancements. To be honest with you, I've never noticed this item before, and I don't know for sure what it does. Then again, I've never had any serious performance problems in Designer. It might be worth your while to back up your repository, then turn this on.

  • Slow performance after 10g upgrade

    After upgrade from 9.2.0.3.0 to 10.2.0.1.0, the following query runs extremely slow, any suggestion how to adjust the DB settings without re-writing this query
    SELECT SUM (ABS (ship_net_clc_amt))
    FROM ship_dtl
    WHERE order_section_number = '940007320686'
    AND SUBSTR (misc_charge_code, 1, 2) IN ('72', '77', 'A9')
    AND ics_status_flag2 IN ('W', 'S')
    AND dsr_trans_date >= to_date('1/1/2008', 'MM/DD/YYYY')
    AND dsr_trans_date < to_date('1/31/2008', 'MM/DD/YYYY')
    AND product_base_number NOT IN (SELECT DISTINCT sku
    FROM ap_smb_sku_based
    WHERE fiscal_period = '200801'
    AND country = 'TAIWAN')
    AND quota_product_line_code IN (SELECT pl
    FROM ap_pl_bu
    WHERE bu = '3C')
    The exec plan for 10g (optimizer mode = ALL ROWS) is
    ------------------------------------------------------------------------------------------------------------------------------|
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop ||
    ------------------------------------------------------------------------------------------------------------------------------|
    | 0 | SELECT STATEMENT | | 1 | 49 | 7 (15)| 00:00:01 | | ||
    | 1 | SORT AGGREGATE | | 1 | 49 | | | | ||
    |* 2 | FILTER | | | | | | | ||
    |* 3 | TABLE ACCESS BY LOCAL INDEX ROWID| SHIP_DTL | 1 | 42 | 1 (0)| 00:00:01 | 39 | 39 ||
    | 4 | NESTED LOOPS | | 1 | 49 | 5 (20)| 00:00:01 | | ||
    | 5 | SORT UNIQUE | | 1 | 7 | 3 (0)| 00:00:01 | | ||
    |* 6 | TABLE ACCESS FULL | AP_PL_BU | 1 | 7 | 3 (0)| 00:00:01 | | ||
    | 7 | PARTITION RANGE SINGLE | | 3 | | 0 (0)| 00:00:01 | 39 | 39 ||
    |* 8 | INDEX RANGE SCAN | IX_SHIP_DTL_ORD_SEC_NM | 3 | | 0 (0)| 00:00:01 | 39 | 39 ||
    | 9 | PARTITION RANGE SINGLE | | 1 | 39 | 2 (0)| 00:00:01 | 25 | 25 ||
    |* 10 | TABLE ACCESS FULL | AP_SMB_SKU_BASED | 1 | 39 | 2 (0)| 00:00:01 | 25 | 25 ||
    ------------------------------------------------------------------------------------------------------------------------------|
    The exec plan for 9i (optimizer mode=choose) for
    ----------------------------------------------------------------------------------------------------------------|
    | Id | Operation | Name | Rows | Bytes | Cost | Pstart| Pstop ||
    ----------------------------------------------------------------------------------------------------------------|
    | 0 | SELECT STATEMENT | | 1 | 47 | 10 | | ||
    | 1 | SORT AGGREGATE | | 1 | 47 | | | ||
    | 2 | FILTER | | | | | | ||
    | 3 | HASH JOIN SEMI | | 1 | 47 | 8 | | ||
    | 4 | TABLE ACCESS BY LOCAL INDEX ROWID| SHIP_DTL | 1 | 36 | 5 | 13 | 13 ||
    | 5 | INDEX RANGE SCAN | IX_SHIP_DTL_ORD_SEC_NR | 9 | | 3 | 13 | 13 ||
    | 6 | TABLE ACCESS FULL | AP_PL_BU | 2 | 22 | 2 | | ||
    | 7 | TABLE ACCESS FULL | AP_SMB_SKU_BASED | 1 | 21 | 2 | 13 | 13 ||
    Thanks.
    Liz

    ship_dtl has 94690531 records
    ap_smb_sku_based has 19 records
    ap_plbu has 19 records
    The query returns a single row, because it calculates the sum. The query could be better written to get rid of IN or NOT IN which are costly. But I just wonder why the plans/performance are so different?
    I used analyze to analyze other tables and it is still working fine in 10g. Now based on the plans, do you think anything wrong ?
    10g -
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------|
    | Id  | Operation                                   | Name                   | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |    TQ  |IN-OUT| PQ Distrib ||
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------|
    |   0 | SELECT STATEMENT                            |                        |     1 |    50 |    10 (-550| 00:00:01 |       |       |        |      |            ||
    |   1 |  SORT AGGREGATE                             |                        |     1 |    50 |            |          |       |       |        |      |            ||
    |*  2 |   FILTER                                    |                        |       |       |            |          |       |       |        |      |            ||
    |*  3 |    PX COORDINATOR                           |                        |       |       |            |          |       |       |        |      |            ||
    |   4 |     PX SEND QC (RANDOM)                     | :TQ10002               |     1 |    50 |    66   (5)| 00:00:01 |       |       |  Q1,02 | P->S | QC (RAND)  ||
    |*  5 |      FILTER                                 |                        |       |       |            |          |       |       |  Q1,02 | PCWC |            ||
    |   6 |       MERGE JOIN                            |                        |     1 |    50 |    66   (5)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |   7 |        SORT JOIN                            |                        |     2 |    14 |     4  (50)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |   8 |         BUFFER SORT                         |                        |       |       |            |          |       |       |  Q1,02 | PCWC |            ||
    |   9 |          PX RECEIVE                         |                        |     4 |    28 |     2   (0)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |  10 |           PX SEND HASH                      | :TQ10000               |     4 |    28 |     2   (0)| 00:00:01 |       |       |        | S->P | HASH       ||
    |  11 |            SORT UNIQUE                      |                        |     4 |    28 |     2   (0)| 00:00:01 |       |       |        |      |            ||
    |* 12 |             TABLE ACCESS FULL               | AP_PL_BU               |     4 |    28 |     2   (0)| 00:00:01 |       |       |        |      |            ||
    |* 13 |        SORT JOIN                            |                        |     1 |    43 |    62   (2)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |  14 |         PX RECEIVE                          |                        |     1 |    43 |    61   (0)| 00:00:01 |       |       |  Q1,02 | PCWP |            ||
    |  15 |          PX SEND HASH                       | :TQ10001               |     1 |    43 |    61   (0)| 00:00:01 |       |       |  Q1,01 | P->P | HASH       ||
    |  16 |           PX PARTITION RANGE ITERATOR       |                        |     1 |    43 |    61   (0)| 00:00:01 |   KEY |   KEY |  Q1,01 | PCWC |            ||
    |* 17 |            TABLE ACCESS BY LOCAL INDEX ROWID| SHIP_DTL               |     1 |    43 |    61   (0)| 00:00:01 |   KEY |   KEY |  Q1,01 | PCWP |            ||
    |* 18 |             INDEX RANGE SCAN                | IX_SHIP_DTL_ORD_SEC_NR |    14 |       |    49   (0)| 00:00:01 |   KEY |   KEY |  Q1,01 | PCWP |            ||
    |  19 |    PARTITION RANGE SINGLE                   |                        |     1 |    39 |     2   (0)| 00:00:01 |    14 |    14 |        |      |            ||
    |* 20 |     TABLE ACCESS FULL                       | AP_SMB_SKU_BASED       |     1 |    39 |     2   (0)| 00:00:01 |    14 |    14 |        |      |            ||
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------|Plan for 9i
    -----------------------------------------------------------------------------------------------------------------------------------------------|
    | Id  | Operation                              |  Name                   | Rows  | Bytes | Cost  | Pstart| Pstop |  TQ    |IN-OUT| PQ Distrib ||
    -----------------------------------------------------------------------------------------------------------------------------------------------|
    |   0 | SELECT STATEMENT                       |                         |     1 |    53 |    74 |       |       |        |      |            ||
    |   1 |  SORT AGGREGATE                        |                         |     1 |    53 |       |       |       |        |      |            ||
    |   2 |   FILTER                               |                         |       |       |       |       |       |        |      |            ||
    |   3 |    FILTER                              |                         |       |       |       |       |       |        |      |            ||
    |   4 |     HASH JOIN SEMI                     |                         |     1 |    53 |    72 |       |       | 30,01  | P->S | QC (RAND)  ||
    |   5 |      PARTITION RANGE ITERATOR          |                         |       |       |       |   KEY |   KEY | 30,01  | PCWP |            ||
    |   6 |       TABLE ACCESS BY LOCAL INDEX ROWID| SHIP_DTL                |     1 |    42 |    54 |   KEY |   KEY | 30,01  | PCWP |            ||
    |   7 |        INDEX RANGE SCAN                | IX_SHIP_DTL_ORD_SEC_NR  |    21 |       |    37 |   KEY |   KEY | 30,01  | PCWP |            ||
    |   8 |      TABLE ACCESS FULL                 | AP_PL_BU                |     2 |    22 |     2 |       |       | 30,00  | S->P | BROADCAST  ||
    |   9 |    TABLE ACCESS FULL                   | AP_SMB_SKU_BASED        |     1 |    39 |     2 |    14 |    14 |        |      |            ||
    -----------------------------------------------------------------------------------------------------------------------------------------------|

  • Slow performance in Forms 10g

    We are struggling with a irritating problem with Jinitiator/Application Server related problem. Response time up on commit in Forms 10g is extremely long. We have to reboot the client computer in order to get rid of the problem. There is no database locks and the database and application server are both practically idle. I suspect something must be wrong between Jinitiator Application since a new Jinitiator / Browsere session will work fine. It seems that Jinitiator performance deteriorate over time. Is there a way to fix this problem?
    Guangfan Xu
    Developer
    PandaConnect A/S
    [email protected]

    Your problem is unlikely a Jinitiator problem, but if you feel it is try using the latest version which is 1.3.1.29 (Metalink Patch ID 6350285) or try using a Sun plug in.

  • Forms 10g App. is slow: What is the official procedure to follow?

    Hello Forms gurus. This question has been bugging me for some time. Here is the scenario.
    We have a Telco application developed using Forms 10g.
    A user complains that his form is slow.
    We have access to the live DB (assume it is a 10g DB).
    However, we cannot run the form in the live DB. We have no access to it. We only have access to the live DB.
    What is the "procedure" to follow in a situation like this???
    Is there an Oracle Recommended procedure to follow?
    You inputs will be greatly appreciated.

    Are you sure the database is the cause of your performance problems? Can you identify slow queries? The first thing you should investigate is *where* your problem relies. Ask your DBAs if they can tell you the bad performing queries or help you analyze if there are any. If the database behaves well then most certainly it isn't the culprit of your performance problem. Of course there are some other no-gos which might affect application performance (like slow-by-slow processing, or serializing, or what ever else). So you need to identify where the time is spent first.
    So, according to the them, if a form is "slow", 99.99% it is caused by a slow query.  So, they expect us developers to know tuning stuff.
    Erm...and who else should know it? Developers design the application, developers know how it should work, and therefore are the ones who should know how to tune it. And I'm not talking about looking into why the Hard disk responds slow kind of stuff but simple identifying sub-optimal code, or SQL tuning by looking at the execution plans, interpreting them and solving them by...oh, I don't know, rewriting the query, minimizing recursive SQL, and what ever else. DBAs on the other hand know next to nothing about your application. How should they know if a query plan is bad or not (except the query responds slow)? How should they know how to rewrite your query properly if they don't know what it's supposed to do? Don't write a query whatever way you like and expect them to understand it and tune it which might even imply changes on your underlying data model.
    There are 2 scenarios:
    (1.) We got e-mail from user saying form is slow. But he is not using the form now.
             -- Is there a way to find out slow queries that happened say few days ago? Are they stored somewhere?
    (2.) User is currently logged on to the system and using the form.
            -- Can you find out an slow query happening right now??
    1.) This would be AWR. As they have the final saying about the database then ask them to provide you a AWR report of a Time period where you had performance problems. If you don't have AWR then it'll be somehow difficult to analyze performance problems of the past. But on the other hand I wouldn't worry too much if you can constantly reproduce your problems as this would take us straight foreward to:
    2.) That would be SQL Trace. Simply trace the session experiencing performance problems, and run tkprof on the tracefile. If you don't know how to do that and don't know how to interpret a query plan then you might ask your DBAs if they can assist you. If they insist that you must know that on your own maybe ask them to teach you. It is one thing to ask someone to do your job, but an entirely other thing to ask someone for help to do your job better and share some knowledge.
    In the end it'll be easier to work *with* your DBAs to identify and solve performance problems and not working *against* them. You have knowledge about your application, about what data is stored where and why but might lack some basic knowledge about SQL Tuning. Your DBA on the other hand has no knowledge about your application but might have a better understanding of basic SQL tuning. IMHO the both of you would make a good couple to solve SQL performance problems as your knowledge combined should make it easy to resolve your problem.
    cheers

  • 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

  • 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

  • Slow Performance with Business Rules

    Hello,
    Has anyone ever had slow performance with business rules? For example, I attached a calc script to a form and it ran for 20 seconds. I made an exact replica of the calc script in a business rules and it took 30 seconds to run. Also, when creating / modifying business rules in EAS it takes a long time to open or save or attach security - any ideas on things to improve this performance?
    Thanks!

    If you are having issues with performance of assigning access then I am sure there was patch available, it was either a HSS patch or planning patch.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Slow Performance or XDP File size very large

    There have been a few reports of people having slow performance in their forms (tyically for Dynamic forms) or file sizes of XDP files being very large.
    These are the symptoms of a problem with cut and paste in Designer where a Process Instruction (PI) used to control how Designer displays a specific palette is repeated many many times. If you look in your XDP source and see this line repeated more than once then you have the issue:
    The problem has been resolved by applying a style sheet to the XDP and removing the instruction (until now). A patch has been released that will fix the cut and paste issue as well as repair your templates when you open them in a designer with the patch applied.
    Here is a blog entry that describes the patch as well as where to get it.
    http://blogs.adobe.com/livecycle/2009/03/post.html

    My XDP file grow up to 145mb before i decided to see what was actually happening.
    It appears that the LvieCycle Designer ES program sometimes writes alot of redundant data... the same line millions of times over & over again.
    I wrote this small java program which reduced the size up to 111KB !!!!!!!!!!!!!!!!!! (wow what a bug that must have been!!!)
    Here's the sourcecode:
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    public class MakeSmaller {
    private static final String DELETE_STRING = "                           <?templateDesigner StyleID aped3?>";
    public static void main(String... args) {
      BufferedReader br = null;
      BufferedWriter bw = null;
      try {
       br = new BufferedReader(new FileReader(args[0]));
       bw = new BufferedWriter(new BufferedWriter(new FileWriter(args[0] + ".small")));
       String line = null;
       boolean firstOccurence = true;
       while((line = br.readLine()) != null) {
        if (line.equals(DELETE_STRING)) {
         if (firstOccurence) {
          bw.write(line + "\n");
          firstOccurence = false;
        } else {
         bw.write(line + "\n");
         firstOccurence = true;
      } catch (FileNotFoundException e) {
       e.printStackTrace();
      } catch (IOException e) {
       e.printStackTrace();
      } finally {
       if (br != null) {
        try {
         br.close();
        } catch (IOException e) {
         e.printStackTrace();
       if (bw != null) {
        try {
         bw.close();
        } catch (IOException e) {
         e.printStackTrace();
    File that gets generated is the same as the xdp file (same location) but gets the extension .small. Just in case something goes wrong the original file is NOT modified as you can see in the source code. And yes Designer REALLY wrote that line like a gazillion times in the .xdp file (shame on the programmers!!)
    You can also see that i also write the first occurrence to the small file just in case its needed...

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

  • Sudden extreme slow performance

    I have run Tiger on this machine for about 6 months with no problems. In the last few weeks everything has started slowing down noticably. The hard disk is running ragged, constantly reading/writing, from looking at the cpu monitor it seems like the computer is not actually using it's ram and is just reading and writing. I tried clearing caches and that worked for a few hours but the machine now seems to lock up after a few hours use. I get to the point where i cannot open menus, switch programs, or even force quit or restart. Everything locks up - spinning beachball - and the hard disk is left constantly writing. I have 9 -15Gb free out of 40Gb on the disk - i assume this is enough. Playing music and safari is no problem. But I am using iphoto and photoshop as well as other programs in the background. This was never previously a problem and ran smoothly. I know it's fairly vague but if anyone can help..

    Hi, Ben.
    Thanks. However, it would help to see some of the specific data points from the instructions in those FAQs. Specifically:
    1. You wrote: "(the pageins/outs are about equal) but i'm getting REALLY slow performance across the board. "It still sounds like it is "thrashing."1.1. Did you check the pagesin/pageouts per second as described in my "Problems from insufficient RAM and free hard disk space" FAQ? The per-second values can only be found using top as described therein.
    1.2. Did you check for a runaway process in Activity Monitor per the "Troubleshooting" section in my "Tuning Mac OS X Performance" FAQ?.
    The activity you describe (beach ball, heavy disk writing) has to be coming from somewhere, so checking Activity Monitor as I describe in that FAQ should tell you. Find the process consuming the most %CPU as instructed in the FAQ. Post back the result, i.e. the process name.2. You wrote: "It seems to lock itself up with the hard disk clicking and crunching. Is it possible the hard disk is giving up and so is writing at a very slow speed??? "To check this, see my "Resolving Disk, Permission, and Cache Corruption" FAQ:2.1. Perform at least Steps 1-3 of the Procedure section therein in the order specified.
    2.2. Also, review the section therein on "Bad Sectors" to see if the "clicking and crunching" sounds you are hearing are similar to those that generally indicate bad sectors.3. If the disk checks out OK per point 2 above, and depending on what you find in point 1.2 above, the process may be an errant Startup or Login Item. My "Troubleshooting Startup and Login Items" FAQ can help you pin that down if such an item is causing the problem.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Code Generation Bug in Forms 10g

    We're hitting this goofy bug in Forms 10g (also occurs in 9i) code generation of the On-xxx triggers. I have an "obj" package that declares an index-by array type that's used by multiple packages, including a "qry" package and "dml" package (in good ol' Steven Feuerstein tradition). The On-xxx triggers pass this type into packaged procedures that perform the Insert, Update, Delete and Lock required by Forms. These DML routines are in the "dml" package.
    When we look at the generated trigger code, we see that the index-by array type is incorrectly referenced as dml.obj.idx. That is, since the On-xxx trigger is calling DML routines in the "dml" package, it's improperly qualifying the reference with the dml package name. The On-xxx trigger code gets regenerated every time we do Compile Module. We tried doing Compile All, which doesn't regenerate the On-xxx triggers; but neither does it produce an fmx file.
    Is this a known bug, and is there a workaround? I can't move the index-by array type declaration to the dml package because it's used by multiple packages. If I fix it in one place, I break it in another. I can't have multiple declarations of this type in multiple packages either, because I'm passing it around between the packages, and they're not type-compatible at that point.

    It looks like the Forms Wizard is the real culprit. When we looked at the Property Palette for each On-xxx trigger, where the target procedure is specified, along with the parameters, is where the malformed dml.obj.ref code appears. Once we edited those entries, the On-xxx triggers generated correctly.

  • Implementing java beans in forms 10g [Problem]

    Hi All,
    I am trying to implement the java bean in the forms 10g
    I performed the following steps, but no luck.. Could anybody please help me in this?
    I have created a simple java class
    package mypackage1;
    public class MyClass
    public String GetString(String a)
    return a;
    Make a jar myjar.jar out of it.
    Copy this jar files in $ORACLE_HOME/forms/java directory
    and set the archive.jini parameter in formsweb.cfg to
    archive_jini=frmall_jinit.jar,Myjar.jar
    Created a simple form having one button, one textbox
    Set the implementation class property of text item to mypackage1.MyClass
    on button pressed trigger, I wrote
    set_custom_property('block2.text_item4',1,'GetString','Hello World');
    Ideally, on button pressed, it should show the text "Hello World" in the etxt box. But on button pressed nothing is happening and in java console on error is appearing.
    My java console output is
    Loading http://asst104253:8889/forms/java/frmall_jinit.jar from JAR cache
    Loading http://asst104253:8889/forms/java/Myjar.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    Could anyone please tell me what I am doing wrong?? And how do I achieve this functionality??
    Please, any help appreciated !!

    Hi there
    The is plenty wrong with this code:
    1. MyClass is not extending VBean
    2. There is no public boolean setProperty(ID ID, Object args) method and no property IDs have been defined so set_custom_property('block2.text_item4',1,'GetString','Hello World'); will not execute anything
    3. If you're hoping to return values back from the bean, you need to define a custom event and associated ID.
    If you're just looking for some java code to return values in a similar manner as normal Oracle functions then you may want to consider using forms java stored procedures which are based on static java methods. Beans are really more for interaction type stuff with other applications.
    But any way if you want to do it this way (i.e. using beans) then at very least you class should look something like (Note, I have not compiled is so there may be a few errors):
    package mypackage1;
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    import oracle.forms.engine.Main;
    import oracle.forms.engine.*;
    import oracle.forms.handler.*;
    public class MyClass extends VBean
    // initiating event id
    protected static final ID pgetString = ID.registerProperty("GetString");
    // return value id
    private static final ID preturnValue = ID.registerProperty("returnValue");
    // return event id
    protected static final ID preturn = ID.registerProperty("returnEvent");
    static IHandler mHandler;
    public String GetString(String a)
    // may do some string manipulation here.
    return a;
    public boolean setProperty(ID ID, Object args)
    if (_ID== pgetString)
    if (_args instanceof String)
    String myArg = (String)_args;
    mHandler.setProperty(preturnValue,getString(myArg));
    CustomEvent ce = new CustomEvent(mHandler, preturn);
    dispatchCustomEvent(ce);
    Keep your button as is and then to return the value back into forms place a WHEN-CUSTOM-ITEM-EVENT trigger on the bean area with something like this:
    DECLARE
         BeanValListHd1 PARAMLIST;
         ParamType NUMBER;
         EvenName     Varchar2(20);
         CurrentValue Varchar2(2000);
    BEGIN
         BeanValListHd1 := get_parameter_list(:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
         IF :SYSTEM.Custom_Item_Event = 'returnEvent' THEN
              IF iD_NULL(BeanValListHd1) THEN
              MESSAGE('NO PARAMETER FOUND FOUND');     
              ELSE
              GET_PARAMETER_ATTR(BeanValListHd1,'returnValue',ParamType,CurrentValue);
              MESSAGE('IN CUSTOM EVENT THE STRING RETURNED IS '|| CurrentValue);
              END IF;
         ELSE
              MESSAGE('no value');
         END IF;          
    END;
    hope this helps
    Q

  • OCFS slow performance in ImpDP

    Did anyone encounter slow performance using ImpDP on OCFS ? We have Oracle RAC 10.2g running in window connecting SAN storage and was formatted to OCFS. We compared the performance of running the same import in Local Drive (NTFS) and SAN storage (OCFS) and found that the time required to complete the import is 10 times than Local Drive (NTFS). Any tuning or troubleshooting that we could do ? Thanks in Advance.

    Not aware of ocfs installing automatically when installing CRS/RAC. But then have never used Windows as a production o/s for Oracle. never mind using it to run RAC.
    ocfs2 is the latest version as per Oracle's [Open Source project list|http://oss.oracle.com/projects/]. Am not aware of "ocfs 9" for 9i or "ocfs 10" for 10g on Windows.
    What do you use ocfs for? Do you have the OCR and voting disks on the file system as files? Do you use it for Oracle datafiles too?
    As for the SAN infrastructure being "+okay+" - there's more than that to it. You need some kind of driver on the o/s to interface with the HBA card.. where cables (dual 2Gb fibre?) run into a SAN switch and where the SAN switch is connected to the physical storage system.
    A faulty cable can cause performance issue (e.g. reducing the dual path to the SAN via 2 fibre channels to a single one). There could be errors on the switch. The driver could be problematic (older version). Etc.
    So there is a number of layers, both s/w and h/w, to check before going "+okay+". Trust that your infrastructure team is jacked up in this regard.
    One method to benchmark the import problem is to use NT's performance monitor and monitor the import process. Not exactly sure how you would do it dealing with threads (as a thread in the oracle.exe executable will be servicing the import process) - but this should give you a somewhat accurate figure of the I/Os per second and bytes and blocks per second that the process is reading from the ocfs file system (assuming that you are writing it via ASM to raw devices).
    At the same time you can monitor the process for other potential performance bottlenecks.
    The only other factor that comes to mind that can impact ocfs performance is the ocfs cluster's communication layer. Like CRS that uses Interconnect for communication between nodes, so does ocfs. On a Unix system this is configured in the +/etc/ocfs2/cluster.conf+ file - and lists the number of ocfs nodes in the cluster and the network interfaces/addresses used for communication.
    If this network layer is already quite busy, using it for ocfs2's cluster communication could be a problem performance wise.
    You can test this aspect by unmounting ocfs2 (and stopping the ocfs2 cluster communication/heartbeat s/w too) on all but one node and then running the import. As there is only a single node in the ocfs2 cluster, the communication with other nodes is pretty much made redundant.
    Last comment - ocfs2 is not slow as a cluster file system. It does a pretty decent job. And its performance is directly related to the h/w it runs on, and also how it is configured. That said, it is not a s/w component that really plays a role in Oracle CRS and RAC as ASM should be used (and is the recommended option from Oracle). ocfs2 at best can serve as a cooked file system for the RAC cluster (only used via directory objects in Oracle).

  • Forms 10g rel 1( 9.0.4 ) vs SUN JVM 1.5

    Hello:
    From SUN site you can read :
    "Changes in 1.5.0_06
    The full internal version number for this update release is 1.5.0_06-b05 (where "b" means "build"). The external version number is 5.0u6.
    Security Enhancements
    Prior to this update, an applet or application could specify the version of the JRE on which it would run. This has changed. All applets are executed with the latest JRE version. Unsigned Java Web Start applications that specify a version other than the latest trigger a warning, requiring explicit user permission before the application will run. Signed Java Web start applications are not affected. "
    Assuming that our customer will use SUN JVM , NOT Oracle JInitiator.
    We have seen that if in a client machine it is installed SUN JVM 1.4.2_10 ( certified ) AND SUN JVM 1.5 or newer.
    there is NO WAY to force Forms 9.0.4 applications to run with SUN JVM 1.4.2_10.
    In spite of doing the following settings at formsweb.cfg
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_10
    when you run forms 9.0.4 applications from a browser in that machine, SUN JVM 1.5 is mandatory used by the browser.
    It seems that IT IS IMPOSSIBLE to tell 9.0.4 to use SUN JVM 1.4.2_10 because SUN prevents it according to the above documentation .
    Q1) I thank your comments on this
    Then, when you look for certification info:
    a) you can get this info for Forms 10g R2
    http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html
    b) you can get this info for Forms 10g R1
    http://www.oracle.com/technology/products/forms/htdocs/10g/clientsod_forms10g.ht
    ml
    Q2) What are ORACLE plans about certification of SUN JVM 1.5 AND Forms 10g Rel 1 ( 9.0.4 ) ?
    Thanks in advance,
    Fernando Rey

    Hi Guys,
    I am currently testing our portal with a number of JRE version or Jinitiator and the SUN JRE.
    I found some very useful information about changing the registry of the local PC to re-enable specific versioning, see info, below.
    I have tested this and it does work, but you need to be careful with Sun JRE versions to ensure that you are on 1.5.0.7 or higher.
    Another useful link is this discussion over on the sun forums.
    http://forum.java.sun.com/thread.jspa?threadID=730855
    Good Luck
    Scott
    We have found a conflict with the Sun JRE 1.4.2.6 and version Sun JRE 1.5.0.6
    To get around this conflict a registry key has to be added onto the users PC and the user needs to remove 1.5.0.6 and install 1.5.0.7 or higher. To make matters worse the auto-update feature in version 1.4, if left enabled, will update the user to 1.5.0.6 even thought the latest release from the sun web site is 1.5.0.8 !
    Therefore can you add this registry key onto the automated install of the Sun 1.4.2.6 setup as per the instructions below.
    Troubleshooting Conflicting JPI Versions on the Desktop:
    Per oracle note 368775.1, JRE 1.5 will not allow static versions. In other words version 1.5
    may override your required version of 1.4.2. They call it a security feature, but it can reek
    havoc with oracle forms. This section addresses a possible workaround.
    If your users either need to run JPI 1.5 for any reason, here is the workaround to force
    BANNER to use ONLY version 1.4.2.
    If you launch forms and in the java console it shows version 1.5.X, perform the following
    steps.
    1. Make a backup of the windows registry
    2. Edit the registry
    3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\
    4. Create a new directory by highlighting the key above and pressing <RIGHT
    CLICK>/<NEW KEY>
    5. Rename the key to [Java Deployment]
    6. Highlight the new key created in step 5 and press <RIGHT CLICK>/<NEW KEY>
    7. Rename this new value to [Policy]
    8. Highlight the new key created in step 7 and press <RIGHT CLICK>/<NEW DWORD>
    9. Rename this DWORD to “EnableSecureStaticVersioning”
    Re-launch forms and verify via the java console that the desktop is returning 1.4.2.

Maybe you are looking for

  • Custom font using setclip()

    i am using setClipmethod to clip font from a png file..clipping is ok wen comes to draw its not drawing in a particular position ... here is my code ... import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class ClipImage ext

  • Dynamic creation of object

    Hai There is a calss Firm like below public class Firm public void sayHai() System.out.println("Hai"); There is a main class like below public main public void getObject(String className,Object firmObject) In this method I am passing Object as a para

  • Wrong payment transaction

    To whom it may concern, Recently I received a money transaction document from my bank(ALPHA) in Greece, which indicate that Skype has charged me two times of 19.80 US$ in 04/12/2014 and in 01/03/2015 without my approvals. Noting these wrong transacti

  • Abstract classes and Interfaces

    Why would you use these? Why not make a concrete class and extend them? I see why JAVA doesn't use mutiple inheritance but I don't see how allowing interfaces correctes that, after all what happens if two interfaces implemented by one class have two

  • Typicl Errors in Production Support

    Dear All Can I Get any of the Typical Errors we faced in Production Support. Regadrs manikanta Edited by: Manikanta Ramisetty on Feb 14, 2011 11:29 AM