Question

Compiling forms

Asked by: kmocampo

I am developing forms using Oracle Form Builder 9.0.2.1. These forms are going to be integrated in a Datastream application (MP7) in a company that has installed LINUX. I develop in a Windows 2000 environment, and then i compile my forms and work fine. But now i don't know what to do to take them to the client company. Should i take the fmb files and recompile them? Which command should i use to recompile? In which directory can i find it once i am in that linux environment? Where can i find the configuration files to see the forms and reports paths?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-09-29 at 02:14:34ID21578103
Tags

forms

,

oracle

,

compile

Topic

Oracle IAS Application Server

Participating Experts
3
Points
300
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. What Schema was form compiled on?
    Working with Forms Builder 6 (6.0.5.33.0), oracle 8.1.5 on both NT and UNIX. We have several schemas on the DB. Certain forms require compilation/generation on a specific schema. How do we find out which schema: a) a form was compiled against; and b) a form was generated a...
  2. Generating Form Builder (*.fmb) files
    i have a project includes 100 form bulilder fmb files, in every time i do not want to open form builder and generate all of them manually, may be there exist an utilty or a reusable dos script ? Can you help me ? Forms Version 6.0 , win 2000 , oracle 8.0.5 , digital unix 4.0
  3. Compile All with script (Oracle Forms)
    Hi everyone. I currently have a program that will compile Oracle Forms (6i) from .fmb to .fmx. This script, however needs to be modified to perform a "Compile All" before generating the fmx. Does anyone out there know of a script that can do a "compile all&q...
  4. Oracle 9i: Forms: Conversion:  How to recompile FMB f…
    I have created and cuild forms in Windows. Now we want the files to run on UNIX using Oracle Application Server. My question is there a way to recompile the FMB files from Oracle Application Server. We do not have Oracle Developer suite installed on that machine so I hope ...
  5. Oracle Forms Compile
    Does anybody know a way of setting up a batch job to compile Oracle Forms. My idea is to write a scrpot that allows to 1) compile the latest release version from PVCS VM and 2) copy to production built. thanks

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: gackiPosted on 2005-09-29 at 23:48:18ID: 14990149

Not sure what you mean with "Datastream application (MP7)". Normally forms are deployed using Oracle application server.

You take the fmb files and compile them on the LINUX box using the f90genm.sh script in $ORACLE_HOME/bin. Make sure you set the FORMSXX_PATH environment variables properly, e.g. with a separate script. Runtime settings for the application server are stored in $ORACLE_HOME/forms90/server/default.env.

 

by: kmocampoPosted on 2005-09-30 at 03:00:37ID: 14990796

I tried to compile the forms and i get a frm-91500 error. I think i have set the variables properly, i executed the f90genm.sh but it fails, any ideas?  I've seen some comments in metalink and they talk about having a display variable. I don't have a DISPLAY variable in my environment...

 

by: kmocampoPosted on 2005-09-30 at 03:01:35ID: 14990799

Mmm, another comment, my application is one commercial application that runs using oracle application server.

 

by: kmocampoPosted on 2005-09-30 at 04:20:29ID: 14991083

I have added DISPLAY and NLS_LANG variables, but still doesn't work. I set:
DISPLAY=:0.0
NLS_LANG=AMERICAN_AMERICA.EE8ISO8859P2

 

by: kmocampoPosted on 2005-09-30 at 04:22:40ID: 14991093

I don't know if it's useful but i have linux 2.4.9-e.57 (well, at least that's what it displays when i execute uname -a.... i haven't used linux before so i'm not familiar with it)

 

by: DLyallPosted on 2005-10-01 at 02:52:56ID: 14998049

Check out this possible cause I found on Metalink:

Assumes : ORACLE_HOME is set correctly.
                NLS_LANG variable is set correctly.
                DISPLAY variable is set correctly.
                ORA_NLS33 is set correctly.
                LD_LIBRARY_PATH is set perfectly

Motif version installed on Linux is not Motif 2.1.30 (Motif 2.1 patch: 108940-37 or higher).

 

by: DLyallPosted on 2005-10-01 at 04:04:32ID: 14998147

 

by: DLyallPosted on 2005-10-04 at 06:21:09ID: 15013569

In case you can't access the above link I've cut and pasted the relevant text below.


Here is Note:266731.1 from Metalink: Troubleshooting FRM-91500 When Compiling/ Generating Forms Modules

PURPOSE
-------

To provide some troubleshooting and solutions to the generic FRM-91500 error.

This is a generic error which can occur when compiling or generating forms application modules typically in a Unix environment.

SCOPE & APPLICATION
-------------------

This article applies to:

Oracle 9iDS / 9iAS Rel 1 Forms 6i (6.0.8)

Oracle 9iDS / 9iAS Rel 2 Forms 9i (9.0.2)

Oracle Developer Suite / Application Server Forms 10g (9.0.4)

Platform : Unix

Target Audience: Support Engineers, Consultants, System Administrators,DBAs and Developers

FRM-91500 Unable to Start / Complete Build
------------------------------------------

The executables that can produce the FRM-91500 error are :

Forms 9i / 10g Compiler : f90genm.sh or f90genm or f90gen

Forms 9i / 10g Builder : f90desm

Forms 6i Compiler : f60genm or f60gen

Forms 6i Builder : f60desm

The FRM-91500 error message is very generic, but it can have a number of different causes. The error gives no clues as to begin troubleshooting.
Typically, however, the fault lies in the environment/ operating system setup.
In this respect, the following settings should be checked and considered:

ORACLE_HOME and LD_LIBRARY_PATH

DISPLAY and Motif library version

NLS_LANG and the characterset used,

TERM and / or ORACLE_TERM

Hints / Recommendations:
----------------------

1. There are example environment variable setup shell scripts supplied as part of the default Forms install e.g Forms 6i:

Oracle 9iAS Rel 1

$ORACLE_HOME/6iserver/

forms60.csh

or

forms60.sh

Choose a script and edit it so values for the ORACLE_HOME and DISPLAY settings are correct. Then run the script before issuing the f60gen or f60genm command

e.g

unixprompt:>. ./forms60.sh

Forms 9i / 10g:

The environment setup is actually provided in the f90genm.sh shell script.
Edit this shell script so values for the ORACLE_HOME and DISPLAY settings are correct. Then use f90genm.sh rather than f90genm or f90gen to compile/ generate forms modules.

2. Check that the machine / environment complies with the 'System/ Software Requirements' as stated in the product Installation Guide

e.g

Oracle? Application Server 10g Installation Guide 10g (9.0.4) for Solaris Operating System (SPARC)

http://download-uk.oracle.com/docs/cd/B10467_08/install.904/install/toc.htm

Oracle? Application Server 10g Installation Guide 10g (9.0.4) for AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, and Linux x86

http://download-uk.oracle.com/docs/cd/B12428_08/install.904/install/toc.htm

Oracle? Developer Suite Installation Guide 10g (9.0.4) for Windows, Linux, Solaris, and HP-UX

http://download-uk.oracle.com/docs/cd/B14504_01/dl/core/install/toc.htm

Oracle9i Application Server Installation Guide Release 2 (9.0.2) for AIX-Based Systems, Compaq Tru64 UNIX,HP 9000 Series HP-UX, and Linux Intel

http://download-uk.oracle.com/docs/cd/B10018_05/install.902/install/toc.htm

Oracle9i Application Server Installation Guide Release 2 (9.0.2) for Sun SPARC Solaris

http://download-uk.oracle.com/docs/cd/B10570_05/install.902/install/toc.htm

Oracle9i Developer Suite Installation Guide Release 2 (9.0.2) for Windows and UNIX

http://download-uk.oracle.com/docs/cd/A91773_01/ids902dl/core902/install/toc.htm

For Oracle 9iAS / 9iDS Rel 1 documentation - see Documentation links on OTN

http://otn.oracle.com/documentation/ias_arch_9i.html

http://otn.oracle.com/documentation/ids_arch.html

In particular, be sure that the correct Motif packages are installed and being used.

ORACLE_HOME and LD_LIBRARY_PATH settings:
-----------------------------------------

ORACLE_HOME environment variable must refer to the directory structure where Oracle Forms is installed e.g

Oracle 9iAS Rel 2 BI Forms Middle Tier

The LD_LIBRARY_PATH should then include $ORACLE_HOME/lib before any other directories referenced in this setting

Useful Reference:

Note:160656.1 Error FRM-91500 Using f60gen with ORACLE_HOME set to Database Server directory.

DISPLAY Setting and Motif version :
-----------------------------------

The DISPLAY environment variable must be set to a valid value when using f60genm or f90genm / f90genm.sh.

Hint: Having set DISPLAY check that it works by running a simple x-windows command such as xclock or xterm

e.g

unixprompt:> xclock &

An xclock should appear on the monitor / device to which DISPLAY is pointing

Also beware some known issues with Motif library versions on Linux and xVfb emulation software.

Useful References:

Note:160450.1 FRM-91500 on Compiling a Form Needs DISPLAY Variable.

Note:262442.1 Error FRM-91500 Running Forms 9i Compiler (f90genm.sh) on Linux x86.

Note:219756.1 Compiling Forms Using F60GENM Gives FRM-91500 When Using xVfb On AIX

NLS_LANG - characterset Settings :
-----------------------------------

This variable should be set to a valid NLS_LANG.

If WE8ISO8859P15 or UTF8 characterset are used some changes in the tk2Motif.rgb file are required.

Useful References:

Note:1075912.6 Troubleshooting FRM-91111

Note:210528.1 Trying to Generate a Form with WE8ISO8859P15 Character Set fails with FRM-91500

TERM, ORACLE_TERM settings:
---------------------------

The ORACLE_TERM and/or TERM environment variable must be set to valid value when using the character mode version of the compiler i.e f60gen / f90gen

e.g

ORACLE_TERM=vt220; export ORACLE_TERM

TERM=vt220; export TERM

 

by: kmocampoPosted on 2005-10-04 at 06:27:07ID: 15013616

Well, i stil have the FRM-91500 error, no matter what i do or which environment variables i set, i always get that error. See, i'm sure that the problem is that i work in a completely character mode in the server, and as i've read in metalink, the f90genm shell is a motif based tool. i think i have wrongly installed something because when i try to execute something like startx or xclock i just get an error. Does it mean that i only can compile my forms in linux in a graphic environment?

 

by: kmocampoPosted on 2005-10-04 at 06:29:06ID: 15013632

I also have searched the f90gen and i don't have it, i only have f90genm...

 

by: DLyallPosted on 2005-10-04 at 14:27:34ID: 15017910

f90genm.sh is motif based.

With Oracle9i forms the only executable available for compiling the forms is f90genm

and it requires the display variable DISPLAY to be set to point to an active x-windows session. In

forms 6i there is f60gen executable which can be used with batch=yes and without

display variable being set. But in Oracle9i forms, the character mode executables

are no longer supported and the equivalent of f60gen is not there.


In Developer 9i Forms, you can invoke the forms generator by a script f90genm.sh

Also you can give the command similar to following for command line execution.

f90genm.sh module=/u02/home/usupport/users/forms90users/tsriniva/dept.fmb  
userid=scott/tiger@ora901

For a list of compile options you can give

f90genm.sh without arguments which will list out the list of options available as in

forms 6i.

 

by: DLyallPosted on 2005-10-14 at 08:49:39ID: 15086470

Hi :kmocampo

Coudl you close this call if you have no further comments.


Many Thanks

DLyall

 

by: kmocampoPosted on 2005-10-18 at 14:18:16ID: 15111603

Well, i only have one final question. The problem was on the DISPLAY environment variable, i set it correctly and the fgenm.sh runs. But as i've always worked in windows platforms, i don't know what should i do to specify the path of my own libraries. I have two of them and i put the plx files in the same directory of the fmx. But it seems the compiler cant' find where they are. I included that directory in the LD_LIBRARY_PATH and in the PATH variables, but it still doesn't work. Any ideas? The libraries are already compiled in linux.

 

by: hamitaPosted on 2007-11-22 at 08:17:27ID: 20335160

set env file before compiling fmb
environment path in the linux : example : /oracle/prodappl/PROD_oraapps.env
and copy fmb file to linux from ftp
fmb location : /oracle/prodappl/au/11.5.0/resources/
compile fmb file this command : f60gen module=xxxxxx.fmb userid=apps/apps password
after compile frms copy your patch
example : /oracle/prodappl/xxtc/11.5.0/forms/US
you can see forms and reports path look at the env file
forms path : /oraappl/prodora/8.0.6/forms60
reports patch : /oraappl/prodora/8.0.6/reports60
if you use advanced forms compile
Usage: f60genm Module=<formname> Userid=<userid/password> [Parameters].
Optional parameters are (default values given):

Module_Type=FORM          Module type (FORM, MENU, LIBRARY, PECS).
Module_Access=FILE        Module access (FILE, DATABASE).
Statistics=NO             Show statistics.
Logon=YES                 Logon to database.
Batch=NO                  Don't display messages on the screen.
Output_File=<file>        Write output to file.
Script=NO                 Write script file.
Parse=NO                  Parse script file.
Delete=NO                 Delete module from database.
Insert=NO                 Insert module into database.
Extract=NO                Extract module from database.
Upgrade=NO                Upgrade module to current version.
Upgrade_Roles=NO          Upgrade SQL*Menu 5.0 role information.
Version=45                Version to upgrade (23, 30, 40, 45, or menu 50).
Crt_File=<crt file>       CRT file for version 2.x form upgrade.
Build=Yes                 Build a runform/runmenu file when upgrading.
Add_Triggers=NO           Add KEY-UP/DOWN triggers during upgrade.
Nofail=NO                 Add NOFAIL keyword to trigger steps.
Debug=NO                  Build/Run with debug information.
Compile_All=NO            Compile all PL/SQL code.
Strip_Source=NO           Strip pl/sql source code from library.
Window_State=Normal       Root window state: (Normal, Maximize, Minimize.)
Help=NO                   Show this help information.
Options_Screen=NO         Display Options window (on bitmap only).
Widen_Fields=NO           Add one character to display width.
Print_Version=NO          Print version used to save module.
Forms_Doc=NO              Print Forms Doc report.


20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...