IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Forms Oracle Discussion :

[Forms 10] oracle.forms.webutil.file.FileFunctions bean not found


Sujet :

Forms Oracle

  1. #1
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    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+

  2. #2
    Expert éminent sénior
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Points : 11 862
    Points
    11 862
    Par défaut
    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

  3. #3
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    Par défaut
    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

  4. #4
    Expert éminent sénior
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Points : 11 862
    Points
    11 862
    Par défaut
    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

  5. #5
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    Par défaut
    J'utilise çà dans WHEN-BUTTON-PRESSED

  6. #6
    Expert éminent sénior
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Points : 11 862
    Points
    11 862
    Par défaut
    Et la section du fichier de config /forms/server/formsweb.cfg contient bien l'appel à webutil ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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

  7. #7
    Membre expert

    Homme Profil pro
    Chef de projet en SSII
    Inscrit en
    Janvier 2004
    Messages
    2 862
    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 862
    Points : 3 609
    Points
    3 609
    Par défaut
    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.

  8. #8
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    Par défaut
    j'ai webutiljini.htm mais sans le chemin

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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

  9. #9
    Expert éminent sénior
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Points : 11 862
    Points
    11 862
    Par défaut
    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

  10. #10
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    Par défaut
    Voilà ce qui est retournée:

    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)

  11. #11
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    Par défaut
    En mode débog. je tombe sur :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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 ?

  12. #12
    Expert éminent sénior
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Points : 11 862
    Points
    11 862
    Par défaut
    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

  13. #13
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    Par défaut
    # ---------------------------------------------------------------------------
    # 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


  14. #14
    Membre expert

    Homme Profil pro
    Chef de projet en SSII
    Inscrit en
    Janvier 2004
    Messages
    2 862
    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 862
    Points : 3 609
    Points
    3 609
    Par défaut
    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.

  15. #15
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    Par défaut
    Je crois que oui. D'ailleurs j'ai posté tout le contenu de formsweb.cfg.

  16. #16
    Membre expert

    Homme Profil pro
    Chef de projet en SSII
    Inscrit en
    Janvier 2004
    Messages
    2 862
    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 862
    Points : 3 609
    Points
    3 609
    Par défaut
    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.

  17. #17
    Expert éminent sénior
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Points : 11 862
    Points
    11 862
    Par défaut
    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

  18. #18
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    Par défaut
    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 !!!

  19. #19
    Membre actif
    Profil pro
    Inscrit en
    Septembre 2002
    Messages
    386
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Septembre 2002
    Messages : 386
    Points : 220
    Points
    220
    Par défaut
    Toutes mes excuses plaineR !!!

    # $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

  20. #20
    Membre expert

    Homme Profil pro
    Chef de projet en SSII
    Inscrit en
    Janvier 2004
    Messages
    2 862
    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 862
    Points : 3 609
    Points
    3 609
    Par défaut
    Je suppose que c'est default qui est exécutée, ajoute dans la section default (apres archive=frmall.jar) :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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.

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 2 12 DernièreDernière

Discussions similaires

  1. Réponses: 1
    Dernier message: 20/11/2008, 20h53
  2. Réponses: 3
    Dernier message: 19/11/2008, 18h12
  3. Oracle forms et Oracle 8
    Par sabri_icone dans le forum Installation
    Réponses: 2
    Dernier message: 09/03/2008, 22h32
  4. [Forms]fenêtre oracle forms
    Par selabd dans le forum Forms
    Réponses: 3
    Dernier message: 03/04/2007, 19h31
  5. [Forms]alerte oracle forms
    Par med_anis_dk dans le forum Forms
    Réponses: 1
    Dernier message: 17/05/2006, 08h18

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo