Bonjour,
pour avoir la bonne version compiler de mes forms, il faut que je les compiles sur mon serveur HP-UX.
Comment procédez-vous pour les compiler?
Version imprimable
Bonjour,
pour avoir la bonne version compiler de mes forms, il faut que je les compiles sur mon serveur HP-UX.
Comment procédez-vous pour les compiler?
Bonjour,
voici un exemple pour compiler en Forms 9i.
L'adaptation en doit pas être bien grande pour du 10g
Citation:
#compile_all.sh
echo compilation des librairies...
for i in `ls *.pll`
do
echo compilation de la librairie $i ....
f90genm userid=$1 batch=yes module=$i module_type=library compile_all=yes window_state=minimize
done
echo compilation des librairies terninee ---
echo compilation des menus...
for i in `ls *.mmb`
do
echo compilation du menu $i ....
f90genm userid=$1 batch=yes module=$i module_type=menu compile_all=yes window_state=minimize
done
echo compilation des menuss terninee ---
echo compilation des formes ...
for i in `ls *.fmb`
do
echo compilation de la forme $i ....
f90genm userid=$1 batch=yes module=$i module_type=form compile_all=yes window_state=minimize
done
echo compilation des formes terninee ---
J'utilise le frmcmp
Mais une erreur :Code:frmcmp Module='exemple.fmb' module_type=form Userid=user/mp@Base batch=yes
Je ne sais pas d'où cela peut venir.Code:FRM-91500: Unable to start/complete the build.
Peut être des variables d'environnement mal configurées.
Avez-vous une idée?
non, mais sachant que l'on est dans le monde unix, je ferais attention à la casse. userid != Userid sous unix.
Cela ne marche toujours pas. Connaissez-vous cette erreur?
Non, je ne suis pas coutumier des environnements unix. Je crois tout de même savoir qu'il a besoin d'un émulateur graphique pour générer.
Le système unix a besoin d'un émulateur graphique pour générer les formes.
je donnerai plus de précision lorsque j'aurai l'information.
Les fichiers source (*.fmb) sont totalement portables.
Bonjour,
pour plus de compréhension je vais vous expliquer en détail :
- J'ai une forms --> exemple.fmb, créé avec forms10
- Quand je la lance avec mon serveur UNIX (HP-UX) cela marche très bien pas de problèmes jusque là.
- Maintenant je la modifie avec forms10 sous windows et j'ai besoin de la compilé sous UNIX pour que ça marche.
- Là est le problème lorsque je lance ma commande :
Cela me mets l'erreurCode:forms-compile-exemple.sh
Voici le script de forms-compile-exemple.sh :Code:FRM-91500: Unable TO start/complete the build.
Toutes mes sources ce trouve dans " $ORACLE_HOME/forms/forms "Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69 #!/bin/sh # # Set ORACLE_HOME if not set in the calling environment: # ORACLE_HOME=/oracle/oas export ORACLE_HOME PATH=$ORACLE_HOME/bin:$PATH export PATH # Set O_JDK_HOME if not set in the calling environment: # O_JDK_HOME=/oracle/oas/jdk export O_JDK_HOME # Set up CLASSPATH CLASSPATH=$ORACLE_HOME/forms/java/frmupgrade.jar:$ORACLE_HOME/forms/java/frmjdapi.jar:$ORACLE_HOME/jlib/jewt4.jar:$ORACLE_HOME/jlib/share.jar export CLASSPATH # Set up FORMS_PATH FORMS_PATH=${FORMS_PATH}:$ORACLE_HOME/forms:$ORACLE_HOME/forms/forms export FORMS_PATH # # You may need to set one or more of TNS_ADMIN, TWO_TASK or ORACLE_SID # to connect to database # TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN # # System settings # --------------- # You should not normally need to modify these settings. # if [ `uname -s` = 'SunOS' ]; then LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/jdk/jre/lib/sparc:$ORACLE_HOME/jdk/jre/lib/sparc/native_threads:$LD_LIBRARY_PATH export LD_LIBRARY_PATH elif [ `uname -s` = 'HP-UX' ]; then SHLIB_PATH=$ORACLE_HOME/lib32:$O_JDK_HOME/jre/lib/PA_RISC:$O_JDK_HOME/jre/lib/PA_RISC/server:$SHLIB_PATH export SHLIB_PATH elif [ `uname -s` = 'Linux' ]; then LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386:$LD_LIBRARY_PATH export LD_LIBRARY_PATH # Set LD_ASSUME_KERNEL for RedHat 3.x if [ -f "/etc/redhat-release" ] then RHVER=`/bin/rpm -qf /etc/redhat-release --qf "%{VERSION}\n" 2>/dev/null` case $RHVER in 3*AS | 3*ES) export LD_ASSUME_KERNEL=2.4.19 ;; esac fi else LD_LIBRARY_PATH=$ORACLE_HOME/lib:$O_JDK_HOME/jre/lib/sparc:$O_JDK_HOME/jre/lib/sparc/native_threads:$LD_LIBRARY_PATH export LD_LIBRARY_PATH fi #Init the API without Motif FORMS_API_TK_BYPASS=TRUE export FORMS_API_TK_BYPASS echo "Connect to database Base with user user" frmcmp Module='exemple.fmb' module_type=form userid=user/mp@base batch=yes
Cela bloc au
Maintenant je ne comprend plus.Code:frmcmp Module='exemple.fmb' module_type=form userid=user/mp@base
Merci d'avance.
Après quelques recherches sur le net, je me demande:
- comment la variable DISPLAY doit être configuré (DISPLAY=ip_machine)?
Pour forms 10 les variable d'environnement doivent bein être ?
^^Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 LD_LIBRARY_PATH=/oracle/ora920/lib:/lib:/usr/lib:/oracle/ora920/rdbms/lib NLS_DATE_FORMAT=DD-MON-RR NLS_LANG=FRENCH_FRANCE.WE8MSWIN1252 NLS_NUMERIC_CHARACTERS=., NLS_SORT=BINARY ORACLE_HOME=/oracle/oas ORACLE_SID=MYBASE ORACLE_TERM=vt100 ORA_NLS33=/oracle/ora920/ocommon/nls/admin/data PATH=/home/oracle:/usr/bin:... PPID=28994 TERM=vt220 TMOUT=0 TMPDIR=/tmp TNS_ADMIN=/oracle/aos/network/admin;
Sur la machine unix, ils utilisent l'émulateur graphique VNC démarré sur l'écran 1.
la variable DISPLAY est donc positionné : nom_machine:1
Je suis actuellement sur un poste Windows.
Je communique avec ma machine UNIX sous putty.
Je ne voit pas ce que tu veut dire avecCitation:
VNC démarré sur l'écran 1
Il s'agit de l'émulateur graphique nécessaire sur la machine unix pour compiler les formes.
salut, ce problème m'est déjà arrivé. En effet, j'utilise egalement putty pour prendre en main le serveur sur lequel je desire compiler mes forms. Chez moi, le problème survenait quand le ORACLE_HOME n'est pas bien positionné.
Par exemple chez moi, ya un utilisateur oracle; lorsque je lance putty et que je me connecte en tant que root (parce que je montait mon repertoire contenant les forms sur mon serveur), ce problème survenait.
Egalement, je crois que le problème viens egalement si l'utilisateur oracle par exemple n'est pas proprietaire des fichiers
Bonjour,
Comment peut-on vérifier les propriétés de vnc avec putty ou plutôt comment connaitre le numéro d'écran et pouvoir configurer la variable DISPLAY.
^^Code:
1
2$ xclock Error: Can't open display: ip_machine:1
Citation:
roubleshooting FRM-91500 When Compiling/ Generating Forms
META-LINK: Doc ID: Note:266731.1
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/do ... 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/do ... 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/do ... ore/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/do ... 902/install/toc.htm
Oracle9i Application Server Installation Guide Release 2 (9.0.2) for Sun SPARC Solaris http://download-uk.oracle.com/do ... 902/install/toc.htm
Oracle9i Developer Suite Installation Guide Release 2 (9.0.2) for Windows and UNIX http://download-uk.oracle.com/do ... 902/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 ails 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
Useful References:
Note:1071460.6 FRM-91500 Unable to Start or Complete the Build When Generating Form on UNIX Charactermode
Note:1069393.6 FRM-91500: WHEN GENERATING FORMS with Generator/Compiler
Note:230791.1 FRM-91500 Error When Generating Forms Using Admin
sous putty (mais pour des outils 6i)
et au préalable j'ai transférer la forms en mode binaire avec winscp3.Code:f60gen module=$AU_TOP/forms/F/MAFORMS.fmb userid=USER/USER@xxxxxx output_file=$AU_TOP/forms/F/MAFORMS.fmx module_type=FORM
voilou si ça peut faire avancer le schimbilik ;)
Comment as tu transféré la forms en binaire stp
^^
c'est dans les options de winscp3
http://img95.imageshack.us/img95/3852/winscp3td1.th.jpg
C'est bon j'ai réussi mais cela n'a rien changé. 8O
Merci quand même