Précédent   Forum des professionnels en informatique > Bases de données > Oracle > Outils > Forms
Forms Forum d'entraide sur Oracle Forms
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 04/05/2007, 15h45   #1
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
Par défaut [Forms 10] oracle.forms.webutil.file.FileFunctions bean not found

Bonjour,

J'ai installé WEBUTIL et pour test j'ai mis ce code:

DECLARE
filename varchar2(200);
BEGIN
filename := CLIENT_GET_FILE_NAME(null,null,null,null,OPEN_FILE,TRUE);
END;

mais il me retourne une erreur:

oracle.forms.webutil.file.FileFunctions bean not found
WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work.

La bibli. est attachée. Dans le groupe d'objets j'ai bien WEBUTIL et j'ai bien webutil.file.FileFunctions dans le block WEBUTIL.

Avez-vous une idée ?

Merci d'avance pour votre aide.

A+
Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 15h54   #2
Rédacteur

 
Avatar de SheikYerbouti
 
Inscription : mai 2003
Messages : 6 533
Détails du profil
Informations forums :
Inscription : mai 2003
Messages : 6 533
Points : 6 469
Points : 6 469
la lib exécutable a t-elle été créée (webutil.plx) et placée dans un des répertoires pointé par FORMS_PATH ?
__________________
Rédacteur Oracle (Oracle ACE)
Guide Oracle ,Guide PL/SQL, Guide Forms 9i/10g, Index de recherche
Je ne réponds pas aux questions techniques par MP
Blogs: Forms-PL/SQL-J2EE - Forms Java Beans
SheikYerbouti est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 15h57   #3
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
Dans mon rép. C:\Oracle projets\Test1 , il y a bien un fichier webutil.plx

et dans le regedit FORMS_PATH contient aussi : C:\Oracle projets\Test1
Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 15h59   #4
Rédacteur

 
Avatar de SheikYerbouti
 
Inscription : mai 2003
Messages : 6 533
Détails du profil
Informations forums :
Inscription : mai 2003
Messages : 6 533
Points : 6 469
Points : 6 469
Veillez également à ne pas utiliser les fonctions dans les triggers de type When-New-Form-Instance et When-New-Block-Instance
__________________
Rédacteur Oracle (Oracle ACE)
Guide Oracle ,Guide PL/SQL, Guide Forms 9i/10g, Index de recherche
Je ne réponds pas aux questions techniques par MP
Blogs: Forms-PL/SQL-J2EE - Forms Java Beans
SheikYerbouti est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 16h04   #5
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
J'utilise çà dans WHEN-BUTTON-PRESSED
Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 16h12   #6
Rédacteur

 
Avatar de SheikYerbouti
 
Inscription : mai 2003
Messages : 6 533
Détails du profil
Informations forums :
Inscription : mai 2003
Messages : 6 533
Points : 6 469
Points : 6 469
Et la section du fichier de config /forms/server/formsweb.cfg contient bien l'appel à webutil ?

Code :
1
2
 
baseHTMLjinitiator=D:\oracle9i\forms90\webutil\webutiljini.htm
__________________
Rédacteur Oracle (Oracle ACE)
Guide Oracle ,Guide PL/SQL, Guide Forms 9i/10g, Index de recherche
Je ne réponds pas aux questions techniques par MP
Blogs: Forms-PL/SQL-J2EE - Forms Java Beans
SheikYerbouti est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 16h20   #7
Expert Confirmé
 
Homme
Chef de projet en SSII
Inscription : janvier 2004
Messages : 2 866
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France, Loire Atlantique (Pays de la Loire)

Informations professionnelles :
Activité : Chef de projet en SSII
Secteur : Conseil

Informations forums :
Inscription : janvier 2004
Messages : 2 866
Points : 3 448
Points : 3 448
Regarde également que dans formsweb.cfg ton parametre webutilArchive contient :
webUtilArchive=frmwebutil.jar,jacob.jar
__________________
Un problème sans solution est un problème mal posé

Merci de poser vos questions sur le forum, je ne réponds pas aux questions posées par MP.
plaineR est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 16h37   #8
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
j'ai webutiljini.htm mais sans le chemin

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 16h47   #9
Rédacteur

 
Avatar de SheikYerbouti
 
Inscription : mai 2003
Messages : 6 533
Détails du profil
Informations forums :
Inscription : mai 2003
Messages : 6 533
Points : 6 469
Points : 6 469
Lors du lancement de la form, ouvrir la console java et voir s'il n'y a pas de problème de chargement.
__________________
Rédacteur Oracle (Oracle ACE)
Guide Oracle ,Guide PL/SQL, Guide Forms 9i/10g, Index de recherche
Je ne réponds pas aux questions techniques par MP
Blogs: Forms-PL/SQL-J2EE - Forms Java Beans
SheikYerbouti est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 16h50   #10
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
Voilà ce qui est retournée:

Citation:
JInitiator: Version 1.3.1.22
Utilisation de la version JRE 1.3.1.22-internal Java HotSpot(TM) Client VM
Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\Mon Nom

Configuration du proxy : Configuration manuelle

Proxy : Mon IP:4480

Remplacement du proxy : <local>

JAR cache enabled
Location: C:\Documents and Settings\Mon Nom\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0



----------------------------------------------------
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
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

Loading http://Mon Nom:8889/forms/java/frmall_jinit.jar from JAR cache

proxyHost=null

proxyPort=0

connectMode=HTTP, native.

La version Forms Applet est : 10.1.2.0

java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at oracle.forms.handler.UICommon.instantiate(Unknown Source)

at oracle.forms.handler.UICommon.onCreate(Unknown Source)

at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)

at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)

at oracle.forms.engine.Runform.processMessage(Unknown Source)

at oracle.forms.engine.Runform.processSet(Unknown Source)

at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

at oracle.forms.engine.Runform.onMessage(Unknown Source)

at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)

at oracle.forms.engine.Runform.startRunform(Unknown Source)

at oracle.forms.engine.Main.createRunform(Unknown Source)

at oracle.forms.engine.Main.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at oracle.forms.handler.UICommon.instantiate(Unknown Source)

at oracle.forms.handler.UICommon.onCreate(Unknown Source)

at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)

at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)

at oracle.forms.engine.Runform.processMessage(Unknown Source)

at oracle.forms.engine.Runform.processSet(Unknown Source)

at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

at oracle.forms.engine.Runform.onMessage(Unknown Source)

at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)

at oracle.forms.engine.Runform.startRunform(Unknown Source)

at oracle.forms.engine.Main.createRunform(Unknown Source)

at oracle.forms.engine.Main.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at oracle.forms.handler.UICommon.instantiate(Unknown Source)

at oracle.forms.handler.UICommon.onCreate(Unknown Source)

at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)

at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)

at oracle.forms.engine.Runform.processMessage(Unknown Source)

at oracle.forms.engine.Runform.processSet(Unknown Source)

at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

at oracle.forms.engine.Runform.onMessage(Unknown Source)

at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)

at oracle.forms.engine.Runform.startRunform(Unknown Source)

at oracle.forms.engine.Main.createRunform(Unknown Source)

at oracle.forms.engine.Main.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at oracle.forms.handler.UICommon.instantiate(Unknown Source)

at oracle.forms.handler.UICommon.onCreate(Unknown Source)

at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)

at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)

at oracle.forms.engine.Runform.processMessage(Unknown Source)

at oracle.forms.engine.Runform.processSet(Unknown Source)

at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

at oracle.forms.engine.Runform.onMessage(Unknown Source)

at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)

at oracle.forms.engine.Runform.startRunform(Unknown Source)

at oracle.forms.engine.Main.createRunform(Unknown Source)

at oracle.forms.engine.Main.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at oracle.forms.handler.UICommon.instantiate(Unknown Source)

at oracle.forms.handler.UICommon.onCreate(Unknown Source)

at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)

at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)

at oracle.forms.engine.Runform.processMessage(Unknown Source)

at oracle.forms.engine.Runform.processSet(Unknown Source)

at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

at oracle.forms.engine.Runform.onMessage(Unknown Source)

at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)

at oracle.forms.engine.Runform.startRunform(Unknown Source)

at oracle.forms.engine.Main.createRunform(Unknown Source)

at oracle.forms.engine.Main.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at oracle.forms.handler.UICommon.instantiate(Unknown Source)

