1 2 3 Previous Next 30 Replies Latest reply on Dec 3, 2008 6:57 PM by 673768 Go to original post
      • 30. Re: WebUtil problem.
        673768
        Hi,

        I have a similar problem!!

        I'm currently working on a fairly big migration from Forms6i to Forms10g.

        I am getting this error message "oracle.forms.webutil.fileTransfer.FileTransfer bean not found. WEBUTIL_FILE_TRANSFER.getMaxTransfer will not work" when using the "client_image.READ_IMAGE_FILE(:blk_display_others.txt_document_path, 'TIF', g_item_blob_others);" within a when-button-press trigger is used.

        The form is run locally. (OAS not configured yet!) The form is invoked with the following: [http://cip-vinettes.ic.gc.ca:8889/forms/frmservlet?form=idsapplication&config=webutil]

        Here are the different config files:

        formsweb.cfg*


        {color:#ff0000}=Start=========================================================================
        {color}# $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
        baseHTML=webutilbase.htm


        # System parameter: base HTML file for use with JInitiator client
        # baseHTMLjinitiator=basejini.htm
        baseHTMLjinitiator=webutiljini.htm


        # System parameter: base HTML file for use with Sun's Java Plug-In
        # baseHTMLjpi=basejpi.htm
        baseHTMLjpi=webutiljpi.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


        # WebUtil stuff...
        WebUtilArchive=frmall_jinit.jar,frmwebutil.jar,jacob.jar
        WebUtilLogging=off
        WebUtilLoggingDetail=normal
        WebUtilErrorMode=Alert
        WebUtilDispatchMonitorInterval=5
        WebUtilTrustInternal=true
        WebUtilMaxTransferSize=16384


        # 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=1100
        # Forms applet parameter
        height=800
        # 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:\DevSuiteHome_1
        # 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=frmall_jinit.jar,frmwebutil.jar,jacob.jar
        WebUtilLogging=off
        WebUtilLoggingDetail=normal
        # WebUtilErrorMode=Alert
        WebUtilErrorMode=Alert
        WebUtilDispatchMonitorInterval=5
        WebUtilTrustInternal=true
        WebUtilMaxTransferSize=16384
        baseHTMLjinitiator=webutiljini.htm
        baseHTMLjpi=webutiljpi.htm
        archive_jini=frmall_jinit.jar
        archive=frmall.jar
        lookAndFeel=oracle
        {color:#ff0000}=End==========================================================================
        {color}

        _default.e



        {color:#ff0000}=Start=========================================================================
        {color}# $Id: default.env 14-apr-2005.13:22:43 pkuhn Exp $
        # default.env - default Forms environment file, Windows version
        #
        # This file is used to set the Forms runtime environment parameters.
        # If a parameter is not defined here, the value in the Windows registry
        # will be used. If no value is found in the registry, the value used will
        # be that defined in the environment in which the servlet engine (OC4J
        # or JServ) was started.
        #
        # NOTES
        # 1/ The Forms installation process should replace all occurrences of
        # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
        # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
        # the location of the JDK (usually $ORACLE_HOME/jdk).
        # Please make these changes manually if not.
        # 2/ Some of the variables below may need to be changed to suite your needs.
        # Please refer to the Forms documentation for details.
        #
        ORACLE_HOME=C:\DevSuiteHome_1


        #
        # Search path for Forms applications (.fmx files, PL/SQL libraries)
        # If you need to include more than one directory, they should be semi-colon
        # separated (e.g. c:\test\dir1;c:\test\dir2)
        #
        FORMS_PATH=C:\DevSuiteHome_1\forms


        # webutil config file path
        WEBUTIL_CONFIG=C:\DevSuiteHome_1\forms\server\webutil.cfg


        # Disable/remove this variable if end-users need access to the query-where
        # functionality which potentially allows them to enter arbitrary SQL
        # statements when in enter-query mode.
        FORMS_RESTRICT_ENTER_QUERY=TRUE


        #
        # The PATH setting is required in order to pick up the JVM (jvm.dll).
        # The Forms runtime executable and dll's are assumed to be in
        # C:\DevSuiteHome_1\bin if they are not in the PATH.
        # In addition, if you are running Graphics applications, you will need
        # to append the following to the path (where <Graphics Oracle Home> should
        # be replaced with the actual location of your Graphics 6i oracle_home):
        #
        # ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
        #


        PATH=C:\DevSuiteHome_1\bin;C:\DevSuiteHome_1\jdk\jre\bin\client


        #
        # Settings for Graphics
        # -------------------------------
        # NOTE: These settings are only needed if Graphics applications
        # are called from Forms applications. In addition, you will need to
        # modify the PATH variable above as described above.
        #


        #
        # Please uncomment the following and put the correct 6i
        # oracle_home value to use Graphics applications.
        #
        #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>


        #
        # Search path for Graphics applications
        #
        #GRAPHICS60_PATH=


        #
        # Settings for Forms tracing and logging
        # -----------------------------------------------
        # Note: This entry has to be uncommented to enable tracing and
        # logging.


        #FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>\forms\server



        #
        # System settings
        # ---------------
        # You should not normally need to modify these settings
        #
        FORMS=C:\DevSuiteHome_1\forms


        #
        # Java class path
        # This is required for the Forms debugger
        # You can append your own Java code here)
        # frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
        # the password expiry feature to work(#2213140).
        #
        CLASSPATH=C:\DevSuiteHome_1\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;C:\DevSuiteHome_1\jlib\repository.jar;C:\DevSuiteHome_1\jlib\ldapjclnt10.jar;C:\DevSuiteHome_1\jlib\debugger.jar;C:\DevSuiteHome_1\jlib\ewt3.jar;C:\DevSuiteHome_1\jlib\share.jar;C:\DevSuiteHome_1\jlib\utj.jar;C:\DevSuiteHome_1\jlib\zrclient.jar;C:\DevSuiteHome_1\reports\jlib\rwrun.jar;C:\DevSuiteHome_1\forms\java\frmwebutil.jar;C:\DevSuiteHome_1\jre\1.4.2\lib\rt.jar
        {color:#ff0000}=End==========================================================================
        {color}

        webutil.cfg*



        {color:#ff0000}=Start=========================================================================
        {color}# ---------------------------------------------------------------------------
        # 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
        install.syslib.location=http://cip-vinettes.ic.gc.ca:8889/forms/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=c:\temp
        transfer.appsrv.accessControl=FALSE
        #List transfer.appsrv.read.<n> directories
        transfer.appsrv.read.1=c:\temp
        #List transfer.appsrv.write.<n> directories
        transfer.appsrv.write.1=c:\temp

        {color:#ff0000}=End==========================================================================
        {color}

        The Java Console looks like this:


        {color:#ff0000}=Start=========================================================================
        {color}Oracle JInitiator: Version 1.3.1.22
        Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
        User home directory = C:\Documents and Settings\VinetteS


        Proxy Configuration: Manual Configuration


        Proxy: ftp=ftp-proxy.ic.gc.ca:80;http=http-proxy.ic.gc.ca:80;https=security-proxy.ic.gc.ca:80


        Proxy Overrides: *.ic.gc.ca,<local>


        JAR cache enabled
        Location: C:\Documents and Settings\VinetteS\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://cip-vinettes.ic.gc.ca:8889/forms/java/frmall_jinit.jar] from JAR cache


        Loading [http://cip-vinettes.ic.gc.ca:8889/forms/java/frmall_jinit.jar] from JAR cache


        Loading [http://cip-vinettes.ic.gc.ca:8889/forms/java/frmwebutil.jar] from JAR cache


        RegisterWebUtil - Loading WebUtil Version 10.1.2.0


        Loading [http://cip-vinettes.ic.gc.ca:8889/forms/java/jacob.jar] from JAR cache


        proxyHost=null


        proxyPort=0


        connectMode=HTTP, native.


        Forms Applet version is : 10.1.2.0


        RegisterWebUtil - Loading WebUtil Version 10.1.2.0


        proxyHost=null


        proxyPort=0


        connectMode=HTTP, native.


        Forms Applet version is : 10.1.2.0
        {color:#ff0000}=End=========================================================================

        {color}{color:#000000}Any help would be much appreciated!!

        Thx!

        Stephan{color}

        1 2 3 Previous Next