How to compile forms with JDAPI ?

Hi everyone:
I have more than 200 forms need to compile. All the forms have libraries, object groups attached, they also call stored procedures in the database.
When I run this code :
FormModule frm= (FormModule) JdapiModule.openModule("/tmp/"+fileName);
frm.compile();It reports error like this :
Exception in thread "main" oracle.forms.jdapi.JdapiStatusException: _jni_compile_form failed
     at oracle.forms.jdapi.BaseAPI._jni_compile_form(Native Method)
     at oracle.forms.jdapi.FormModule.compile(Unknown Source)
     at oracle.forms.developer.JDAPIFormsApi.attachObject(JDAPIFormsApi.java:54)
     at oracle.forms.developer.JDAPIFormsApi.main(JDAPIFormsApi.java:71)Through forms builder, I need to connect to database, put all libraries and resources in the folder included in FORMS_PATH, to get them compiled.
But how to compile them with all prerequisite conditions set up in my java code ?

An easier way would be to compile the forms via script, there are several examples on the forum.

Similar Messages

  • How to compile forms and reports 6i in Application server 1.0.2.2.2.

    Hi all,
    i used oracle forms and reports 6i with oracle database 10g in client server architecture.
    now i want to make 3 tier, client-application server version 1.0.2.2.2-origin database serversystem on 3 separate machines.
    i have installed application server version 1.0.2.2.2.
    now i have my forms and reports 6i in application server computer.
    can any one please tell me how to compile forms and reports 6i in application server computer i.e do i have to write some extra code in forms and reports 6i in order to compile in application server computer successfully.
    waiting for an early reply.
    best regards
    fahad ejaz
    email:[email protected]

    ... another question would be why not upgrade those old Forms & Reports to the newest release 10.1.2.0.2 and use the latest Application Server to run them with?
    Release 6i and 1.0.2.2 is as you know desupported.
    Regards,
    Martin

  • How to compile form in linux server

    Hi All:
    Any one can say how to compile form in linux server using form builder fmb.

    If you are talking about forms 10g then here is the method
    1) run x windows interface on your machine
    2) login to linux server
    $ export DISPLAY=<IP address of machine>:0.0
    $ frmcmp.sh module_type=form module=myform.fmb userid=user/password@connectstring compile_all=yes
    Regards
    Anuj

  • How to compile forms in 11i

    How to compile form(APXINWKB.fmb) in 11i Linux OS.

    f60gen module=APXINWKB.fmb userid=apps/apps module_type=FORM output_file=/u001/appltech/appl/ap/11.5.0/forms/US/APXINWKB.fmx compile_all=special
    does above looks fine to compile.Yes.
    and make sure FORMS60_PATH points to correct path.
    FORMS60_PATH=:FORMS60_PATH:$AU_TOP/resource:$AU_TOP/forms/US;
    export FORMS60_PATH;

  • 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

  • How to activate form with full license

    I bought the .99 license for Adobe forms, created a form, tested it and it works. I thne bought the full license, but don't know how to activat emy form with it. When I test the form now, it just says that the form is not available and see my administrator. How do I activatethe form with mey new license
    Thanks
    Whit

    Thanks Josh. Pretty stupid of me. Once I know it all works, I’ll remove you
    from the share as suggested.
    Whit
    From: Josh_Corey [email protected]
    Sent: Monday, October 14, 2013 9:43 PM
    To: whit1950
    Subject: How to activate form with full license
    Re: How to activate form with full license
    created by Josh_Corey <http://forums.adobe.com/people/Josh_Corey> in *
    FormsCentral* - View the full
    discussion<http://forums.adobe.com/message/5760318#5760318

  • How to compile forms in a UNIX CLI?

    Can anybody tell me how to compila a form in UNIX with Oracle 6 or 6i?
    I know I have to use the 'f60gen' or 'f60genm' commands, but I don't know witch arguments I have to use.
    Thanks in advance,
    Pablo.

    Hi!
    Try out this:
    f60gen forname user/password
    f60gen myform.fmb scott/tiger
    c u

  • Failure FRM-32029 while compiling Form with Forms Builder

    Hi.
    I have problem. I compile a form with Forms Builder from DevSuiteHome and get the failure:
    "FRM-32029 Window WINDOW not found; canvas-section CG$LOVCAN" (I translate it, it´s not the original terms).
    I google and search the forum and oracle page, but found nothing about this failure. In Forms-Builder itself is also nothing recorded about this problem.
    Do someone know more about this error?
    Thanks.

    Thanks inolau for answering.
    The problem is, that I don´t have a documentation about the sourcecode and these forms worked under from 6i to 9i upgraded Oracle AS and DB servers. So the problem is not only "where is the WINDOW", than more "why doesn´t works it under a new 10g version and how get it working?".
    That´s why I was searching for this not recorded error.
    And I´m worry about that searching for the part of the sourcecode where I found the "WINDOW" is like looking for a needle in a haystack. ;)

  • How to compile form in Linux?

    Hi guys,
    I am developing using forms builder 6i on windows xp.
    The application server is on Linux.
    Should I recompile my form on Linux?
    If so then can you please detail the step in how to do so? Because I am really unfamiliar with Linux.
    What command should I run? where do I run the said command? etc.
    Thanks
    Jim

    Jim
    Should I recompile my form on Linux? A. If you plan to run it on an iAS server that is Linux then Yes.
    Is you application server Linux and is it possible you could compile it there?
    Script to compile on the iAS server
    #UNIX Forms Compile
    #compile_forms.sh
    export FORMS_PATH=/u01/app/oracle/product/apps/<your_directory>
    export DISPLAY=localhost:2.0
    #export NLS_LANG=AMERICAN_AMERICA.UTF8
    export TERM=vt220
    export ORACLE_TERM=vt220
    export FORMS_BUILDER_CLASSPATH=/u01/app/oracle/product/apps/<your_directory>
    for i in `ls /u01/app/oracle/product/apps/afs_dev/your.fmb`
    do
    echo Compiling Form $i ....
    frmcmp_batch.sh userid=username/password@oracle_sid batch=yes module=$i module_type=form
    compile_all=yes window_state=minimize
    done
    # May Need to modify $ORACLE_HOME/frmcmp_batch.sh to include FORMS_PATH and other environment variables.
    # Copy the frmcmp_batch.sh to /home/oracle or the directory you prefer.
    Replace your.fmb and <your_directory> with the correct form name and path

  • 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

  • How to compile swf with ANT en ASC 2.0?

    He All,
    I used to compile a swf in Flash builder with this antscript below. But mxmlc in not supported anymore. Any idea how to compile the swf with ASC 2.0?
    <target name="compile.apple" depends="clean.apple">
      <echo message="Compiling swf"/>
      <mxmlc file="${app.projectfile}" output="${app.rootfile}" optimize="true" configname="airmobile" debug="false">
      <load-config filename="${app.rootdir}/resources/ant/build.config"/>
      <source-path path-element="${flex.sdkPath}/frameworks"/>
      <source-path path-element="${app.sourcedir}"/>
      <source-path path-element="${app.rootdir}/libs"/>
      <static-link-runtime-shared-libraries/>
      <compiler.library-path dir="${flex.sdkPath}/frameworks" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      <arg line="-swf-version=17" />
      <arg line="-define=CONFIG::debug,false" />
      <arg line="-define=CONFIG::device,true" />
      <arg line="-define=CONFIG::local.false" />
      <compiler.library-path dir="${app.rootdir}" append="true">
      <include name="libs/*" />
      </compiler.library-path>
      </mxmlc>
      </target>

    He Peter,
    Thanks for your reply. I've made some steps, but still no perfect solution. I've managed to compile a swf with ant using only the AIR SDK.
    But, check these results
    - Compiled using Flash Builder release : 455 kb
    - Compiled with ant using mxmlc : 104 kb
    - Compiled with ant using compc : 139 kb
    Can you provide us an example, how to compile a swf using ant. For example, with an AIR mobile project.
    Thanks Peter.
    Tim.

  • How to compile less with Dreamweaver in windows?

    i have Dreamweaver cs6 and i am trying to compile it with less , i have watched several tutorial on YouTube but most of them for Mac users not for windows users :/
    some videos suggest to change files inside dreamweaver like "extensions txt" but it's not working as well , Any help please ?

    http://www.dmxzone.com/go/21526/dmxzone-less-css-compiler-released-and-for-free/

  • How to compile mplayer with giflib support?

    Hey all,
    i am trying to compile mplayer (or mplayer2, i have tried several pkgbuilds from aur), as the package from extra doesn't have support for the the gif89a video_out driver. I have giflib package installed, so i have the /usr/lib/include/gif_lib.h in my filesystem. If i try to compile mplayer with the ./configure --enable-gif option, it fails with the following error message:
    libmpdemux/demux_gif.o: In function `demux_close_gif':
    demux_gif.c:(.text+0x39): undefined reference to `PrintGifError'
    libmpdemux/demux_gif.o: In function `demux_open_gif':
    demux_gif.c:(.text+0x293): undefined reference to `PrintGifError'
    libmpdemux/demux_gif.o: In function `demux_gif_fill_buffer':
    demux_gif.c:(.text+0x95b): undefined reference to `PrintGifError'
    demux_gif.c:(.text+0xb1a): undefined reference to `PrintGifError'
    ...among others, because some other libraries (cdio_paranoia, theora and caca) have undefined references too. If i check the source of giflib, i see the missing function 'PrintGifError' in 'lib/gif_err.c', but i don't have this file on my filesystem. My question is from where should i obtain these sources, and where i need to place them to compile mplayer successfully?
    Update: here is the whole list of errors, all of them are undefined references to various functions: http://pastebin.com/LttqXy5J
    Last edited by vizipok (2013-06-03 11:53:20)

    sl1pkn07 wrote:why this downgrade
    Because there's lotsa compilation fails caused by the giflib API changing.

  • How to integrate forms with web services in EBS

    Hi All,
    I have tried to integrate Oracle forms with webservices.
    I have added the location of jar file to classpath in default.env file in EBS.
    While running form from E Business Suite i am getting following exception
    Exception: java.lang.Exception: java.lang.NoClassDefFoundError:
    Please help me in overcoming this problem.
    Thank you,
    KS

    Hello,
    This is not the EBS forum but the Forms forum.
    <p>Anyway, did you read this article ?<br>It contains all the necessary details/steps</p>
    Francois

Maybe you are looking for