at oracle.forms.handler.UICommon.onCreate(Unknown Source)

at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)

at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)

at oracle.forms.engine.Runform.processMessage(Unknown Source)

at oracle.forms.engine.Runform.processSet(Unknown Source)

at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

at oracle.forms.engine.Runform.onMessage(Unknown Source)

at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)

at oracle.forms.engine.Runform.startRunform(Unknown Source)

at oracle.forms.engine.Main.createRunform(Unknown Source)

at oracle.forms.engine.Main.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at oracle.forms.handler.UICommon.instantiate(Unknown Source)

at oracle.forms.handler.UICommon.onCreate(Unknown Source)

at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)

at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)

at oracle.forms.engine.Runform.processMessage(Unknown Source)

at oracle.forms.engine.Runform.processSet(Unknown Source)

at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

at oracle.forms.engine.Runform.onMessage(Unknown Source)

at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)

at oracle.forms.engine.Runform.startRunform(Unknown Source)

at oracle.forms.engine.Main.createRunform(Unknown Source)

at oracle.forms.engine.Main.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at oracle.forms.handler.UICommon.instantiate(Unknown Source)

at oracle.forms.handler.UICommon.onCreate(Unknown Source)

at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)

at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)

at oracle.forms.engine.Runform.processMessage(Unknown Source)

at oracle.forms.engine.Runform.processSet(Unknown Source)

at oracle.forms.engine.Runform.onMessageReal(Unknown Source)

at oracle.forms.engine.Runform.onMessage(Unknown Source)

at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)

at oracle.forms.engine.Runform.startRunform(Unknown Source)

at oracle.forms.engine.Main.createRunform(Unknown Source)

at oracle.forms.engine.Main.start(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)
Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 16h59   #11
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
En mode débog. je tombe sur :
Code :
1
2
3
 
  EXCEPTION  
    when WebUtil_Core.BEAN_NOT_REGISTERED then
et là il affiche l'alerte.

Je vois aussi qui existe un sign_webutil.bat dans le rép. C:\oracle\DevSuite\forms\webutil

Est-ce nécessaire ?
Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 17h00   #12
Rédacteur

 
Avatar de SheikYerbouti
 
Inscription : mai 2003
Messages : 6 533
Détails du profil
Informations forums :
Inscription : mai 2003
Messages : 6 533
Points : 6 469
Points : 6 469
Vilains messages d'erreur et rien sur Webutil.
Faudrait voir le fichier webutil.cfg
__________________
Rédacteur Oracle (Oracle ACE)
Guide Oracle ,Guide PL/SQL, Guide Forms 9i/10g, Index de recherche
Je ne réponds pas aux questions techniques par MP
Blogs: Forms-PL/SQL-J2EE - Forms Java Beans
SheikYerbouti est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 17h03   #13
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
Citation:
# ---------------------------------------------------------------------------
# webutil.cfg - WebUtil default configuration file
# ---------------------------------------------------------------------------
# This file provides all of the configuration settings for webutil. These are
# divided into the following sections:
# 1. Logging Options
# 2. Installation Options
# 3. FileUpload and Download Options


# 1. Server Side Logging Options for logging errors and log messages
# You must set logging.enabled to true to allow mid-tier logging. Without this
# mid-tier logging will not take place no matter what PL/SQL or URL options
# are supplied to switch it on. Once logging is enabled the other settings come
# into play.
#
# Details
# -------
# logging.file : Defines the file name and location of the log file.
# Note that WebUtil does no log file management. You may
# need to manually clean this file up from time to time.
# logging.enabled : Can be TRUE or FALSE
# logging.errorsonly : Can be TRUE or FALSE. Setting to true will ensure that
# only errors and not normal informational log messages
# are written to the log file. For product use this would
# normally be set to TRUE
# logging.connections: Can be TRUE or FALSE. Setting to true will cause each
# connection from a client using WebUtil to write into
# the log as it sets up.

logging.file=
logging.enabled=FALSE
logging.errorsonly=FALSE
logging.connections=FALSE


