2 different compilations of FORMS 6i

Hello,
We have 2 environment here :
- An environment of TEST ( ORACLE APPLICATION 11i ) for developing and testing ( A )
- An environment of PRODUCTION ( ORACLE APPLICATION 11i ) for production. ( B )
Actually, the 2 environment are the same ( DBA says ).
I've got a FORM 6i ( a copy of a standard FORM but customized ), when I compile this form in ( A ) the fmx file is the same ( size ... ) as if I compile the form in ( B ), but the form doesn't work : "exception "WHEN-NEW-ITEM-INSTANCE" in the 2 environment.
If I take the old fmx file which used to work in ( A ) before DBA restore ( A ) using ( B ), this work in the 2 environments.
Something has changed in ( B ), after restore ( A ) has changed too but FORMS doesn't work anymore.
Someone has an idea ?
Thanks a lot.
Romeo.

You will have to debug the form and find out what is causing the exception.
You could start by giving the complete error message.

Similar Messages

  • Error while compiling the form

    Hi Everyone,
    Im getting the following error, while trying to compile the form.
    Compilation error on POST-QUERY trigger on XXX_CONTRACT_INFO data block:
    PL/SQL ERROR 0 at line 0, column 0
    ORA-12154: TNS:could not resolve service name.
    The instance which Im using is UP and running fine.
    I am using some database links to access data from a different schema, but even those db links are working fine.
    I am completly strucked up with this issue. Please help me.
    Thank you.
    Rams.

    Thanks for the reply.
    Im not running the form in local database and more over if the problem is with only tnsnames, then the form should completly through an error. But in this case, the form is compiling all its objects, but its unable to compile only one block.
    -Rams

  • Compiler crash Forms 6i

    Hi,
    I have a problem with Forms developer 6i. I have a very big form 2.3 MB, and then I added some extra lines of code ( and there are no errors in them ), and when I try to recompile the fmb now it crashes the whole forms developer program !
    I think I hit maximum compilesize for fmb's or something - but then again can that really be true ?
    Have anyone experienced similar problems ? and does a solution exist.
    PS - I tried to add the lines again from the functioning fmb and same thing happened again and again at roughly the same point - around 2.3 MB
    Kind regards
    Bo Normann

    First of all, the last two posts are implying that the runform session is crashing. Please note that the original post is talking about the Forms Builder crashing.
    I couldn't understand the logic behind 'Finding and Replacing' a semicolon with a semicolon through out the form.If you compile a form, you will notice in the Object Navigator, that each program unit has a '+' by them that you can click and see more options. If you open the source of the program unit, at the bottom of the editor window it says Not Modified . . . Sucessfully Compiled. If you save the form, close it, and re-open it, the program unit still has this compiled indicator.
    If you change anything in the program editor, the compiled indicator disappears. If you save the form without compiling, and reopen it, it is still NOT compiled.
    All you are doing by changing semicolon to semicolon is forcing every trigger and procedure to become uncompiled. And then if you save the form in this state and check the fmb size, you will notice a much smaller fmb size. You will notice when you open such a form in the Builder, the open is faster, and the first compile is slower (just like doing a shift-ctrl-K compile-all). On the other hand, a form saved with all compiled code opens slower, but first compile is fast. Apparently when Oracle opens a pre-compiled fmb, it tries to verify the compiled program units.
    However, these compiled program units cause problems -- we have had problems using pre-compiled fmb's transported to different environments failing in stored-procedure calls and other places. Doing a compile-all (shift-ctrl-K) clears the problem.
    The bottom line is this: Storing compiled code inside an fmb does no good. Oracle has been doing it from the beginning of client/server forms, along with storing a copy of the color palette, too. In BOTH situations, this has caused issues with forms, especially when moved from one environment to another. In my workplace, we make SURE we always store production forms WITHOUT the compiled code. They transport quicker due to smaller file size, and they compile cleaner in the users environments.

  • How to compile all forms in a directoy at time?

    Hi friends, thank for your replies for the previous questions.
    Now
    How to compile all form modules located in a directory
    at a time? usually what I know is opening form one by one
    and compile it. But I want to compile all forms and create
    executable files at a time.
    Is project Builder helpfule to achive this??
    thanks
    madhu

    Yes, his file is useful -- it should run on Windows XP. You need to copy the above text into a file using a standard text editor, something like Notepad. To run it, you open a Cmd.exe DOS window on your pc, change directory (CD) to the folder where your forms are, and enter the command script file name.
    Here are several more links to other topics in this forum asking how to do the same thing:
    Re: How To Compile 370 forms ?
    Re: Creating Oracle 10g Forms and Reports Builds

  • Error while compile a form In R12

    Hi all,
    I am tryng to compile a Form in R12,
    But it is showing below error
    [applmgr@apps US]$ frmcmp_batch.sh module=XXDARXTWMAI.fmb userid=apps/apps@VIS Module_Type=FORM
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    [b]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.5.0 Production
    ORA-12154: TNS:could not resolve the connect identifier specified
    Form not created
    can u please suggest any thing on this one.
    Thanx
    Lakshmi Narasaiah
    Message was edited by:
    Lakshminarasaiah
    Message was edited by:
    Lakshminarasaiah

    Check the other thread:
    How to compile a form In R12
    Re: How to compile a form In R12

  • How to display different Time Statement forms in ITS service PZ04

    Hi all,
    I am working on a underlyinge R/3 4.7 system and are working with standalone ITS and ESS 50.4. I am posting this question to find out if any of you has experience with my problem.
    The business wishes to use the ITS transation PZ04 standard and wish to be able to display different Time Statement forms in the transaction through customized variants for the report(RPTEDT00) that the PZ04 transaction executes. In the IMG it is posted that one variant has to be created called HRESS_TEDT00 and this works, but restricts the PZ04 transaction to always be called with this variant and therebye the same Time Statement form every time.
    I then by debugging found that the underlying ABAP code processed from SAP standard has a variable VARIANT that is hardcode to = HRESS_TEDT00.
    The question is: Is there anyway to setup the PZ04 transaction so that it can be dynamic decided which variant should be used, f.ex. from persons subarea from infotype 0001?
    Looking forward to here if anybody can help.
    Regards,
    Allan Brauer

    hi allan,
    cud u plz help me how to sort out this problem actually in mu company the same scenario is here need to be display pe51 form instead of standard hrforms.....
    plz help me how will i replace this "hrforms with pe51"..

  • How to compile a Form in Unix

    Dear all
    I am using forms 10G.
    I have a form and I want to compile it in Unix .
    Can you please tell me the solution step by step .
    I was reading the old blogs here ,and tried the same but did not get the solution .
    Please help me .

    for %%f IN (*.fmb) do frmcmp.sh userid=userid/password@DB1 module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    Is this comand will work ?On Windows yes, on Unix no, that's the Windows syntax.
    How can I give the fmb name instread of "compile_all=yes " ?"compile_all=yes" doesn't mean compile all forms, but compile all Pl/Sql code within the form. On Linux I use something like the following :. $HOME/.bash_profile
    export Filename=$1
    if [ "$Filename" ]
    then
      Filename=`echo $Filename | cut -f1 -d"."`
    else
      Filename=*
    fi
    for FRM in $Filename.fmb
    do
            echo $FRM
            $ORACLE_HOME/bin/frmcmp.sh $FRM username/password@DB module_type=form 1>$FRM.log 2>&1
    doneIf you execute the script with a form name as argument, only that form will be compiled, otherwise all forms within the directory will be compiled.

  • How to compile a form In R12

    Hi All,
    I am trying to compile a form in R12 by using frmcmp ,but it is showing
    FRM-91500: Unable to start/complete the build. error.
    can any body please tell how to resolve this problem
    By lakshmi Narasaiah

    check Note: 431324.1 - Manual forms compilation In R12 fails With: FRM-91500: Unable to start/complete the build
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=431324.1
    To implement the solution, please execute the following steps:
    1. Download and review the readme and pre-requisites for Patch 5456500 - FRMBLD.SH IS POINTING TO WRONG TNS_ADMIN
    2. Ensure that you have taken a backup of your system before applying the recommended patch.
    3. Apply the patch in a test environment. (you will get the message the patch already exist or conflicts, just ignore and continue)
    4. Retest the issue.
    5. Migrate the solution as appropriate to other environments

  • Shell script for batch compilation of forms 10g on AIX 5.3L AS

    Hi All,
    Can anybody provide me the Shell script for batch compilation of forms 10g and reports 10g on AIX 5.3L AS?
    Regards,
    SAM

    Hi Alex,
    I tried with the below script as well as the one you had posted.
    ORACLE_HOME=/opt/oracle/OraHome_3
    export ORACLE_HOME
    TNS_ADMIN=$ORACLE_HOME/network/admin
    export TNS_ADMIN
    LIBPATH=$ORACLE_HOME/lib32:$ORACLE_HOME/jdk/jre/bin:$ORACLE_HOME/jdk/jre/bin/cla
    ssic:$LIBPATH
    export LIBPATH
    cd ../forms
    for i in `ls *.pll`
    do
    echo Compiling Library $i ....
    $ORACLE_HOME/bin/frmcmp module=$i userid=mydbuser/mydbuser@mydb
    batch=yes module_type=library
    compile_all=yes window_state=minimize
    done
    export ORACLE_HOME=/opt/oracle/OraHome_3
    export ORACLE_TERM=vt220
    export LD_LIBRARY_PATH=/opt/oracle/OraHome_3/lib:/opt/oracle/OraHome_3/jdk/jre/l
    ib:/opt/oracle/OraHome_3/jdk/jre/lib/i386:
    cd ../forms
    for i in `ls *.pll`
    do
    echo "Compiling Library $i ...."
    /opt/oracle/OraHome_3/bin/frmcmp module_type=form userid=mydbuser/mydbuser@mydb
    module=$i batch=yes compile_all=no
    window_state=minimize upgrade=no
    done
    echo "PLL Compilation done"
    But there was a same kind of error thst turning up all the time.
    Compiling Library Agf.pll ....
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.4.0 Production
    FRM-10043: Cannot open file.
    Form not created
    I hence updated the permissions on the pll as below
    -rwxrwxrwx 1 oracle oinstall 335872 May 19 16:31 Agf.pll
    But the problem is still persisting.
    My environment details are as below.
    I am working on Win XP machine. Connected to my AS via telnet and xmanager. I have set my DISPLAY to my local IP.
    Is there any thing more that I need to do? If so then let me know.
    Regards,
    SAM

  • Problem in compiling my form

    hi gurus,
    I installed Forms 10 release 1 and compiled a form and place in my apps server. It worked perfectly.
    Later today, I wanted to use the webutil features(not in this form) and installed Forms 10g Release 2 with webutil. and compiled my forms. It compiled perfectly in Windows.
    But when I moved to apps server and compiled it there, it gives me Buss error(coredump). I don't what is it pertaining to.
    Please help me on this regard.

    is your apps server 10gR1? and did you perform your compile on your form which worked previously also with 10gR2 compiler?
    If so, the 10gR2 Forms Compiler migrated your fmb file to 10gR2, and the 10gR1 Compiler won't be able to compile it for my mind...
    But I don't know how to migrate a form back to 10gR1, but probably you should upgrade your apps server to 10gR2 too?
    regards

  • Compile all forms 6i in Unix

    i am able to compile one form at a time but how do I compile all forms, for some reason I created a new form, ftp it, then compiled it , it runs in Oracle Apps environment however all other forms are inactive, I believe I have to recompile all forms (am i right?) but I dont know how to do this , here is the code I have to compile one form
    $ ls -l /u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb
    $cp /u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb /u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb_070415
    $ ls -l /u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx
    $ cp /u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx /u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx_070415
    $ put the form source onto this host in the following directory
    $ cd /u01/app/appl/au/11.5.0/forms/US
    $ $ORACLE_HOME/bin/f60gen module=/u01/app/appl/au/11.5.0/forms/US/BGQTRAIN.fmb userid=apps/dbaapps output_file=/u01/app/appl/xxbsi/11.5.0/forms/US/BGQTRAIN.fmx module_type=form batch=yes compile_all=special
    $ more BGQTRAIN.err
    <no errors found>

    Try out
    Forms/Reports 6i
    #UNIX Forms Compile
    #compile_forms.sh
    for i in `ls *.fmb`
    do
    echo Compiling Form $i ....
    f60genm userid=scott/tiger@bs817 batch=yes module=$i module_type=form
    compile_all=yes window_state=minimize
    done

  • Form Compiles in Forms Builder but not Unix?

    I have a form that compiles fine in Forms Builder (Version 6.0.8.11.3). When trying to compile the form on a Solaris Middleware Server it fails and gives several errors similar to the following:
    Compiling WHEN-NEW-BLOCK-INSTANCE trigger on SFTREGS data block...
    Compilation error on WHEN-NEW-BLOCK-INSTANCE trigger on SFTREGS data block:
    PL/SQL ERROR 201 at line 4, column 37
    identifier 'SATURN.SFTREGS' must be declared
    PL/SQL ERROR 0 at line 4, column 4
    SQL Statement ignored
    I realize that these same errors in Forms Builder if I have not connected to the database (Version 9.2.0.4.0) before compiling so I'm guessing that there is some environment variable set incorrectly on the middleware server. I'm quite new to Unix and am not sure what variables I should be looking at...any thoughts?

    We have tried both commands as indicated. We get the same errors that were in the original post as outlined below;
    Compiling PRE-INSERT trigger on form...
    No compilation errors.
    Compiling WHEN-NEW-FORM-INSTANCE trigger on form...
    No compilation errors.
    Compiling POST-QUERY trigger on SPRIDEN data block...
    No compilation errors.
    Compiling POST-BLOCK trigger on SPRIDEN data block...
    No compilation errors.
    Compiling KEY-NEXT-ITEM trigger on SPRIDEN_ID item in SPRIDEN data block...
    No compilation errors.
    Compiling WHEN-NEW-BLOCK-INSTANCE trigger on SFTREGS data block...
    Compilation error on WHEN-NEW-BLOCK-INSTANCE trigger on SFTREGS data block:
    PL/SQL ERROR 201 at line 4, column 37
    identifier 'SATURN.SFTREGS' must be declared
    PL/SQL ERROR 0 at line 4, column 4
    SQL Statement ignored
    PL/SQL ERROR 320 at line 4, column 11
    the declaration of the type of this expression is incomplete or malformed
    PL/SQL ERROR 0 at line 13, column 7
    SQL Statement ignored
    Compiling WHEN-VALIDATE-ITEM trigger on SFTREGS_TXT_TOTAL_BILLING_HOUR item in SFTREGS data block...
    Compilation error on WHEN-VALIDATE-ITEM trigger on SFTREGS_TXT_TOTAL_BILLING_HOUR item in SFTREGS data block:
    PL/SQL ERROR 201 at line 2, column 6
    identifier 'SATURN.SFTREGS' must be declared
    PL/SQL ERROR 0 at line 1, column 1
    SQL Statement ignored
    Compiling WHEN-NEW-BLOCK-INSTANCE trigger on SYSMUSA data block...
    No compilation errors.
    Compiling PRE-INSERT trigger on SYSMUSA data block...
    No compilation errors.
    Compiling POST-UPDATE trigger on SYSMUSA data block...
    Compilation error on POST-UPDATE trigger on SYSMUSA data block:
    PL/SQL ERROR 201 at line 3, column 6
    identifier 'SMLOCAL.SYSMUSA' must be declared
    PL/SQL ERROR 0 at line 1, column 1
    SQL Statement ignored
    Compiling ON-ERROR trigger on SYSMUSA data block...
    No compilation errors.
    Compiling WHEN-NEW-BLOCK-INSTANCE trigger on SGRSATT data block...
    No compilation errors.
    Compiling POST-QUERY trigger on SGRSATT data block...
    No compilation errors.
    Compilation errors have occurred.
    Any further thoughts?

  • How to compile many forms in a HP-UX

    Hi,
    to compile a form i use
    f60gen module userid
    but this work for one form at a time
    i would like to generate for all form in a script

    Yes, his file is useful -- it should run on Windows XP. You need to copy the above text into a file using a standard text editor, something like Notepad. To run it, you open a Cmd.exe DOS window on your pc, change directory (CD) to the folder where your forms are, and enter the command script file name.
    Here are several more links to other topics in this forum asking how to do the same thing:
    Re: How To Compile 370 forms ?
    Re: Creating Oracle 10g Forms and Reports Builds

  • Can't compile the Forms,please help me.

    when I compile the form in Linux, I got the following error:
    ======================================================
    error while loading shared libraries: libig.so.0: cannot open shared object file: No such file or directory
    ==========================
    and I can find this file under
    /ora11510/oracle/visora/8.0.6/lib/
    Can you help me to resolve it? Thanks.

    Hi...
    How are you compiling the form in linux? are you using frmcmp (or f90genm for Forms 9i) executable? If so, try using frmcmp.sh script (its also available in $ORACLE_HOME/bin).
    If it does not work either, try setting LD_LIBRARY_PATH to $ORACLE_HOME/lib:$ORACLE_HOME/lib32
    HTH.
    Regards,
    Arun

  • Error in Compiling a form on Unix.

    I not getting changes made to an existing form to compile in Unix. I have tried using the command line as well as compiling in Forms Builder.
    Please help.
    Thanks.

    Instead of calling the command from the windows shell command interface, I was able to call the compilier from Data Services; this problem is now resolved.

Maybe you are looking for

  • Can not purchase from app store invalid apple ID

    I have an old email address that my brother used years ago as an apple ID.This email address doesn't exist today and I never ok'd it's use in the first place but every time I want to make a purchase from the app store that old email address comes up

  • Fraudulent purchase from Addmired, Inc, for Global War & Global War HD?

    I didn't purchase any apps today, free or paid until the end of the night when I finally broke down to buy Tapatalk.  When I tried to buy it said I did not have enough credit for the $2.99 purchase.  I couldn't see much on my iPhone so I hopped on my

  • Trying to build a system that limits the user to one program.

    I work in a tinkering space for a children's museum in the United States, in this space we have a different project every month.  I've been working on a month during which we would focus on programming logic.  This will encompass real world examples

  • Deployment issue with SOA - OSB 11g  environment

    Hi, We have Dev Environment configured with SOA 11g (11.1.1.4) and OSB 11g (11.1.1.4) on a single weblogic domain. Developed SOA composite app and deployed to the SOA Server. We are exposing our SOA Composite thru OSB ( created osb proxy and business

  • How do you set up a contact form with response in Muse?

    Contact forms are so easy in WordPress, there must be a way to set one up in Muse when a third party (1and1) is hosting your site.