Forms 11g Batch Compilation Script

Hi,
I have seen few threads in this forum on the topic "Batch Compilation of Forms"
For instance batch file to convert fmb to fmx
But i could not find a way to do the batch compilation in Forms 11g?
How do I batch compile my Forms in 11g?
Thanks,
Ram

Nothing has changed from the old versions to version 11. Compilation is done the same way as it always has in the past. The only difference (depending on which version you start from) is the the name and location of the compiler executible. The new file name is frmcmp (.exe if you are using Windows and .sh for Unix). All old example scripts should work in the new version as long as you make this change.

Similar Messages

  • Forms 11g Server compilation issues: FRM-18108: Failed to load the following objects

    Attempting to upgrade to 11g (Forms 11 Version 11.1.2.1.0 on Linux) from 9i.
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    Compiling an FMB on the server (not windows PC) is giving error FRM-18108: Failed to load the following objects. The compiler is unable to find OLB files and PLL files. This seems to be a config issue but I cannot track it down.
    We have a /nhbcapps/lib for library and object library (pll, olb) files and we have a /nhbcapps/bin for executables (mmx, fmx, plx)
    We have our own envmt file, cdb.env (in same folder as default.env):
    FORMS_PATH=/nhbcapps/bin:/nhbcapps/lib:/app/oracle/Middleware/Oracle_FRHome2/forms:/app/oracle/Middleware/asinst_1/FormsComponent/forms
    PATH=/nhbcapps/bin:/nhbcapps/lib:/app/oracle/Middleware/Oracle_FRHome2/bin:/app/oracle/Middleware/Oracle_FRHome2/jdk/bin
    formsweb.cfg:
    envFile=cdb.env
    Please could anyone help get this working?

    Your module NC_REF.fmb (or NC_REF.olb), which is referenced for shared objects, cannot be found. The best way to test it is to place it in the working directory (the start-in directory of the windows shortcut from where you launch Forms Builder). That way you are independent from the FORMS60_PATH, because the working directory is searched first.

  • 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

  • Error FRM-30312 while compiling a custom pll library on forms 11g weblogic

    hi,
    this is my case:
    Im trying to upgrade a forms 10g application to 11g, using FORMS 11g v11.1.1.3 and WEBLOGIC server v10.3.3.
    Forms files compiled correctly, also webutil.pll was correctly compiled.
    but if I try to compile my custom pll I can see the error...
    when I run application, this erros msg appears:
    FRM-40735: ON-ERROR trig raised unhandled exception ORA-06508
    I have this script to compile .pll files (libraries):
    +#SCRIPT TO COMPILE LIBRARIES+
    export ORACLE_INSTANCE=/opt/oracle/Middleware/asinst_1
    export ORACLE_HOME=/opt/oracle/Middleware/as_1
    export ORACLE_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export FORMS_PATH=/opt/legadmi/pll:/opt/legadmi/formas
    export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    export FORMS_DEFAULTFONT="Lucida.9"
    for i in `ls *.pll`
    do
    echo Compiling: $i ....
    file=$i
    +$ORACLE_INSTANCE/bin/frmcmp.sh Module=$i Userid=user/pwd@db Module_Type=LIBRARY Batch=YES+
    done
    But this error is shown:
    Compilation errors on RP2RRO:
    PL/SQL ERROR 201 at line 106, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 106, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 123, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 123, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 153, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 153, column 8
    Statement ignored
    PL/SQL ERROR 201 at line 169, column 8
    identifier 'RUN_PRODUCT' must be declared
    PL/SQL ERROR 0 at line 169, column 8
    Statement ignored
    Failed to generate library.
    FRM-30312: Failed to compile the library.
    I tried finding the string on the source code and delete or replace, but the only strings remainding are for example "RP2RRO_RUN_PRODUCT()", It looks like compiler finds the string within the entire word.
    I need help.

    InoL, Thank you very much.
    I know rp2rro.pll was there, and I compiled it successfully, and place it to the correct folder.
    but I did not know that my custom pll had the rp2rro as a program unit.
    I solve this problem replacing the code inside my custom library with the rp2rro.pll code that comes with forms 11g
    THANKS again.

  • Error while compiling a custom pll with forms 11g and weblogic

    Hi there,
    I just posted a thread here:
    Error FRM-30312 while compiling a custom pll library on forms 11g weblogic
    please, I need help

    Why wouldn't you post in the proper forum, i.e the Forms forum

  • Forms 11g frmcmp gives Aborted (core dumped) error while compiling pll

    Hello
    We've installed oracle forms 11.1.2 on our linux server and are now trying to recompile all form objects from our previous release (10g).
    All forms compile without much problems, but some pll's (not all) fail with the error: Aborted (core dumped).
    Is there any way to find out what might be happening? I don't seem to find any log about what is causing this problem.
    Any input or ideas are more then welcome.
    Regards
    Johan
    Edited by: vanvojo on Sep 12, 2012 10:57 PM

    I had the same problem on my development machine; I solved it by converting all pll files to pld files with the 10g reports compiler and convert them back to pll with the 11g reports compiler. I noticed that the problem is most likely to occur on libraries having a lot of other libraries attached which are not converted to 11g yet, so it also might be that you can solve the problem by changing the compile-order. But anyway the reports compiler solved this problem for me without ordering the compilation steps ;)
    cheers

  • How to batch compile Oracle Reports ?(just like the code for compiling forms)

    The following is for Batch compiling forms..
    IF %1=="" GOTO END
    DEL *.FMX
    FOR %%F IN (*.FMB) DO START /W Ifcmp60 USERID=%1 BATCH=Y MODULE=%
    %F
    :END
    Any idea for compiling all reports using a technique just like
    this..

    User dbms_ldap package in the database to use PL SQL to create your database
    account and then an OID account with a RAD to match the database login. If you
    You may have to load the DBMS_Ldap package from the database ADMIN directory first to be available in the database.
    LDAP SQL Ex.
    user_username := LOWER(new_user) || '@domain.com'; -
    retval := dbms_ldap.search_s(my_session, ldap_base,
    dbms_ldap.scope_subtree, 'uid=' || user_username, my_attrs, 0,
    my_message);
    retval := dbms_ldap.count_entries(my_session, my_message);
    my_entry := dbms_ldap.first_entry(my_session,my_message);
    my_dn := dbms_ldap.get_dn(my_session,my_entry);
    dbpassword := 'PASSWD01';
    isvalidrad := forms_rad.newraddefinition(radname,new_user,dbpassword,
    dbtnsnames,errormessage);
    sessionestablished := forms_rad.createoidsession(ldap_user, ldap_passwd,
    ldap_host, ldap_port, ldap_base);
    radcreated := forms_rad.createradforcn(my_dn, 'false', errormessage);
    -- Create new user's database account same as RAD account.
    v_sql := 'CREATE USER "' || new_user || '" IDENTIFIED BY ' || dbpassword ||
    ' DEFAULT TABLESPACE JLIM TEMPORARY TABLESPACE TEMP';
    EXECUTE IMMEDIATE v_sql;
    v_sql := 'GRANT CONNECT TO ' || new_user;
    EXECUTE IMMEDIATE v_sql;

  • Batch Compilation Problem(Migration)

    Hiiiiiiiiiii Gurus..
    I am on Migration Project...... and for batch compilation of Reports do any one give me the Script.. Because whatever I have is not working.
    I have no errors but also I can't get the error file,log file,output file.
    (Migration is from 5 to 10g)
    Can any one help me.........
    Regards Madhav

    Here is what I use on windows (file is called genforms.bat):
    echo "Generating PLSQL libraries"
    echo "Generating abc10.pll"
    ifcmp90.exe module=abc10.pll userid=hr/hr@db module_type=library logon=y batch=n build=y compile_all=y
    echo "Generating abc20.pll"
    ifcmp90.exe module=abc20.pll userid=hr/hr@db module_type=library logon=y batch=n build=y compile_all=y
    echo "Generating abc30.pll"
    ifcmp90.exe module=abc30.pll userid=hr/hr@db module_type=library logon=y batch=n build=y compile_all=y
    echo "Generating menus"
    echo "Generating abc10.mmb"
    ifcmp90.exe module=abc10.mmb userid=hr/hr@db module_type=menu logon=y batch=n build=y compile_all=y
    echo "Generating abc20.mmb"
    ifcmp90.exe module=abc20.mmb userid=hr/hr@db module_type=menu logon=y batch=n build=y compile_all=y
    echo "Generating abc30.mmb"
    ifcmp90.exe module=abc30.mmb userid=hr/hr@db module_type=menu logon=y batch=n build=y compile_all=y
    echo "Generating forms"
    echo "Generating abc101.fmb"
    ifcmp90.exe module=abc101.fmb userid=hr/hr@db module_type=form logon=y batch=n build=y compile_all=y
    echo "Generating abc102.fmb"
    ifcmp90.exe module=abc102.fmb userid=hr/hr@db module_type=form logon=y batch=n build=y compile_all=y
    echo "Generating abc103.fmb"
    ifcmp90.exe module=abc103.fmb userid=hr/hr@db module_type=form logon=y batch=n build=y compile_all=yUsage is:
    C:\dev><b>genforms.bat > genforms.log</b>For unix you will have to use (file is called genforms.sh):
    echo "Generating PLSQL libraries"
    echo "Generating abc10.pll"
    ifcmp90 module=abc10.pll userid=hr/hr@db module_type=library logon=y batch=n build=y compile_all=y
    echo "Generating abc20.pll"
    ifcmp90 module=abc20.pll userid=hr/hr@db module_type=library logon=y batch=n build=y compile_all=y
    echo "Generating abc30.pll"
    ifcmp90 module=abc30.pll userid=hr/hr@db module_type=library logon=y batch=n build=y compile_all=y
    echo "Generating menus"
    echo "Generating abc10.mmb"
    ifcmp90 module=abc10.mmb userid=hr/hr@db module_type=menu logon=y batch=n build=y compile_all=y
    echo "Generating abc20.mmb"
    ifcmp90 module=abc20.mmb userid=hr/hr@db module_type=menu logon=y batch=n build=y compile_all=y
    echo "Generating abc30.mmb"
    ifcmp90 module=abc30.mmb userid=hr/hr@db module_type=menu logon=y batch=n build=y compile_all=y
    echo "Generating forms"
    echo "Generating abc101.fmb"
    ifcmp90 module=abc101.fmb userid=hr/hr@db module_type=form logon=y batch=n build=y compile_all=y
    echo "Generating abc102.fmb"
    ifcmp90 module=abc102.fmb userid=hr/hr@db module_type=form logon=y batch=n build=y compile_all=y
    echo "Generating abc103.fmb"
    ifcmp90 module=abc103.fmb userid=hr/hr@db module_type=form logon=y batch=n build=y compile_all=yUsage is:
    server:/u1/app/oracle% <b>genforms.sh >> genforms.log</b>Not sure what version you are migrating from, I don't think version 5 of reports exists.

  • Issues with the batch compilation in the Linux Environment

    I was trying to compile the oracle forms using batch mode. Below is the script which I am using.
    Database Version.: Oracle 10g Release 2 for windows 64 bit
    Linux Version : SUSE Enterprise Edition Release 10
    echo Compiling Forms in Batch Mode....
    echo "----------------------------------------"
    export ORACLE_HOME=/u03/APPSERVER/portal_dev
    echo $ORACLE_HOME
    export PATH=/u03/APPSERVER/HMS/executables/forms
    echo $PATH
    export LD_LIBRARY_PATH=/u03/APPSERVER/HMS/executables/lib
    echo $LD_LIBRARY_PATH
    for i in `ls *.fmb`
    do
    echo Compiling the FORM $i...
    $ORACLE_HOME/bin/frmcmp.sh userid= HMS/HMS@IASDEV module=$i module_type=form compile_all=yes windows_state=minimize batch=yes
    echo FORM $i compiled successfully
    echo done
    done
    However, the script is giving a error line 17: ls: command not found.
    Your help is highly appreciated in this regard

    Below is the path where the frmcmp.sh and frmcmp_batch.sh exist
    */u03/APPSERVER/portal_dev/bin*
    However I am trying to execute the frmcmp.sh in the bin and the following message is shown.
    orcl@nmpt:/u03/APPSERVER/portal_dev/bin> sh frmcmp.sh
    this command is giving the following error
    frmcmp.sh: line 63: /u03/oracle_home/ora10gdb/bin/frmcmp: No such file or directory
    afterwards, I had trial with the following:
    orcl@nmpt:/u03/APPSERVER/portal_dev/bin> frmcmp
    this time, it shows the following message:
    frmcmp: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
    request you to render help

  • Calling Report from Oracle form 11g

    I am new to Forms 11g, trying to call report from Oracle forms 11g .
    I want to call report from oracle forms, but its giving error.
    Below is the code
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('empreport'); -- report node in forms builder
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, BATCH);
    set_report_object_property ( repid, report_filename, 'empreport.rdf' ); -- report name
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'RptSvr'); -- report server name
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    if
    rep_status = 'FINISHED'
    then
    WEB.SHOW_DOCUMENT('http://inorasrv-pc:7001/reports/dtd/rwservlet/getjobid='||v_rep||'?server='||'RptSvr','_blank');
    else
    message ( 'error while running reports-object ' || error_text );
    message ( ' ' );
    clear_message;
    end if;
    end;
    Above code giving following error :
    Unable to connect to report server RptSvr
    I think my report servername is wrong
    Where to find report server name in 11g.
    I am Using weblogic server, so can i give weblogic server name
    Thanks in advance.
    Edited by: parapr on Aug 17, 2012 1:52 AM
    Edited by: parapr on Aug 17, 2012 3:21 AM

    Hi,
    You have to have the report server
    a. Installed and configured
    b. Running.
    See
    http://docs.oracle.com/cd/E21764_01/bi.1111/b32121/pbr_strt001.htm
    http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_verify004.htm
    http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_conf003.htm#i1007341
    If you are using rwservlet then you will find the name from the Configuration file referred to in the last link.
    Cheers,

  • "Bad Applet class name" error while recording on Oracle Forms 11g through OpenScript (JRE 1.7.0_17)

    Hi,
    I am trying to record automation functional test script on Oracle Forms 11g using OpenScript.
    Able to open the browser, but after accessing application URL, getting application error as "Bad Applet class name"
    Java Plug-in 10.17.2.02
    Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM
    c:   clear console window
    f:   finalize objects on finalization queue
    g:   garbage collect
    h:   display this help message
    l:   dump classloader list
    m:   print memory usage
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    SSV dialog is suppressed........
    cracked oracle.forms.engine.Main
    Loading cached Forms Jars ...
    Is this version (Oracle forms 11g, JRE 1.7.0_17) supported by OATS-OpenScript ?
    Please advise if there is any work around here.
    Thanks.

    From the last OATS release notes available in the C:\OracleATS\docs directory:
    4.1 Oracle Functional Testing/OpenScript
    Oracle Functional Testing’s OpenScript scripting platform has the following system
    requirements:
    ■ Operating System (32-bit and 64-bit versions): Windows XP, Windows Vista,
    Windows 2003, Windows 7, Windows 2008, Windows 2008 R2.
    ■ Memory: Minimum 1 GB
    ■ System: x86, 32-bit or 64-bit processor, 2.6 GHz or faster
    ■ Disk Space: 4 GB minimum
    ■ Browser: Internet Explorer 7.x, 8.x., 9.x; Firefox 3.5/3.6, 6.x, 10; Chrome 27+
    (playback only).
    ■ Java Runtime Environment: JRE 1.6 minimum (up to build 38), JRE 1.7 (up to build
    11) .
    So basically, it's not supported... Can you try with another JRE version?
    As always don't forget to run OpenScript as administrator on W7/8 or equivalent
    JB

  • Error at Creat asinstance When installing oracle forms 11g on linux

    Hello all experts!!!,
    i am installing oracle weblogic forms 11g on linux platform and i am getting error at Create as instance step.
    components selected :--
    forms ,reports,form builder report builder enterprise manager
    OS Platform :-- Oracle Enterprise Linux 5.3 and also same error on Fedora Core 13
    i have also Oracle Database 11g R2 installed on same machine.
    the log says :---
    [2010-09-13T12:55:38.831+05:30] [as] [ERROR] [] [oracle.as.provisioning] [tid: 55] [ecid: 0000Ig9xHTOFw000jzwkno1CZRTb00000i,0] [[
    oracle.as.config.ProvisionException: Unable to validate NonJ2EEManagement Application deployment on admin server.
    at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:678)
    at oracle.as.config.impl.RuntimeServiceConnection.deployIfNecessary(RuntimeServiceConnection.java:192)
    at oracle.as.config.impl.OracleASInstanceImpl.create(OracleASInstanceImpl.java:92)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:249)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
    at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:525)
    at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:441)
    at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
    at oracle.as.install.classic.ca.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:215)
    at oracle.as.install.classic.ca.standard.StandaloneTool.execute(StandaloneTool.java:50)
    at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
    at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
    at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
    at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
    at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
    at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.config.utl.DeployerException: NonJ2EEManagement Applicationdeployment failed.
    at oracle.as.config.utl.Deployer.deployApplication(Deployer.java:95)
    at oracle.as.config.utl.Deployer.deploy(Deployer.java:52)
    at oracle.as.config.impl.RuntimeServiceConnection.deployNonj2eeApplication(RuntimeServiceConnection.java:219)
    at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:670)
    ... 21 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.as.config.utl.Deployer.deployApplication(Deployer.java:93)
    ... 24 more
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.NoSuchMethodError: getDeploymentOperation
    at weblogic.Deployer.run(Deployer.java:72)
    ... 29 more
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.NoSuchMethodError: getDeploymentOperation
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:541)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    ... 29 more
    [2010-09-13T12:55:38.838+05:30] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 55] [ecid: 0000Ig9xHTOFw000jzwkno1CZRTb00000i,0] Exit code from OPMNAdmin : 0
    [2010-09-13T12:55:38.844+05:30] [as] [ERROR] [] [oracle.as.provisioning] [tid: 55] [ecid: 0000Ig9xHTOFw000jzwkno1CZRTb00000i,0] [[
    oracle.as.provisioning.engine.CfgWorkflowException
    at oracle.as.provisioning.engine.Engine.processEventResponse(Engine.java:596)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:178)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
    at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:525)
    at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:441)
    at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
    at oracle.as.install.classic.ca.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:215)
    at oracle.as.install.classic.ca.standard.StandaloneTool.execute(StandaloneTool.java:50)
    at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
    at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:124)
    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
    at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
    at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
    at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
    at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.provisioning.util.ConfigException:
    Error creating ASInstance asinst_1.
    Cause:
    An internal operation has failed: Unable to validate NonJ2EEManagement Application deployment on admin server.
    Action:
    See logs for more details.
    at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:317)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
    ... 17 more
    Caused by: oracle.as.config.ProvisionException: Unable to validate NonJ2EEManagement Application deployment on admin server.
    at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:678)
    at oracle.as.config.impl.RuntimeServiceConnection.deployIfNecessary(RuntimeServiceConnection.java:192)
    at oracle.as.config.impl.OracleASInstanceImpl.create(OracleASInstanceImpl.java:92)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:249)
    ... 18 more
    Caused by: oracle.as.config.utl.DeployerException: NonJ2EEManagement Applicationdeployment failed.
    at oracle.as.config.utl.Deployer.deployApplication(Deployer.java:95)
    at oracle.as.config.utl.Deployer.deploy(Deployer.java:52)
    at oracle.as.config.impl.RuntimeServiceConnection.deployNonj2eeApplication(RuntimeServiceConnection.java:219)
    at oracle.as.config.impl.RuntimeServiceConnection.validateNonj2eeApplication(RuntimeServiceConnection.java:670)
    ... 21 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.as.config.utl.Deployer.deployApplication(Deployer.java:93)
    ... 24 more
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.NoSuchMethodError: getDeploymentOperation
    at weblogic.Deployer.run(Deployer.java:72)
    ... 29 more
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application NonJ2EEManagement [Version=11.1.1] on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.NoSuchMethodError: getDeploymentOperation
    at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:541)
    at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.Deployer.run(Deployer.java:70)
    ... 29 more
    weblogic server installation is perfect no errors at all.
    i also got the errors i got during installation ( im_emagent.mk and while running command gcc) . but thanks to OTN Forums i had managed to find out a fix. but on this error only solution i got is
    TRY WINDOWS . but what about linux then? is there any solution on this error?
    i am not much used to front-end ( java i mean). i am Oracle DBA Actually n want to install n try Weblogic
    Kindly Help...

    You can just copy the relevant parts (the ones marked with error). You can also look at the timing
    when it happened the reports environment did not start.
    From what i remember this could be a memory issue, standard every managed server (WLS_FORMS and WLS_REPORTS) instance
    is configured with 1024m bytes of memory.
    What we did is first install a forms instance and after that a reports instance. After the forms installation we adjusted the
    memory parameters in setWLSEnv (<middleware-home>/user_projects/domains/<domain-name>/bin). Look in this file
    for references to WLS_FORMS (something similar to: if [ "${SERVER_NAME}" = "WLS_FORMS" ] ; then).
    Another thing which springs to my mind is, which products did you select. If you just want Forms and Reports
    you can select just the following:
    - Oracle Forms
    - Oracle Reports
    - Developer Tools aan.
    - Management Components
    - Oracle HTTP Server
    and deselect the other options:
    - Oracle Portal
    - Oracle Discoverer
    - Oracle WebCache
    - Clustered (if you are not using clustering)
    We also had to fix the following files (i do not think that you have to do this since your Forms did not show any problems):
    - (On Windows) Copy the file msvcr71.dll (FMW/windows/extra) to WINDOWS/system32.
    - Copy the file mod_wl_ohs.so (FMW/<operating-system>/extra) to <middleware-home>/as_1/ohs/modules.

  • Error in every form 11g

    Hello to all,
    I'm migrating my forms 6i to 11g. My problem is that every single form has an error when loading. The error is "FRM-40735: ON-ERROR trigger raised unhandled exception ORA-06508." In the beginning there were more errors and by converting all forms and libraries and then compiling them, i was able to clear all the errors. But this one isn't going away. I compile the forms and everyting is fine. So could it really be some program unit that is missing? Just to tell, with a form created is forms 11g the error don't show up. What can it be?
    Edited by: user12231131 on 5/Jan/2011 8:16

    I compile in Forms builder and it's successful. Only in runtime it displays the error. After bumping my head to the wall, i discover that if i remove the trigger WHEN-NEW-FORM-INSTANCE he loads correctly but the same error displays whenever i do something else. Could it be that all triggers are shooting this error? Maybe i could try to copy an entire form to a new one created firsthand in 11g and see if it still gives the error no?
    Information: I have my forms 6i all built in windows, and i am now builting my 11g in linux. To convert them i use frmplsqlconv and then frmcmp to compile them.

  • Oracle report 10g vs Oracle Forms 11g

    Hi,
    My application run on Oracle 10g with Oracle Forms&Report 10g
    I have to modify a report file which was saved by oracle report 11g.
    When I open the file with Oracle Report 10, I have the following warning : "Avertissement ! Ouverture d'un rapport enregistré avec une version plus récente. Risque de perte de fonctionnalité. Continuer ?" (translation : "The file opened was saved with a more recent version of Oracle Report. You may lose some information. Continue ?").
    What kind of information I may lose ?
    Can I modify my file on Oracle Report 11g and compile it in Oracle Report 10g ?
    Or
    Can I modify my file on Oracle Report 11g and compile it in Oracle Report 11g and run it on Oracle Report 10g ?
    Thanks a lot.
    Michel

    36368ccd-1921-478d-9716-f90da72c8ed6 wrote:
    What kind of information I may lose ?
    Can I modify my file on Oracle Report 11g and compile it in Oracle Report 10g ?
    Or
    Can I modify my file on Oracle Report 11g and compile it in Oracle Report 11g and run it on Oracle Report 10g ?
    Michel,
    Question 1 - the file will no longer be useable with Reports 10g - you will loose everything.
    Question 2 - No, newer versions of Oracle Forms and Reports are not backward compatible with older versions.
    Question 3 - No, see answer to question 2.
    Craig...

  • Domain creation error during installation of forms 11g

    Dear all,
    I have the following error, during installation of forms 11g, the installation completed successfully but in configuration section it gave error on the 1st step domain creation.
    weblogic server version 10.3.6
    forms and reports version 11.1.2.1.0
    java version "1.4.2_06"
    here is the error portion from installation log
    ----- **************** log *****************************-------------------------------------------------------------------------------------------------
    Entering windows
    OneoffTool  Script Location: C:\Users\Nadeem\AppData\Local\Temp\tmpOneoffTool1383064488002.bat
    oneoff command is: f:\Oracle\Middleware\Oracle_FRHome2\OPatch\opatch apply f:\Oracle\Middleware\Oracle_FRHome2\oneoffpatches\p12429525_111070_Win32.zip -oh f:\Oracle\Middleware\Oracle_FRHome2 -silent
    [ProcessManager] Invoking:C:\Users\Nadeem\AppData\Local\Temp\tmpOneoffTool1383064488002.bat
        stdout=[
    C:\Users\Nadeem\AppData\Local\Temp>f:\Oracle\Middleware\Oracle_FRHome2\OPatch\opatch apply f:\Oracle\Middleware\Oracle_FRHome2\oneoffpatches\p12429525_111070_Win32.zip -oh f:\Oracle\Middleware\Oracle_FRHome2 -silent
    OPatch failed with error code = 1
        stderr=[java.lang.UnsupportedClassVersionError: oracle/opatch/OPatch (Unsupported major.minor version 49.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Exception in thread "main" ]   
    sbStderr.length():891
    [Applying patch f:\Oracle\Middleware\Oracle_FRHome2\oneoffpatches\p12429525_111070_Win32.zip and the  java.lang.UnsupportedClassVersionError: oracle/opatch/OPatch (Unsupported major.minor version 49.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Exception in thread "main"  ]
    oneoff command is: f:\Oracle\Middleware\Oracle_FRHome2\OPatch\opatch apply f:\Oracle\Middleware\Oracle_FRHome2\oneoffpatches\p6599470_111070_Generic.zip -oh f:\Oracle\Middleware\Oracle_FRHome2 -silent
    [ProcessManager] Invoking:C:\Users\Nadeem\AppData\Local\Temp\tmpOneoffTool1383064488002.bat
        stdout=[
    C:\Users\Nadeem\AppData\Local\Temp>f:\Oracle\Middleware\Oracle_FRHome2\OPatch\opatch apply f:\Oracle\Middleware\Oracle_FRHome2\oneoffpatches\p6599470_111070_Generic.zip -oh f:\Oracle\Middleware\Oracle_FRHome2 -silent
    ----- **************** log *****************************-------------------------------------------------------------------------------------------------

    user2040934 wrote:
    Dear all,
    I have the following error, during installation of forms 11g, the installation completed successfully but in configuration section it gave error on the 1st step domain creation.
    weblogic server version 10.3.6
    forms and reports version 11.1.2.1.0
    java version "1.4.2_06"
    You have the wrong Java version installed.  Do you already have another Forms version installed (like Forms 10g)?  I ask this because Java 1.4.2_06 installs with the Oracle Developer Suite 10g. For Fusion Middleware 11g (Forms 11g) you need to have Java 1.6 installed.  If you already have Java 1.6 installed, then you will need to modify your System PATH so that it lists Java 1.6 before Java 1.4.  The error you are getting, "stderr=[java.lang.UnsupportedClassVersionError" is because Java 1.4 doesn't support the method the installer is using.  Run the following command from a Command/Dos window:  "Java -version".  If it does not show Java 1.6.0_??, then your PATH is still not setup correctly or you don't have Java 1.6.0 installed.
    Craig...

Maybe you are looking for