# 2. Installation Options
# WebUtil needs to download some files to the client in order to perform
# certain integration operations such as OLE or Registry Access. These files
# are downloaded the first time that you access one of the functions that need
# them. You have to define the location of these files on the server
#
# Details
# -------
# install syslib.location : The virtual path to the directory holding the
# webutil library files on the server side. This
# must either be an absolute URL or a URL that is
# relative to the documentbase
#
# install.syslib.<os>.<package>.<n> :
# The name(s) of the libraries required for
# particular webutil beans. The format of this is
# name|size|version|showDownloadDialog. Multiple
# libraries can be downloaded per package. But
# ensure that the <n> values are consecutive and
# start at 1

install.syslib.location=/webutil

# Change size and version if necessary, like when upgrading the library.
# Normally this would not be required since most of these libraries come with
# install itself.
install.syslib.0.7.1=jacob.dll|94208|1.0|true
install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true

# You can also add your own libraries in here, e.g.
#install.syslib.0.user.1=testwebutil.dll|204872|1.0|true




# 3. Upload / Download options
# For the file upload and download options you can define the default locations
# on the server that webutil can use as a work area. Optionally you can switch
# upload and download off
#
# Details
# -------
# transfer.database.enabled : Can be TRUE or FALSE - allows you to disable
# upload and download from the database server.
# transfer.appsrv.enabled : Can be TRUE or FALSE - allows you to disable
# upload and download from the application
# server.
# transfer.appsrv.workAreaRoot: The root of the location in which WebUtil can
# store temporary files uploaded from the client.
# If no location is specified, Application Server
# user_home/temp will be assumed.
# This location is always readable and writable
# no matter what the settings in
# transfer.appsrv.* are. This setting is
# required if you need the Client side
# READ/WRITE_IMAGE_FILE procedures.
# transfer.appsrv.accessControl:Can be TRUE or FALSE - allows you to indicate
# that uploads and downloads can only occur from
# the directories named in the
# transfer.appsrv.read.n and
# transfer.appsrv.write.n entries and their
# subdirectories. If this setting is FALSE,
# transfers can happen anywhere.
# transfer.appsrv.read.<n>: List of directory names that downloads can read
# from.
# transfer.appsrv.write.<n>: List of directory names that uploads can write
# to.

#NOTE: By default the file transfer is disabled as a security measure
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
transfer.appsrv.workAreaRoot=
transfer.appsrv.accessControl=TRUE
#List transfer.appsrv.read.<n> directories
transfer.appsrv.read.1=c:\temp
#List transfer.appsrv.write.<n> directories
transfer.appsrv.write.1=c:\temp

Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 17h06   #14
Expert Confirmé
 
Homme
Chef de projet en SSII
Inscription : janvier 2004
Messages : 2 866
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France, Loire Atlantique (Pays de la Loire)

Informations professionnelles :
Activité : Chef de projet en SSII
Secteur : Conseil

Informations forums :
Inscription : janvier 2004
Messages : 2 866
Points : 3 448
Points : 3 448
Je renouvelle ma question : as-tu renseigné dans formsweb.cfg webUtilArchive pour ta section ?
__________________
Un problème sans solution est un problème mal posé

Merci de poser vos questions sur le forum, je ne réponds pas aux questions posées par MP.
plaineR est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 17h17   #15
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
Je crois que oui. D'ailleurs j'ai posté tout le contenu de formsweb.cfg.
Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 17h19   #16
Expert Confirmé
 
Homme
Chef de projet en SSII
Inscription : janvier 2004
Messages : 2 866
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France, Loire Atlantique (Pays de la Loire)

Informations professionnelles :
Activité : Chef de projet en SSII
Secteur : Conseil

Informations forums :
Inscription : janvier 2004
Messages : 2 866
Points : 3 448
Points : 3 448
Citation:
Envoyé par Thomad
D'ailleurs j'ai posté tout le contenu de formsweb.cfg.
Euh, où ça ?
__________________
Un problème sans solution est un problème mal posé

Merci de poser vos questions sur le forum, je ne réponds pas aux questions posées par MP.
plaineR est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 17h22   #17
Rédacteur

 
Avatar de SheikYerbouti
 
