Compiling forms 10g on AIX

Hi list,
I have installed Forms and Reports Standalone 10g on AIX system.
My forms are developed on windows.
I can compile and test successfully my forms on AIX.
I would like to know if it is possible (and how) to compile forms with an other user than the oracle user where standalone is installed.
I have tested it with a user with dba group, but I always have the FRM-91500 error message (I don't know how to trace the compiling process).
Thanks for any reply.
Regards.
Didier QUIMERCH

Hi Craig,
from another source I got the following suggestion, which I am hoping to try out in the test environment ASAP:
AIXTHREAD_SCOPE=S The default value for this variable is P, which signifies process-wide contention scope (M:N). For Java applications, you should set this value to S, which signifies system-wide contention scope (1:1).
AIXTHREAD_MUTEX_DEBUG=OFF Maintains a list of active mutexes for use by the debugger.
AIXTHERAD_COND_DEBUG=OFF Maintains a list of condition variables for use by the debugger.
AIXTHREAD_RWLOCK_DEBUG=OFF Maintains a list of active mutual exclusion locks, condition variables, and read-write locks for use by the debugger. When a lock is initialized, it is added to the list if it is not there already. This list is implemented as a linked list, so searching it to determine if a lock is present or not has a performance implication when the list gets large. The problem is compounded by the fact that the list is protected by a lock, which is held for the duration of the search operation. Other calls to the pthread_mutex_init() subroutine must wait while the search is completed. For optimal performance, you should set the value of this thread-debug option to OFF. Their default is ON.
SPINLOOPTIME=500 Number of times that a process can spin on a busy lock before blocking. This value is set to 40 by default. If the tprof command output indicates high CPU usage for the check_lock routine, and if locks are usually available within a short amount of time, you should increase the spin time by setting the value to 500 or higher.
Cheers,
Morten

Similar Messages

  • How To Compile Forms 10g Devloped in Windows For Deployment In RHEL

    can any budy give me script file for compiling forms 10g ,which i developed in windows and need to be deployed in RHEL 5
    How To Compile Forms 10g Devloped in Windows For Deployment In RHEL 5
    any budy plzzz help

    You could try something like this:
    for i in `ls *.pll`
    do
    echo Compiling Library $i ....
    frmcmp.sh userid=me/me@medb batch=no module=$i module_type=library compile_all=yes window_state=minimize
    done
    for i in `ls *.mmb`
    do
    echo Compiling Library $i ....
    frmcmp.sh userid=me/me@medb batch=no module=$i module_type=menu compile_all=yes window_state=minimize
    done
    for i in `ls *.fmb`
    do
    echo Compiling Library $i ....
    frmcmp.sh userid=me/me@medb batch=no module=$i module_type=form compile_all=yes window_state=minimize
    done

  • How To Compile Forms 10g Devloped in Windows For Deployment In RHEL 5

    can any budy give me script file for compiling forms 10g ,which i developed in windows and need to be deployed in RHEL 5
    How To Compile Forms 10g Devloped in Windows For Deployment In RHEL 5
    any budy plzzz help

    Why not ask over at the Forms forum?
    Forms
    This is the Oracle Designer forum

  • 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

  • Problems compiling forms (10g)

    Hi There,
    I am trying to compile a .fmb file that was provided to me. I am getting a number of compilation errors, but they seem to be related to standard libraries, rather than the source of this file. I must be missing something major/simple and hope you can help.
    Here is an example of an error I get:
    Function body: CGTE$CHECK_CONSTRAINT_VIO
    -identifier 'CGTE$STRIP_FIRST_ERROR' must be declared
    This is the code I see when I click on the error:
    /* CGTE$CHECK_CONSTRAINT_VIO */
    FUNCTION CGTE$CHECK_CONSTRAINT_VIO(
    P_SERVER_ERR IN NUMBER /* Server error message */
    ,P_SERVER_MSG IN VARCHAR2) /* Server error number */
    RETURN BOOLEAN IS
    /* Check and report Primary/Unique Key, Check Constraint and User */
    /* Defined Constraint violations */
    constraint_name VARCHAR2(61); /* Violated constraint */
    BEGIN
    /* Check if the error code is one we are interested in */
    IF ( NOT (P_SERVER_ERR IN (1, 2290) OR
    (P_SERVER_ERR >= 20000 AND P_SERVER_ERR <= 20999) ) )
    THEN
    RETURN( FALSE );
    END IF;
    /* Deal with user defined errors */
    IF (P_SERVER_ERR >= 20000 AND P_SERVER_ERR <= 20999) THEN
    MESSAGE('Error: '||CGTE$STRIP_FIRST_ERROR(P_SERVER_MSG));
    RETURN( TRUE );
    END IF;
    /* Deal with Primary/Unique Key and Check Constraint violations */
    constraint_name := CGTE$STRIP_CONSTRAINT(P_SERVER_MSG);
    IF (P_SERVER_ERR = 1) THEN
    IF (constraint_name = 'MOE_PREF_TYPES_PRIM') THEN
    MESSAGE('Error: Row exists already with same Code');
    ELSIF (constraint_name = 'MOE_PREFERENCES_PRIM') THEN
    MESSAGE('Error: Row exists already with same User ID,Preference');
    ELSIF (constraint_name = 'MOE_PREF_TYPES_PRIM') THEN
    MESSAGE('Error: Row exists already with same Code');
    ELSIF (constraint_name = 'MODHLP_PK') THEN
    MESSAGE('Error: Row exists already with same Id');
    ELSE
    MESSAGE(P_SERVER_MSG);
    END IF;
    ELSIF (P_SERVER_ERR = 2290) THEN
    IF (constraint_name = 'MODHLP_CANVAS_ITEM_CHKCON') THEN
    MESSAGE('Error: You cannot specify a item-context without a canvas-context');
    RAISE FORM_TRIGGER_FAILURE;
    ELSE
    MESSAGE(P_SERVER_MSG);
    END IF;
    END IF;
    RETURN( TRUE );
    END;
    So to my newbie's eye, this 'CGTE$STRIP_FIRST_ERROR' looks like a global that's not being found, even though the function is. Can someone help shed some light on this?
    TIA, J

    First up on I am sorry to asking this way of Questinon.
    ======================================
    Here is an example of an error I get:
    Function body: CGTE$CHECK_CONSTRAINT_VIO
    -identifier 'CGTE$STRIP_FIRST_ERROR' must be declared
    I am trying to compile a Oracele Forms .Fmb file that was I created for to collect input Data from User. I am getting a number of compilation errors,
    but they seem to be related to standard libraries,
    rather than the source of this file. I am using FORMS 6i and REPORT 6i wiht Oracle 9i Database.
    I find out the PLL File (OFGTEL.PLL) and it was there in another computer hard drive.
    Any how i want to compile my form without any error if
    am sucess to do it i can trap all error on various
    levels of constraints and want to give apropriate error
    message whenever a user atempting to violate a ny
    foreginkey/primary key/check/unique key constraints.
    So I copied the OFGTEL.PLL this file in to my computer
    in one folder and tried to attach this library
    file(OFGTEL.PLL) into my forms.
    I am getting this error message
    Attached library name
    D:\MyOfficeProject\Library\OFGTEL.PLL contains a non
    -portable directory
    And following messages geting while i attempting to
    open or attache this library file into my forms
    PDE-PL1018 Could not find library Ofgmes.
    Attached library name
    D:\MyOfficeProject\Library\OFGTEL.PLL contains a non
    -portable directory specification. Remove path?
    I don't know why this message is coming i have a doubt
    this OFGTEL.PLL File is an oracle Designer file and I
    am trying to open this one in FORMS6i?
    your kind consideration and help on this topic would
    be help me toomuch in my challenging work!
    I am stuked here your soon replay would be
    appreceated.
    regards
    Rameel.

  • Compiling forms 10g on unix hpux

    Hello all,
    I need to compile my forms for unix hpux platform, as my pll and reports, can anyone please help me doing it.
    Thanks in advanced

    Hi ,
    Use the following Command :
    <ORACLE_HOME>\bin\frmcmp.sh Userid=<CONNECTION_STRING> Module=<MODULE_PATH>
    and optionally specify the Module_Type=LIBRARY in case you want to compile library ,
    Best Regards,

  • Compilation problem in Forms 10g

    Currently we are upgrading from 6i to 10g forms
    we have 2 forms which we will complie partially in 10g and the form gets closed as a corrupted file.
    The same form when complied in 6i works fine.
    What can be the possible problem.
    Please help
    Thanks
    Yaaminy
    480-262-7881

    hi
    create a batch file of the following commands and compile them i hope it helps u.
    @ECHO OFF
    cls
    Echo compiling libraries 10g ....
    for %%f IN (*.pll) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
    ECHO libraries compilation complete
    ECHO ----------------------------------
    Echo compiling menus 10g ....
    for %%f IN (*.mmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
    ECHO menus compilation complete
    ECHO ----------------------------------
    Echo compiling forms 10g ....
    for %%f IN (*.fmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    ECHO form compilation complete
    ECHO ----------------------------------
    ECHO Form Compilation completesarah

  • Forms 10g compile : syntax error near unexpected token `in

    Hi,
    I am writing a code to compile FORMS 10g(10.1.2.0.2) in HP_UX one by one.
    this is the code---frm10g.sh
    *#!/bin/ksh*
    *# . ~oracle/forms/server/default.env*
    *# . sid icache*
    TERM=vt220
    *if [ $# != 2 ]*
    then
    echo Usage : $0 module_name module_type
    exit 1
    fi
    case $2 in
    FORM|form|F|f) ext1='fmb' ;ext='fmx' ; modtyp='FORM' ;;
    PLL|pll|p|lib|LIB) ext1='pll' ;ext='plx' ; modtyp='LIBRARY' ;;
    MENU|menu|M|m) ext1='mmb' ;ext='mmx' ; modtyp='MENU' ;;
    **) echo invalid parameter ; exit 1 ;*
    esac
    echo Generating $1.$ext
    frmcmp module=$1.$ext1 userid=abc/abc@abc output_file=../$1.$ext module_type=$modtyp batch=NO compile_all=special > ./log/$1.log
    when I try to excute above file frm10g.sh in command line i get following error. Please let me know how to fix it.
    [abc]u01/app/oracle/product/10.1.2/forms/forms/Forms10g:. frm10g.sh INV FORM
    : command not found
    : command not found
    'bash: ./frm10g.sh: line 13: syntax error near unexpected token `in
    'bash: ./frm10g.sh: line 13: `case $2 in
    I really aapreciate your help.
    Thanks
    Sandy

    Sandy,
    I must apologize. The Compile.sh does not come with the Oracle Dev Suite installation. However, the following is the contents of the compile.sh script we use. This script compiles a single form.
    #!/usr/bin/ksh
    ORACLE_HOME=/d01/oracle/ias1012;export ORACLE_HOME
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/ctx/lib:/usr/java1.2/jre/lib/sparc:$ORACLE_HOME/jdk/jre/lib/sparc:/usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ucblib:usr/ccs/lib; export LD_LIBRARY_PATH
    MODULE_NAME=`echo $1|cut -d. -f1`
    MODULE_SUFFIX=`echo $1|cut -d. -f2`
    MODULE_MESG=${2:-"Compiling $1"}
    OK_MESG=${3:-"  Compiled sucessfully"}
    . .setpass_cir
    APP_PW='cir/'`eimauth -g cir`'@database'
    echo "************************************************************************* "
    echo ${MODULE_MESG}
    frmcmp.sh module=/d01/oracle/forms/${MODULE_NAME}.fmb userid=${APP_PW} compile_all=yes batch=yes
    RC=$?
    case "$RC" in
      0)
        echo ${OK_MESG}
        echo "Compile errors, return code: $RC "
        cat ${MODULE_NAME}.err
        echo "Compile errors in $1, press [enter] to continue.\c"
        read x
    esac
    eval exit $RCYou should be able to modify this to suit your needs.
    Craig...

  • How to compile forms 6i in Linux

    Hi Friends,
    In windows I just open a form buider gui and click compile.
    how do I compile forms in linux?
    Thanks a lot

    hi
    try the following command.
    @ECHO OFF
    cls
    Echo compiling libraries 10g ....
    for %%f IN (*.pll) do frmcmp.sh userid=User_name/pass@orcl module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
    ECHO libraries compilation complete
    ECHO ----------------------------------
    Echo compiling menus 10g ....
    for %%f IN (*.mmb) do frmcmp.sh userid=User_name/pass@orcl module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
    ECHO menus compilation complete
    ECHO ----------------------------------
    Echo compiling forms 10g ....
    for %%f IN (*.fmb) do frmcmp.sh userid=User_name/pass@orcl module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    ECHO form compilation complete
    ECHO ----------------------------------
    ECHO Form Compilation completei hope it will help u.
    sarah

  • Compile forms and reports in linux os

    hi,
    i like to know how to compile forms and reports in linux os?
    please provide me the commands for compiling of forms and reports.
    Regards
    Ravikumar.A

    hi
    i do not know u r form version but the following command is for Forms [32 Bit] Version 10.1.2.0.2 (Production)
    try this.
    @ECHO OFF
    cls
    Echo compiling libraries 10g ....
    for %%f IN (*.pll) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=library compile_all=yes window_state=minimize
    ECHO libraries compilation complete
    ECHO ----------------------------------
    Echo compiling menus 10g ....
    for %%f IN (*.mmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=menu compile_all=yes window_state=minimize
    ECHO menus compilation complete
    ECHO ----------------------------------
    Echo compiling forms 10g ....
    for %%f IN (*.fmb) do frmcmp userid=User_name/pass@orcl module=%%f batch=yes module_type=form compile_all=yes window_state=minimize
    ECHO form compilation complete
    ECHO ----------------------------------
    ECHO Form Compilation completefor linux i think its frmcmp.sh just make changes here.
    sarah

  • ERROR compiling Oracle Forms 10g

    Hi,
    I am getting the following error while compiling Oracle 10g Forms on HP-UX 11.11:
    ./frmcmp_batch.sh module=/home/sneha/IAS_Upgrade/My_Forms/MY_MENUS.fmb USERID=user1/test123@orcl module_type=FORM OUTPUT_FILE=
    /home/sneha/IAS_Upgrade/OUTPUT/MY_MENUS.fmx compile_all=yes upgrade=yes build=yes
    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.
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.5.0 - Production
    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 am using Oracle 9.2.0.5 database and AS 10.1.2.
    The forms were earlier compiled on IAS 9.0.4
    Could someone please guide me as how to resolve this error?
    Thanks in advance,
    Sneha

    The problem was with a few environment variables. Our DBA has changed the convention of f90 and hence the change in environment variables.
    The problem is solved now.
    Thanks a lot for your help.
    -Sneha

  • How to compile a form built in forms 10g on windows platform?

    Hi All,
    I have built a 10g form on my local desktop on windows 7 and compiled/deployed it in apps on linux server.
    I need to deploy the same form fmb on oracle apps hosted on windows platform. Please let me know if fmb works fine or not. And also provide how to compile form in windows platform..like frmcmp_batch command
    Thanks,
    Veena

    The fmb, mmb, and pll files are portable to any platform where Forms can be installed. Every installation that supports running Forms comes with the necessary components to generate the executible files (fmx, mmx, plx). On your Windows machine, if you have the Builder installed, you can generate an FMX using the Builder. If not, you can directly use the compiler. The compiler has a gui option and a command line option. If you do not pass any arguments into the executible (frmcmp.exe) the GUI will start. Alternatively you can generate from the command line (DOS). You may need to set PATH, ORACLE_HOME, TNS_ADMIN, and possibily some others in the DOS shell in order for it to work.
    If you have access to MyOracleSupport, refer to the following note:
    <blockquote>Moving Forms Applications From One Platform Or Machine To Another (Doc ID 299938.1)</blockquote>
    Example:
    <blockquote>frmcmp.exe module=myForm module_type=form userid=scott/tiger@orcl compile_all=yes</blockquote>
    More options are discussed in the Builder Online help and the compiler help.

  • Compile .fmb file in UNIX with forms 10g

    HI,
    Can someone help me in compiling a .fmb file in UNIX? I have created this .fmb file in Forms 10g.I have Oracle Applications in the Front end. I am unable to figure out the commands to compile the form which generates a .fmx file.
    I have placed the .fmb file in the UNIX directory. As Forms6i has f60gen....and 9i has f90gen...I want to know the code that I must execute in the command prompt of the UNIX server. I am a fresher to this. So please explain in as detail as you can.
    Thanks
    Dev

    if the previous doesn't help
    just put something like this :
    find where the frmcmp.sh is located an put the fully qualified path there
    make also sure you execute it with the right user! (normally oracle)
    I don't know if I already mentioned it bu be aware that you need to have an Xdisplay if your working with frmcmp.sh .
    There is a batch command to I believe that doesn't need the Xdisplay
    Remember you can use any display of any machine
    If you set your display to another hosts screen, type xclock on your prompt and the clock should appear on the others screen.
    If you don't know how to look for the command ....
    If it is in your PATH -->" type frmcmp.sh " will give you the directory
    If not go to <oracle_home> eg /opt/oracle -- > " find . -name frmcmp.sh "
    Erwin

  • How to open the forms in Form 9i which are saved and compiled in Forms 10g?

    Dear all,
    i have froms created with form 10g. now i want to open it in form 9i it gives the following error:
    FRM-30085 : Unable to adjust form for output.
    can i open it in form 9i?
    Regards:
    Muhammad Nadeem
    [email protected]

    you can't downgrade forms through different versions. Never ever do that. It's not supported.

  • Cannot Compile Forms

    I cannot compile forms for FLEXCUBE sitting on the Oracle 10g using the allcompile.sh. I upgraded my AIX maintenance level from 5.3.0.0 - 02 to 5.3.0.0 - 03. After that I tried to compile a form but now it is saying failed. Can anyone assist me?

    Try to contact i-flex solution and to give them the error message and/or message.
    http://www.iflexsolutions.com/iflex/ContactUs/ContactOffices.aspx?mnu=p7s1

Maybe you are looking for

  • General Reporting Issue

    Dear Experts, i need your advises for an issue regarding a reporting idea, i am working in Telecom company and as you know, there is alot of reports requested daily from END users, some of these reports can be moved to discoverer to let the users gen

  • Complete novice! how do i install ms office on macbook pro - have disks and USB superdrive

    Hi, I'm a complete novice.  How do i install MS Office on MacBook Pro - have disks and USB Superdrive?

  • Varray in Oracle 8i

    Hello Oracle World, I have one Problem with an varray. Problem description: I get a string like '123|456|789|...' into the procedure. I have changed the string with a replace function "v_rufnummer_mod:=''''||replace(v_rufnummer,'|',''',''')||'''';" -

  • Solaris 10 x86 Boot Issue

    Hi, I've installed Solaris 10 for x86 into my P4 machine. It has three partitions - two of them are being used by Win2K Advanced Server and in the 3rd one Solaris 10 was installed. Installation was successful and the Boot manager is working fine. I c

  • Documentation Templates

    Hello Experts, I have read some documentations about certificate a sap portal solution. In this document I have read that SAP provides a various list of templates for the deliverables for certification process. Who could tell me a link to these docum