Inscription : mai 2003
Messages : 6 533
Détails du profil
Informations forums :
Inscription : mai 2003
Messages : 6 533
Points : 6 469
Points : 6 469
Il manque peut-être une variable d'environnement quelque part. Pour vérifier, il faudrait ajouter les chemins complets.
__________________
Rédacteur Oracle (Oracle ACE)
Guide Oracle ,Guide PL/SQL, Guide Forms 9i/10g, Index de recherche
Je ne réponds pas aux questions techniques par MP
Blogs: Forms-PL/SQL-J2EE - Forms Java Beans
SheikYerbouti est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 17h31   #18
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
Comment mettre une variable d'environnement ? pour éviter de mettre les chemins en "dur".

mais il y a aussi WEBUTILCONFIG !?

je suis perdu dans cette affaire !!!
Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 17h34   #19
Membre habitué
 
Inscription : septembre 2002
Messages : 253
Détails du profil
Informations forums :
Inscription : septembre 2002
Messages : 253
Points : 127
Points : 127
Toutes mes excuses plaineR !!!

Citation:
# $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
# formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
# This section defines the Default settings. Any of them may be overridden in the
# following Named Configuration sections. If they are not overridden, then the
# values here will be used.
# The default settings comprise two types of parameters: System parameters,
# which cannot be overridden in the URL, and User Parameters, which can.
# Parameters which are not marked as System parameters are User parameters.
# SYSTEM PARAMETERS
# -----------------
# These have fixed names and give information required by the Forms
# Servlet in order to function. They cannot be specified in the URL query
# string. But they can be overridden in a named configuration (see below).
# Some parameters specify file names: if the full path is not given,
# they are assumed to be in the same directory as this file. If a path
# is given, then it should be a physical path, not a URL.
# USER PARAMETERS
# ---------------
# These match variables (e.g. %form%) in the baseHTML file. Their values
# may be overridden by specifying them in the URL query string
# (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
# or by overriding them in a specific, named configuration (see below)
[default]
# System parameter: default base HTML file
baseHTML=base.htm
# System parameter: base HTML file for use with JInitiator client
baseHTMLjinitiator=basejini.htm
# System parameter: base HTML file for use with Sun's Java Plug-In
baseHTMLjpi=basejpi.htm
# System parameter: delimiter for parameters in the base HTML files
HTMLdelimiter=%
# System parameter: working directory for Forms runtime processes
# WorkingDirectory defaults to <oracle_home>/forms if unset.
workingDirectory=
# System parameter: file setting environment variables for the Forms runtime processes
envFile=default.env

# Forms runtime argument: whether to escape certain special characters
# in values extracted from the URL for other runtime arguments
escapeparams=true
# Forms runtime argument: which form module to run
form=test.fmx
# Forms runtime argument: database connection details
userid=
# Forms runtime argument: whether to run in debug mode
debug=no
# Forms runtime argument: host for debugging
host=
# Forms runtime argument: port for debugging
port=
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
# Sub argument for otherparams
buffer=no
# Sub argument for otherparams
debug_messages=no
# Sub argument for otherparams
array=no
# Sub argument for otherparams
obr=no
# Sub argument for otherparams
query_only=no
# Sub argument for otherparams
quiet=yes
# Sub argument for otherparams
render=no
# Sub argument for otherparams
record=
# Sub argument for otherparams
tracegroup=
# Sub argument for otherparams
log=
# Sub argument for otherparams
term=

# HTML page title
pageTitle=Oracle Application Server Forms Services
# HTML attributes for the BODY tag
HTMLbodyAttrs=
# HTML to add before the form
HTMLbeforeForm=
# HTML to add after the form
HTMLafterForm=

# Forms applet parameter: URL path to Forms ListenerServlet
serverURL=/forms/lservlet
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=DocumentBase
# Forms applet parameter
width=750
# Forms applet parameter
height=600
# Forms applet parameter
separateFrame=false
# Forms applet parameter
splashScreen=
# Forms applet parameter
background=
# Forms applet parameter
lookAndFeel=Oracle
# Forms applet parameter
colorScheme=teal
# Forms applet parameter
logo=
# Forms applet parameter
restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
# Forms applet parameter
formsMessageListener=
# Forms applet parameter
recordFileName=
# Forms applet parameter
serverApp=default
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar
# Number of times client should retry if a network failure occurs. You should
# only change this after reading the documentation.
networkRetries=0

# Page displayed to Netscape users to allow them to download Oracle JInitiator.
# Oracle JInitiator is used with Windows clients.
# If you create your own page, you should set this parameter to point to it.
jinit_download_page=/forms/jinitiator/us/jinit_download.htm
# Parameter related to the version of JInitiator
jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
# Parameter related to the version of JInitiator
jinit_exename=jinit.exe#Version=1,3,1,22
# Parameter related to the version of JInitiator
jinit_mimetype=application/x-jinit-applet;version=1.3.1.22

# Page displayed to users to allow them to download Sun's Java Plugin.
# Sun's Java Plugin is typically used for non-Windows clients.
# (NOTE: you should check this page and possibly change the settings)
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
# Parameter related to the version of the Java Plugin
jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
# EM config parameter
# Set this to "1" to enable Enterprise Manager to track Forms processes
em_mode=0

# Single Sign-On OID configuration parameter
oid_formsid=%OID_FORMSID%
# Single Sign-On OID configuration parameter
oracle_home=C:\oracle\DevSuite
# Single Sign-On OID configuration parameter
formsid_group_dn=%GROUP_DN%
# Single Sign-On OID configuration parameter: indicates whether we allow
# dynamic resource creation if the resource is not yet created in the OID.
ssoDynamicResourceCreate=true
# Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
ssoErrorUrl=
# Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
ssoCancelUrl=
# Single Sign-On parameter: indicates whether the url is protected in which
# case mod_osso will be given control for authentication or continue in
# the FormsServlet if not. It is false by default. Set it to true in an
# application-specific section to enable Single Sign-On for that application.
ssoMode=false
# The parameter allow_debug determines whether debugging is permitted.
# Administrators should set allow_debug to "true" if servlet
# debugging is required, or to provide access to the Forms Trace Xlate utility.
# Otherwise these activities will not be allowed (for security reasons).
allow_debug=false
# Parameter which determines whether new Forms sessions are allowed.
# This is also read by the Forms EM Overview page to show the
# current Forms status.
allowNewConnections=true

# EndUserMonitoring

# EndUserMonitoringEnabled parameter
# Indicates whether EUM/Chronos integration is enabled
EndUserMonitoringEnabled=

# EndUserMonitoringURL
# indicates where to record EUM/Chronos data
EndUserMonitoringURL=

# Example Named Configuration Section
# Example 1: configuration to run forms in a separate browser window with
# "generic" look and feel (include "config=sepwin" in the URL)
# You may define your own specific, named configurations (sets of parameters)
# by adding special sections as illustrated in the following examples.
# Note that you need only specify the parameters you want to change. The
# default values (defined above) will be used for all other parameters.
# Use of a specific configuration can be requested by including the text
# "config=<your_config_name>" in the query string of the URL used to run
# a form. For example, to use the sepwin configuration, your could issue
# a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
[sepwin]
separateFrame=True
lookandfeel=Generic

# Example Named Configuration Section
# Example 2: configuration forcing use of the Java Plugin in all cases (even if
# the client browser is on Windows)
[jpi]
baseHTMLJInitiator=basejpi.htm

# Example Named Configuration Section
# Example 3: configuration running the Forms ListenerServlet in debug mode
# (debug messages will be written to the servlet engine's log file).
[debug]
serverURL=/forms/lservlet/debug

# Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
# DS but not AS and is also available for download from OTN.
[webutil]
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
Thomad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/05/2007, 17h40   #20
Expert Confirmé
 
Homme
Chef de projet en SSII
Inscription : janvier 2004
Messages : 2 866
Détails du profil
Informations personnelles :
Sexe : Homme
Localisation : France, Loire Atlantique (Pays de la Loire)

Informations professionnelles :
Activité : Chef de projet en SSII
Secteur : Conseil

Informations forums :
Inscription : janvier 2004
Messages : 2 866
Points : 3 448
Points : 3 448
Je suppose que c'est default qui est exécutée, ajoute dans la section default (apres archive=frmall.jar) :
Code :
1
2
3
4
webUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=Console
WebUtilLoggingDetail=Normal
WebUtilErrorMode=ALL
__________________
Un problème sans solution est un problème mal posé

Merci de poser vos questions sur le forum, je ne réponds pas aux questions posées par MP.
plaineR est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 03h12.


 
 
 
 
Partenaires

Hébergement Web