ヘッダーをスキップ
Oracle® Fusion Middleware Forms Servicesデプロイメント・ガイド
11g リリース1(11.1.1)
B61388-02
  ドキュメント・ライブラリへ移動
ライブラリ
製品リストへ移動
製品
目次へ移動
目次
索引へ移動
索引

前
 
次
 

C 構成ファイルの場所とサンプル

この項では、構成ファイルとそのデフォルトの場所のリストを示します。また、システムにインストールされているデフォルトの構成ファイルのサンプルも紹介します。デフォルト値の中には、場所やパスのように変更できるものもあります。

C.1 Forms構成ファイルの場所

表C-1は、UNIXでのForms構成ファイルのデフォルトの場所を示しています。Windowsでも、これらのファイルの場所はほぼ同じです。

表C-1 リリース11.1.1.1.0およびリリース11.1.1.2.0でのファイルとその場所のリスト

ファイル名 リリース11.1.1.1.0での場所 リリース11.1.1.2.0以降での場所

formsweb.cfg

$DOMAIN_HOME/servers/WLS_FORMS/stage/formsapp/11.1.1/formsapp/config

$DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_11.1.1/config

default.env

$DOMAIN_HOME/servers/WLS_FORMS/stage/formsapp/11.1.1/formsapp/config

$DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_11.1.1/config

base.htm

$DOMAIN_HOME/servers/WLS_FORMS/stage/formsapp/11.1.1/formsapp/config

$ORACLE_INSTANCE/config/FormsComponent/forms/server

basejpi.htm

$DOMAIN_HOME/servers/WLS_FORMS/stage/formsapp/11.1.1/formsapp/config

$ORACLE_INSTANCE/config/FormsComponent/forms/server

webutilbase.htm

$DOMAIN_HOME/servers/WLS_FORMS/stage/formsapp/11.1.1/formsapp/config

$ORACLE_INSTANCE/config/FormsComponent/forms/server

webutiljpi.htm

$DOMAIN_HOME/servers/WLS_FORMS/stage/formsapp/11.1.1/formsapp/config

$ORACLE_INSTANCE/config/FormsComponent/forms/server

ftrace.cfg

$ORACLE_INSTANCE/config/FormsComponent/forms/server

$ORACLE_INSTANCE/config/FormsComponent/forms/server

web.xml

$DOMAIN_HOME/servers/WLS_FORMS/stage/formsapp/11.1.1/formsapp/formsweb.war/WEB-INF/

$DOMAIN_HOME/servers/WLS_FORMS/tmp/_WL_user/formsapp_11.1.1/<random_string>/war/WEB-INF

weblogic.xml

$DOMAIN_HOME/servers/WLS_FORMS/stage/formsapp/11.1.1/formsapp/formsweb.war/WEB-INF/

$DOMAIN_HOME/servers/WLS_FORMS/tmp/_WL_user/formsapp_11.1.1/<random_string>/war/WEB-INF

forms.conf

$ORACLE_INSTANCE/config/OHS/<OHS INSTANCE NAME>/moduleconf

$ORACLE_INSTANCE/config/OHS/<OHS INSTANCE NAME>/moduleconf

jvmcontroller.cfg

$ORACLE_INSTANCE/config/FRComponent/frcommon/tools/jvm/

$ORACLE_INSTANCE/config/FRComponent/frcommon/tools/jvm/

webutil.cfg

$ORACLE_INSTANCE/config/FormsComponent/forms/server/

$ORACLE_INSTANCE/config/FormsComponent/forms/server/

Registry.dat

$ORACLE_INSTANCE/config/FormsComponent/forms/registry/oracle/forms/registry/

$DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_11.1.1/config/forms/registry/oracle/forms/registry


C.2 デフォルトのformsweb.cfg

デフォルトのformsweb.cfgファイルのサンプルには次の内容が含まれます。

#formsweb.cfg defines parameter values used by the FormsServlet 
# 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.example.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 Sun's Java Plug-In
baseHTMLjpi=basejpi.htm
# System parameter: delimiter for parameters in the base HTML files
HTMLdelimiter=%
# 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=
# Forms runtime argument: BIDI digitSubstitution
digitSubstitution=context
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=obr=%obr% record=%record% tracegroup=%tracegroup% log=%log% term=%term% ssoProxyConnect=%ssoProxyConnect%
# Sub argument for otherparams
obr=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 Fusion Middleware 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=codebase
# Forms applet parameter
width=750
# Forms applet parameter
height=600
# Forms applet parameter
separateFrame=false
# Forms applet parameter
splashScreen=
# Forms applet parameter
allowAlertClipboard=true
# Forms applet parameter
disableValidateClipboard=false
# Forms applet parameter
highContrast=false
# Forms applet parameter
background=
# Forms applet parameter
lookAndFeel=Oracle
# Forms applet parameter
colorScheme=teal
# Forms applet parameter
logo=
# Forms applet parameter
restrictedURLparams=pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log
# Forms applet parameter
formsMessageListener=
# Forms applet parameter
recordFileName=
# Forms applet parameter
serverApp=default
# 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 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/6u12/index.html
# Parameter related to the version of the Java Plugin
jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
# Applet parameter for Sun's Java Plugin
legacy_lifecycle=false
# 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
# Single Sign-On parameter: indicates whether session should operate in proxy
# user support or not. Specify ssoProxyConnect=yes to enable for particular
 application.
ssoProxyConnect=no
# 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=false
# EndUserMonitoringURL 
# indicates where to record EUM/Chronos data
EndUserMonitoringURL=
# Config for javascript integration
applet_name=
enableJavascriptEvent=true
# Config variable that will indicate if heartbeat will
# be blocked when a javascript call is a blocking call.
# The default value if false, i.e heart beat will not be
# blocked for any javascript calls.
JavaScriptBlocksHeartBeat=false
# 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.example.com/forms/frmservlet?config=sepwin".
[sepwin]
separateFrame=True
lookandfeel=Generic
# Example Named Configuration Section
# Example 2: 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 deployingWebUtil. Note that WebUtil is
# only installed with the Forms Builder 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
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
archive=frmall.jar
lookAndFeel=oracle

C.3 プラットフォーム固有のdefault.envファイル

default.envには、プラットフォーム固有の2つのバージョンがあります。

C.3.1 デフォルトのWindows用default.envファイル

# 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 used will be that defined
# in the environment in which the WLS Managed Server was started.
#
# NOTES
# Configuration assistant will replace all the macro's with
#    the actual values. 
#
  ORACLE_HOME=D:\Oracle2\Middleware\as_2
  ORACLE_INSTANCE=D:\Oracle2\Middleware\asinst_2
 
  #
  # TNS Entry to locate the database
  #
  TNS_ADMIN=D:\Oracle2\Middleware\asinst_2\config
 
  #
  # 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=D:\Oracle2\Middleware\as_2\forms;D:\Oracle2\Middleware\asinst
_2\FormsComponent\forms
 
  # webutil config file path
  WEBUTIL_CONFIG=D:\Oracle2\Middleware\asinst
_2\config\FormsComponent\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 and
  # java.exe). Since PATH is being set, it needs to also include  
  # D:\Oracle2\Middleware\as_2\bin so relevant files are correctly found.
  #
  PATH=D:\Oracle2\Middleware\as_2\bin;D:\Oracle2\Middleware\as
2\jdk\jre\bin\client;D:\Oracle2\Middleware\as_2\jdk\bin
 
  #
  # Settings for Forms tracing and logging
  # -----------------------------------------------
  # Note: By default tracing and logging directory is
  # %ORACLE_INSTANCE%\FormsComponent\forms\trace
  # To change the trace directory this entry has to be uncommented and set to
  # desired directory for tracing and logging
 
    #FORMS_TRACE_DIR=%ORACLE_INSTANCE%\FormsComponent\forms\trace
  
  #
  # Settings for Javascript events
  # -----------------------------------------------
  # Note: If this variable is set to false then the triggers and
  # built-ins associated with javascript events are disabled
 
    #FORMS_ALLOW_JAVASCRIPT_EVENTS=
 
  #
  # System settings
  # ---------------
  # You should not normally need to modify these settings
  #
  FORMS=D:\Oracle2\Middleware\as_2\forms
 
  #
  # Java class path 
  #   This is required for the Forms debugger
  #   You can append your own Java code here)
  # frmsrv.jar and ldapjclnt11.jar are required for
  # the password expiry feature to work(#2213140).
  #
  CLASSPATH=D:\Oracle2\Middleware\as
_2\forms\j2ee\frmsrv.jar;D:\Oracle2\Middleware\as
_2\jlib\ldapjclnt11.jar;D:\Oracle2\Middleware\as
_2\jlib\debugger.jar;D:\Oracle2\Middleware\as
_2\jlib\ewt3.jar;D:\Oracle2\Middleware\as
_2\jlib\share.jar;D:\Oracle2\Middleware\as
_2\jlib\utj.jar;D:\Oracle2\Middleware\as
_2\jlib\zrclient.jar;D:\Oracle2\Middleware\as
_2\reports\jlib\rwrun.jar;D:\Oracle2\Middleware\as
_2\forms\java\frmwebutil.jar;D:\Oracle2\Middleware\as_2/jlib/start
_dejvm.jar;D:\Oracle2\Middleware\as_2\opmn\lib\optic.jar

C.3.2 デフォルトのUNIXおよびLinux用default.envファイル

# default.env - default Forms environment file, Linux version
#
# This file is used to set the Forms runtime environment parameters.
# If a parameter is not defined here, the value used will be that defined
# in the environment in which the WLS Managed Server was started.
#
# NOTES
#    Configuration assitant will replace all the macro's with
#    the actual values. 
#
#
#
  ORACLE_HOME=/as_1
  ORACLE_INSTANCE=/asinst_1
 
  #
  # TNS Entry to locate the database
  #
  TNS_ADMIN=/asinst_1/config
 
  #
  # Search path for Forms applications (.fmx files, PL/SQL libraries)
  #
  FORMS_PATH=/as_1/forms:/asinst_1/FormsComponent/forms
 
  #
  # WebUtil config file path. WebUtil is available for download from OTN.
  #
  WEBUTIL_CONFIG=/asinst_1/config/FormsComponent/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
 
  # Java class path 
  #   This is required for the Forms debugger
  #   You can append your own Java code here)
  # frmsrv.jar and ldapjclnt11.jar are required for
  # the password expiry feature to work(#2213140).
  #
  CLASSPATH=/as
_1/forms/j2ee/frmsrv.jar:/as
_1/jlib/ldapjclnt11.jar:/as
_1/jlib/debugger.jar:/as
_1/jlib/ewt3.jar:/as_1/jlib/share.jar:/as
_1/jlib/utj.jar:/as
_1/jlib/zrclient.jar:/as
_1/reports/jlib/rwrun.jar:/as
_1/forms/java/frmwebutil.jar:/as_1/jlib/start
_dejvm.jar:/as_1/opmn/lib/optic.jar
#

  # The PATH setting is not required for frmweb if the Forms executables are 
  # in <ORACLE_HOME>/bin. JDK/bin is also required for dejvm to be
  # auto-started by frmweb.
  #
  PATH=/scratch/cls0223/bea/as_1/bin:/scratch/cls0223/bea/as_1/jdk/bin
  
  #
  # Settings for Reports
  # -------------------------------
  # NOTE: This setting is only needed if Reports applications 
 # are called from Forms applications
  # However, because of bug 2336698 where a report is started from 
  # a forms debugger session with an already running JVM, then
  # the report's class path should also be included in the forms 
  # class path.
  # We no longer need to set REPORTS_CLASSPATH as forms will
  # always start the JVM before calling reports.
 
  #
  # Settings for Forms tracing and logging
  # -----------------------------------------------
  # Note: By default tracing and logging directory is 
  # $ORACLE_INSTANCE/FormsComponent/forms/trace 
  # To change the trace directory this entry has to be uncommented and set to
  # desired directory for tracing and logging
 
    #FORMS_TRACE_DIR=/scratch/cls0223/asinst_1/FormsComponent/forms/trace
 
  #
  # Settings for Javascript events
  # -----------------------------------------------
  # Note: If this variable is set to false then the triggers and
  # built-ins associated with javascript events are disabled
 
    #FORMS_ALLOW_JAVASCRIPT_EVENTS=
  
 
  #
  # System settings
  # ---------------
  # You should not normally need to modify these settings
  #
    #
    # Path for shared library objects
    #   This is highly platform (if not machine) specific !  At install time
    #   <percent>LD_LIBRARY_PATH<percent> should be replaced with the 
    #   actual value of the LD_LIBRARY_PATH environment variable (at install
    #   time).  That should ensure we have the paths for such necessities as 
    #   the motif and X11 libraries.
    # Explanations: 
    #   - Reports needs the path for libjava.so
    #     (.../jre/lib/sparc)
    #   - Forms needs two paths to the jre, for libjvm.so and libhpi.so
    #   - In JDK 1.4.1 the location of libjvm.so is lib/sparc (there is no 
    #     classic directory) so we do not include the .../classic directory 
    #     below. There are other versions of libjvm.so (in directories server, 
    #     client and hotspot) but we will use the version in lib/sparc for now.
    #
    LD_LIBRARY_PATH=/bea/as_1/lib:/bea/as
_1/jdk/jre/lib/i386:/bea/as
_1/jdk/jre/lib/i386/server:/bea/as_1/jdk/jre/lib/i386/native
_threads
   #
   # Setting to take care of signal-chaining facility offered by JVM 1.5
   # Without this Forms/Reports integration could have issues on Unix/Linux
   #
   LD_PRELOAD=/as_1/jdk/jre/lib/i386/libjsig.so

C.4 base.htmファイルとbasejpi.htmファイル

Formsのインストールおよび構成中に、Oracle Universal Installerによってシステムに2つのベースHTMLファイルが作成されます。ほとんどの場合、これらのファイルを変更する必要はありません。これらのファイルを変更する必要がある場合は、独自のバージョンを作成し、これをformsweb.cfgファイルから参照する必要があります。デフォルトのファイルは、パッチのインストールによって上書きされます。

ユーザーが最初にOracle Formsアプリケーションを起動すると(アプリケーションのURLへのリンクをクリックすることで)、ベースHTMLファイルがFormsサーブレットによって読み取られます。

ベースHTMLファイル内の変数(%variablename%)は、第4.2項「Forms Servicesの構成」で説明されているようにformsweb.cfgファイルに指定された適切なパラメータ値によって置換され、URLリクエストがある場合はその問合せパラメータの値によって置換されます。問合せパラメータの値は、formsweb.cfgファイル内の値を上書きします。

次に、ベースHTMLファイルがユーザーのWebブラウザにダウンロードされます。

次のベースHTML開始ファイルが$ORACLE_INSTANCE/config/FormsComponent/forms/server/ディレクトリに格納されます。

新しいベースHTMLファイルを作成するには:

  1. $ORACLE_INSTANCE/config/FormsComponent/forms/server/ディレクトリにある開始ファイルbasejpi.htmまたはbase.htmをコピーします。

  2. ファイル名を変更します(たとえば、order.htm)。

  3. ユーザーに表示されるテキストを追加または変更します(たとえば、<TITLE>タグおよび<BODY>タグ内のテキスト)。

  4. 必要に応じてパラメータを変更します。ベースHTMLファイルの変数を使用し、「formsweb.cfg」で説明されているように、formsweb.cfgファイルの実際の値を指定します。

    ベースHTMLのタグも固有の名前の付いた構成セクションで設定でき、システムのデフォルト値を上書きできます。これは、個別のカスタム・ベースHTMLテンプレートを使用する必要がある場合にお薦めします。ただし、カスタム・テンプレートをすべてのアプリケーションに使用する場合は、formsweb.cfgファイルのデフォルトの構成セクションを変更することをお薦めします。

  5. 新しいベースHTMLファイルを$ORACLE_INSTANCE/config/FormsComponent/forms/server/ディレクトリに置き、この新しいベースHTMLファイルを指すようにformsweb.cfgファイルのbaseHTMLパラメータとbaseHTMLjpiパラメータを更新します。

C.4.1 ベースHTMLファイル内のパラメータと変数

base.htmまたはbasejpi.htmファイルで提供されるパラメータ・タグを使用しない場合は、ファイルから削除してください。

残りのパラメータ値を変数(%variablename%)としてベースHTMLファイルで指定することをお薦めします。例:

<PARAM NAME="logo"  VALUE="%logo%">

次に、formsweb.cfgファイルに実際のパラメータ値を指定します。すべての変数が実行時に適切なパラメータ値で置き換えられます。

C.4.1.1 使用方法

  • 変数の値は、ベースHTMLファイル内のどこでも使用できます。変数は特別のデリミタで囲まれた名前として指定されます(デフォルトのデリミタは%)。たとえば、HTMLファイルに次の行を置くことができます。

ARCHIVE="%Archive%"
次に値をformsweb.cfgファイルまたはURLの問合せ文字列内の%Archive%に割り当てる必要があります。
  • すべての変数は実行時に値を受け取る必要があります。変数が値を受け取らないと、Forms ServicesがユーザーのWebブラウザに渡す適切なHTMLファイルを構築できないため、エラーが発生します。

  • パフォーマンスを向上するには、JARファイルのダウンロード用のソースとして1つのWebサーバーのみを使用してください。同じファイルを異なるサーバーから複数回ダウンロードすることを防げます。

C.4.2 デフォルトのbase.htmファイル

<HTML>
<!-- FILE: base.htm (Oracle Forms) -->
<!--                               -->
<!-- This is the default base HTML file for running a form on 
<!--the web using a generic APPLET tag to include   -->
<!-- Forms applet.-->
<!--                              -->
<!-- IMPORTANT NOTES:             -->
<!-- Default values for all the variables which appear         
<!-- below (enclosed in percent characters) are defined-->
<!-- in the servlet configuration file (formsweb.cfg).    -->
<!--  It is preferable to make changes in that file where   -->
<!--  possible, rather than this one.     -->

<!-- This file will be REPLACED if you reinstall 
<!--Oracle Forms, so you are advised to make your own  -->
<!--  version if you want to make want to make any  -->
<!--  modifications.  You should then set the       -->
<!-- baseHTML parameter in the Forms Servlet 
<!--configuration file (formsweb.cfg) to point to     -->
<!--  your new file instead of this one.  -->
<HEAD><TITLE>%pageTitle%</TITLE></HEAD>
<BODY %HTMLbodyAttrs%>
%HTMLbeforeForm%
<COMMENT id="forms_plugin_info" 
         serverURL="%serverURL%"
         appcodebase="%codebase%"
         apparchive="%archive%" 
         appheight="%Height%"
         appwidth="%Width%"
         appname="%applet_name%">
</COMMENT>
<!-- Forms applet definition (start) -->
<NOSCRIPT>
<APPLET CODEBASE="%codebase%"
        CODE="oracle.forms.engine.Main"
        ARCHIVE="%archive%"
        WIDTH="%Width%"
        HEIGHT="%Height%"
        NAME="%applet_name%" MAYSCRIPT>
</NOSCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="/forms/frmjscript/forms_base_ie.js">
</SCRIPT>
<PARAM NAME="serverURL" VALUE="%appletServerURL%">
<PARAM NAME="networkRetries" VALUE="%networkRetries%">
<PARAM NAME="serverArgs"
VALUE="%escapeParams% module=%form% userid=%userid% debug=%debug% host=%host% port=%port% %otherParams%">
<PARAM NAME="separateFrame" VALUE="%separateFrame%">
<PARAM NAME="splashScreen"  VALUE="%splashScreen%">
<PARAM NAME="background"  VALUE="%background%">
<PARAM NAME="lookAndFeel"  VALUE="%lookAndFeel%">
<PARAM NAME="colorScheme"  VALUE="%colorScheme%">
<PARAM NAME="serverApp" VALUE="%serverApp%">
<PARAM NAME="logo" VALUE="%logo%">
<PARAM NAME="imageBase" VALUE="%imageBase%">
<PARAM NAME="formsMessageListener" VALUE="%formsMessageListener%">
<PARAM NAME="recordFileName" VALUE="%recordFileName%">
<PARAM NAME="EndUserMonitoringEnabled" VALUE="%EndUserMonitoringEnabled%">
<PARAM NAME="EndUserMonitoringURL" VALUE="%EndUserMonitoringURL%">
<PARAM NAME="heartbeat" VALUE="%heartbeat%">
<PARAM NAME="MaxEventWait" VALUE="%MaxEventWait%">
<PARAM NAME="allowAlertClipboard" VALUE="%allowAlertClipboard%">
<PARAM NAME="disableValidateClipboard" VALUE="%disableValidateClipboard%">
<PARAM NAME="enableJavascriptEvent" VALUE="%enableJavascriptEvent%">
<PARAM NAME="digitSubstitution" VALUE="%digitSubstitution%">
<PARAM NAME="legacy_lifecycle" VALUE="%legacy_lifecycle%">
<PARAM NAME="JavaScriptBlocksHeartBeat" VALUE="%JavaScriptBlocksHeartBeat%">
<PARAM NAME="highContrast" VALUE="%highContrast%">
</Applet>
<!--Forms applet deinition (end) -->
&HTMLafterForm%
</BODY>
</HTML>

C.4.3 デフォルトのbasejpi.htmファイル

<HTML>
<!-- FILE: basejpi.htm (Oracle Forms)   -->
<!--                                    -->
<!-- This is the default base HTML file for running 
<!--a form on the  web using the JDK Java Plugin.   -->
<!--  This is used for example when     -->
<!-- running with Netscape on Unix.     -->
<!-- IMPORTANT NOTES:                   -->
<!-- Default values for all the variables which -->
<!--appear below (enclosed in percent characters)--> 
<!-- are defined in the servlet configuration file  -->
<!-- (formsweb.cfg). It is preferable to make      -->
<!-- changes in that file where possible, rather than 
<!--this one.       -->
<!--                                 -->
<!-- This file will be REPLACED if you reinstall 
<!--Oracle Forms, so     -->
<!-- you are advised to create your own version if 
<!--you want to make   -->
<!-- any modifications.  You should then set the 
<!--baseHTMLjpi          -->
<!-- parameter in the Forms Servlet configuration file 
<!--(formsweb.cfg) -->
<!-- to point to your new file instead of this one. -->
<HEAD>
<TITLE>%pageTitle%</TITLE>
</HEAD>
<BODY %HTMLbodyAttrs%>
%HTMLbeforeForm%
<COMMENT id="forms_plugin_info" 
         serverURL="%serverURL%"
         plug_ver="%jpi_classid%" 
         appheight="%Height%"
         appwidth="%Width%"
         appcodebase="%jpi_codebase%"
         appname="%applet_name%">
</COMMENT>
<!-- Forms applet definition (start) -->
<NOSCRIPT>
<OBJECT classid="%jpi_classid%"
        codebase="%jpi_codebase%"
        WIDTH="%Width%"
        HEIGHT="%Height%"
        HSPACE="0"
        VSPACE="0"
        ID="%applet_name%">
</NOSCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="/forms/frmjscript/forms_ie.js">
</SCRIPT>
<PARAM NAME="TYPE"       VALUE="%jpi_mimetype%">
<PARAM NAME="CODEBASE"   VALUE="%codebase%">
<PARAM NAME="CODE"       VALUE="oracle.forms.engine.Main" >                   
<PARAM NAME="ARCHIVE"    VALUE="%archive%" >
<PARAM NAME="serverURL" VALUE="%appletServerURL%">
<PARAM NAME="networkRetries" VALUE="%networkRetries%">
<PARAM NAME="serverArgs" 
       VALUE="%escapeParams% module=%form% userid=%userid% debug=%debug% host=%host% port=%port% %otherParams%">
<PARAM NAME="separateFrame" VALUE="%separateFrame%">
<PARAM NAME="splashScreen"  VALUE="%splashScreen%">
<PARAM NAME="background"  VALUE="%background%">
<PARAM NAME="lookAndFeel"  VALUE="%lookAndFeel%">
<PARAM NAME="colorScheme"  VALUE="%colorScheme%">
<PARAM NAME="serverApp" VALUE="%serverApp%">
<PARAM NAME="logo" VALUE="%logo%">
<PARAM NAME="imageBase" VALUE="%imageBase%">
<PARAM NAME="formsMessageListener" VALUE="%formsMessageListener%">
<PARAM NAME="recordFileName" VALUE="%recordFileName%">
<PARAM NAME="EndUserMonitoringEnabled" VALUE="%EndUserMonitoringEnabled%">
<PARAM NAME="EndUserMonitoringURL" VALUE="%EndUserMonitoringURL%">
<PARAM NAME="heartBeat" VALUE="%heartBeat%">
<PARAM NAME="MaxEventWait" VALUE="%MaxEventWait%">
<PARAM NAME="allowAlertClipboard" VALUE="%allowAlertClipboard%">
<PARAM NAME="disableValidateClipboard" VALUE="%disableValidateClipboard%">
<PARAM NAME="enableJavascriptEvent" VALUE="%enableJavascriptEvent%">
<PARAM NAME="MAYSCRIPT" VALUE="%enableJavascriptEvent%">
<PARAM NAME="digitSubstitution" VALUE="%digitSubstitution%">
<PARAM NAME="legacy_lifecycle" VALUE="%legacy_lifecycle%">
<PARAM NAME="JavaScriptBlocksHeartBeat" VALUE="%JavaScriptBlocksHeartBeat%">
<PARAM NAME="highContrast" VALUE="%highContrast%">
<COMMENT>
<EMBED SRC="" PLUGINSPAGE="%jpi_download_page%" 
        TYPE="%jpi_mimetype%" 
        java_codebase="%codebase%" 
        java_code="oracle.forms.engine.Main" 
        java_archive="%archive%" 
        WIDTH="%Width%"
        HEIGHT="%Height%" 
        HSPACE="0         
        VSPACE="0"
        NAME="%applet_name%"
serverURL="%appletServerURL%"
        networkRetries="%networkRetries%"
        serverArgs="%escapeParams% module=%form% userid=%userid% debug=%debug% host=%host% port=%port% %otherparams%"
        separateFrame="%separateFrame%"
        splashScreen="%splashScreen%"
        background="%background%"
        lookAndFeel="%lookAndFeel%"
        colorScheme="%colorScheme%"
        serverApp="%serverApp%"
        logo="%logo%"
        imageBase="%imageBase%"
        recordFileName="%recordFileName%"
        EndUserMonitoringEnabled="%EndUserMonitoringEnabled%"
        EndUserMonitoringURL="%EndUserMonitoringURL%"
        heartBeat="%heartBeat%"
        MaxEventWait="%MaxEventWait%"
        disableValidateClipboard="%disableValidateClipboard%"
allowAlertClipboard="%allowAlertClipboard%"
        enableJavascriptEvent="%enableJavascriptEvent%"
        MAYSCRIPT="%enableJavascriptEvent%"
        digitSubstitution="%digitSubstitution%"
        legacy_lifecycle="%legacy_lifecycle%"
        JavaScriptBlocksHeartBeat="%JavaScriptBlocksHeartBeat%"
        highContrast="%highContrast%"
<NOEMBED>
</COMMENT>
</NOEMBED>
</EMBED>
</OBJECT>
<!-- Forms applet definition (end) -->
%HTMLafterForm%
</BODY>
</HTML>

C.5 web.xml

web.xmlファイルは、Forms Java EEアプリケーションのWebアプリケーション・デプロイメント・ディスクリプタ・ファイルです。このファイルは$DOMAIN_HOME/servers/WLS_FORMS/tmp/_WL_user/formsapp_11.1.1/<random_string>/war/WEB-INF/にあります。上級ユーザーは、web.xmlファイルを編集して次のことを実行できます。

C.5.1 デフォルトのweb.xmlファイル

<?xml version='1.0' encoding='UTF-8'?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee">
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <servlet>
    <servlet-name>frmservlet</servlet-name>
    <servlet-class>oracle.forms.servlet.FormsServlet</servlet-class>
    <init-param>
       <!-- Turn on or off sensitive options on the frmservlet/admin page. 
            For security reasons this should be set to false for 
            production sites.
       -->
       <param-name>testMode</param-name>
       <param-value>false</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet>
    <servlet-name>lservlet</servlet-name>
    <servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>frmservlet</servlet-name>
    <url-pattern>/frmservlet/*</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>lservlet</servlet-name>
    <url-pattern>/lservlet/*</url-pattern>
  </servlet-mapping>
  <!-- add mime mapping for the java scripts -->
  <mime-mapping>
     <extension>js</extension>
      <mime-type>application/x-javascript</mime-type>
  </mime-mapping>
  <welcome-file-list>
    <welcome-file>lservlet</welcome-file>
    <welcome-file>frmservlet</welcome-file>
  </welcome-file-list>
  <listener>
    <listener-class>oracle.forms.config.mbeans.FormsappLifeCycleCallBack</listener-class>
  </listener>
   <!--  Define security constraints to limit access to the defined url to a 
   particular role. Logical roles are defined in web.xml and these roles are mapped
   to actual roles(principal roles) in weblogic.xml 
   -->
   <security-constraint>
      <web-resource-collection>
         <web-resource-name>TraceLog</web-resource-name> 
         <url-pattern>/frmservlet/trace/*</url-pattern> 
         <http-method>GET</http-method>
      </web-resource-collection>
      <auth-constraint>
         <description>Admin users only</description>
         <role-name>formsadmin</role-name> 
      </auth-constraint>
   </security-constraint>
   
   <login-config>
     <auth-method>BASIC</auth-method>
     <realm-name>WebApp</realm-name>
   </login-config>
   <security-role>
        <description>admin role</description>
        <role-name>formsadmin</role-name>
    </security-role>
 
</web-app>

C.6 weblogic.xml

weblogic.xmlは、Webアプリケーション・デプロイメント・ディスクリプタ・ファイルです。このファイルは$DOMAIN_HOME/servers/WLS_FORMS/tmp/_WL_user/formsapp_11.1.1/<random_string>/war/WEB-INFにあります。

<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<session-descriptor>
   <timeout-secs>7200</timeout-secs>
   <invalidation-interval-secs>120</invalidation-interval-secs>
   <debug-enabled>false</debug-enabled> 
   <id-length>52</id-length>
   <tracking-enabled>true</tracking-enabled>
   <cache-size>1024</cache-size>
   <max-in-memory-sessions>-1</max-in-memory-sessions> 
   <cookies-enabled>false</cookies-enabled>
</session-descriptor>
 
<!--logical roles defined in web.xml are mapped to the real users below --> 
<security-role-assignment>
   <role-name>formsadmin</role-name>
   <principal-name>Administrators</principal-name>
</security-role-assignment>
</weblogic-web-app>

C.7 forms.conf

11gよりも前のリリースでは、forms.confで仮想パスのマッピングを定義していました。11gでは、Forms Servicesアプリケーションの配布先である管理対象サーバーに対するWebLogicハンドラのマッピングをforms.confで定義しています。詳細は、第3.2.3項「Oracle HTTP Listenerの構成ファイル」を参照してください。このファイルの場所は$ORACLE_INSTANCE/config/OHS/<OHS INSTANCE NAME>/moduleconfです。


注意:

forms.confで接頭辞/forms/を使用してユーザー定義のaliasMatchを指定する場合は、ディレクティブWLExcludePathOrMimeTypeを追加します。Linuxでの例をあげると、forms.conf/forms/usericonsaliasMatchを定義する場合は、次のようにディレクティブWLExcludePathOrMimeTypeを定義します。
AliasMatch /forms/usericons/(..*) "/home/userx/myicons/$1"
WLExcludePathOrMimeType /forms/usericons/


C.7.1 デフォルトのforms.conf

# Name
#    forms.conf  - Forms component Apache directives configuration file.

# Purpose
#    It should include the weblogic managed server (routing) directives for
#    the servers where Forms applications are deployed and other miscellaneous
#    Forms component OHS directives.
#
#
# Remarks
#    This file is included with the OHS configuration under
#    $OI/config/OHS/<OHS Node Name>/moduleconf sub-directory.
#
#
<IfModule !mod_osso.c>
        LoadModule osso_module  ${ORACLE_HOME}/ohs/modules/mod_osso.so
</IfModule>
<IfModule mod_osso.c>
        OssoHTTPOnly off
</IfModule>
<Location /forms>
        SetHandler weblogic-handler
        WebLogicCluster    dadvma0190.us.oracle.com:9001
        DynamicServerList OFF
</Location>
# 
# virtual mapping for the /forms/html mapping. 
# 
RewriteEngine on 
RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT] 
AliasMatch ^/workaroundhtml/(..*) 
"/scratch/fmw/ps1/rc3/asinst_2/config/FormsComponent/forms/html/$1"

C.8 Registry.dat

場所: $DOMAIN_HOME/config/fmwconfig/servers/WLS_FORMS/applications/formsapp_11.1.1/config/forms/registry/oracle/forms/registry

このファイルを使用すると、Forms Servicesで使用するデフォルトのフォント、フォント・マッピングおよびアイコンを変更できます。

C.8.1 Registry.dat

# This is the Registry file.
# 
# This file contains the logical [Java] Class name and an associated
# [numerical] identifier that will be used to refer to objects of the
# class in order to reduce the amount of information that needs to be
# repeatedly transmitted to the client.
# 
# This file is of the Form understood by java.util.Properties (for now)
# 
# The System Level sound file is relative to the CODEBASE
# 
# The oracle classes which used to be defined here have now been moved to
# within the code.
# 
# # 
# Defaults for the Font details, all names are Java Font names.  Each of
# these parameters represents the default property to use when none is
# specified.
# defaultFontname represents the default Java fontName.
# defaultSize     represents the default fontSize.  Note that the size is
#                 multiplied by 100 (e.g. a 10pt font has a size of 1000).
# defaultStyle    represents the default fontStyle, PLAIN or ITALIC.
# defaultWeight   represents the default fontWeight, PLAIN or BOLD.
# 
default.fontMap.defaultFontname=Dialog
default.fontMap.defaultSize=900
default.fontMap.defaultStyle=PLAIN
default.fontMap.defaultWeight=PLAIN
# 
# 
# Default Font Face mapping.
# 
# appFontname  represents a comma delimited list of Application Font Names.
# javaFontname represents a comma delimited list of Java Font Names.
# 
# The number of entries in the appFontname list should match the number in
# the javaFontname list.  The elements of the list are comma separated and
# *all* characters are taken literally, leading and trailing spaces are
# stripped from Face names.
#
# Note that this file uses the Java 1.1 Font names in order to be able to
# handle the NLS Plane (BUG #431051)
#
default.fontMap.appFontnames=Courier New,Courier,courier,System,Terminal,Fixed,Fixedsys,Times,Times New Roman,MS Sans Serif,Arial
default.fontMap.javaFontnames=MonoSpaced,MonoSpaced,MonoSpaced,Dialog,MonoSpaced,Dialog,Dialog,Serif,Serif,Dialog,SansSerif
# The Application Level icon files are relative to the DOCUMENTBASE
#   example: icons/
# or an absolute URL.
#   example: http://www.example.net/~luser/d2k_project/
#
default.icons.iconpath=
default.icons.iconextension=gif
 
 
#
# Application level settings to control UI features
#
app.ui.lovButtons=false
app.ui.requiredFieldVA=false
#    The background color is specified as an RGB triple.
app.ui.requiredFieldVABGColor=255,0,0

C.9 デフォルトのjvmcontroller.cfg

jvmcontrollerパラメータを使用すると、特定のJVMコントローラを使用するようにFormsアプリケーションを構成できます。このパラメータはformsweb.cfgで指定します。JVMコントローラで使用するパラメータは、そのJVMコントローラの構成ファイルjvmcontrollers.cfgで指定します。このファイルは$ORACLE_INSTANCE/config/FRComponent/frcommon/tools/jvm/にあります。

# jvmcontrollers.cfg defines parameter values used by the JVM Controller(dejvm) 
 
# Default JVM Controller
# This section defines the default settings. Any of them may be overridden
# in the following Named JVM Controller sections.  If they are not overridden,
# then the values here will be used.
[default]
 
 
# Example: Named JVM Controller
# This section shows example values for a jvm controller. These
# values overrides any values defined for the default controller.
[example]
jvmoptions=-Xms512m -Xmx1024m
 
# Classpath settings given here is an example only. This should be
# modified to include the required jar files and should be set in
# platform specific manner.
classpath=/myapps/common/jars/common.jar:/myapps/anapp/jars/anapp.jar
maxsessions=50
logdir=/myapps/anapp/log
logging=off

C.10 デフォルトのwebutil.cfg

webutil.cfgファイルは、実行時のWebUtilを構成するために使用するファイルの1つです。このファイルの詳細は、第3.2.6項「WebUtilの構成ファイル」を参照してください。設計時のWebUtilの使用については、Oracle Forms Developerのヘルプを参照してください。このファイルは$ORACLE_INSTANCE/config/FormsComponent/forms/server/にあります。

# ---------------------------------------------------------------------------
# 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. File Upload 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 and the
# location on the client.
#
# 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.location.client.<os>  :
#                             The path to the directory on the client machine
#                             where webutil library files will be downloaded.
#                             This must either be an absolute path or a path
#                             that is relative to client user profile or HOME.
#                             Directory will be created if necessary along with
#                             other required parent directories.
#                             If the path is not set, it will be treated as
#                             a special case where libraries will be downloaded
#                             to client JRE\bin (windows) or JRE/lib (unix).
#                             If this directory is changed, all the libraries
#                             will be redownloaded again.
#
#  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
# Uncomment and change the following if you want to specify a client location
# where the syslib libraries can be downloaded.
#install.syslib.location.client.0=webutil\syslib
#install.syslib.location.client.1=webutil/syslib
# 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|106496|1.10|true
install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
# 3. Upload / Download Options
# You can also add your own libraries in here, e.g.
#install.syslib.0.user.1=testwebutil.dll|204872|1.0|true
# 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 enable or
#                                disable upload and download from the database
#                                server.
#  transfer.appsrv.enabled     : Can be TRUE or FALSE - allows you to enable or 
#                                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=FALSE
transfer.appsrv.enabled=FALSE
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
# 4. Others
# Details
# -------
# BlockAllowHeartBeat     : To continue the heart beat communication with the
#                           server when set to TRUE. By default the value is
#                           set to False. When False there would not be heart 
#                           beat communication in blocking mode.
BlockAllowHeartBeat=False

C.11 デフォルトのwebutilbase.htm

このファイルは$ORACLE_INSTANCE/config/FormsComponent/forms/server/にあります。

このテンプレート.htmファイルは、WebUtilアプリケーション・セクションで使用します。

<HTML>
<!-- FILE: webutilbase.htm (Oracle Forms)                           -->
<!--                                                                -->
<!-- This is the default base HTML file for running a form on the   -->
<!-- web using a generic APPLET tag to include Forms applet.        -->
<!-- and a certificate regsitration applet for the WebUtil utility  -->
<!--                                                                -->
<!-- IMPORTANT NOTES:                                               -->
<!-- Default values for all the variables which appear below        -->
<!-- (enclosed in percent characters) are defined in the servlet    -->
<!-- configuration file (formsweb.cfg). It is preferable to make    -->
<!-- changes in that file where possible, rather than this one.     -->
<!--                                                                -->
<!-- This file uses several extra tags that are not present in the  -->
<!-- default template files.  You should ensure that these are      -->
<!-- present in the configuration that uses this template           -->
<!-- The extra substitution Tags are:                               -->
<!--  %webUtilArchive% = jar file containing the WebUtil code       -->
<!--                     (by default this should be frmwebutil.jar) -->
<!--  %WebUtilLogging% = Defines the current logging mode.          -->
<!--                     Valid values: off|on|console|server|all    -->
<!--                     (on == console)                            -->
<!--  %WebUtilLoggingDetail% = Specifies the level of error logging.-->
<!--                     Valid values: normal|detailed              -->
<!--  %WebUtilErrorMode% = Should errors be displayed in an alert   -->
<!--                     as well as the programmer defined          -->
<!--                     locations                                  -->
<!--                     Valid values: console|server|alert|all     -->
<!--  %WebUtilDispatchMonitorInterval% = Counts in second to        -->
<!--                     indicate how often the monitor thread      -->
<!--                     checks to see if the Forms session is still-->
<!--                     alive. Used with the WebUtil_Session       -->
<!--                     package.                                   -->
<!--  %WebUtilTrustInternal% = Should intranet without domain suffix-->
<!--                     be trusted.                                -->
<!--                     Valid values: true|yes|false|no            -->
<!--  %WebUtilMaxTransferSize% = Size in bytes of file transfer     -->
<!--                     segments. Default and maximum allowed is   -->
<!--                     16384, i.e. 16K.                           -->
 
<HEAD><TITLE>%pageTitle% - WebUtil</TITLE></HEAD>
 
<BODY %HTMLbodyAttrs%>
%HTMLbeforeForm%
 
<!-- Registration applet definition (start) -->
<APPLET CODEBASE="%codebase%"
        CODE="oracle.forms.webutil.common.RegisterWebUtil"
        ARCHIVE="%webUtilArchive%"
        WIDTH="0"
        HEIGHT="0"
        HSPACE="0"
        VSPACE="0">
 
</APPLET>
<!-- Registration applet definition (end) -->
 
<COMMENT id="forms_plugin_info" 
         serverURL="%serverURL%"
         appcodebase="%codebase%"
         apparchive="%archive%,%webUtilArchive%" 
         appheight="%Height%"
         appwidth="%Width%"
         appname="%applet_name%">
</COMMENT>
 
<!-- Forms applet definition (start) -->
<NOSCRIPT>
<APPLET CODEBASE="%codebase%"
        CODE="oracle.forms.engine.Main"
        ARCHIVE="%archive%,%webUtilArchive%"
        WIDTH="%Width%"
        HEIGHT="%Height%"
        NAME="%applet_name%" MAYSCRIPT>
</NOSCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="/forms/frmjscript/forms_base_ie.js"></SCRIPT> 
<PARAM NAME="serverURL" VALUE="%appletServerURL%">
<PARAM NAME="networkRetries" VALUE="%networkRetries%">
<PARAM NAME="serverArgs"
       VALUE="%escapeParams% module=%form% userid=%userid% debug=%debug% host=%host% port=%port% %otherParams%">
<PARAM NAME="separateFrame" VALUE="%separateFrame%">
<PARAM NAME="splashScreen"  VALUE="%splashScreen%">
<PARAM NAME="background"  VALUE="%background%">
<PARAM NAME="lookAndFeel"  VALUE="%lookAndFeel%">
<PARAM NAME="colorScheme"  VALUE="%colorScheme%">
<PARAM NAME="serverApp" VALUE="%serverApp%">
<PARAM NAME="logo" VALUE="%logo%">
<PARAM NAME="imageBase" VALUE="%imageBase%">
<PARAM NAME="formsMessageListener" VALUE="%formsMessageListener%">
<PARAM NAME="recordFileName" VALUE="%recordFileName%">
<PARAM NAME="EndUserMonitoringEnabled" VALUE="%EndUserMonitoringEnabled%">
<PARAM NAME="EndUserMonitoringURL" VALUE="%EndUserMonitoringURL%">
<PARAM NAME="heartbeat" VALUE="%heartbeat%">
<PARAM NAME="heartBeat" VALUE="%heartBeat%">
<PARAM NAME="MaxEventWait" VALUE="%MaxEventWait%">
<PARAM NAME="allowAlertClipboard" VALUE="%allowAlertClipboard%">
<PARAM NAME="disableValidateClipboard" VALUE="%disableValidateClipboard%">
<PARAM NAME="enableJavascriptEvent" VALUE="%enableJavascriptEvent%">
<PARAM NAME="digitSubstitution" VALUE="%digitSubstitution%">
<PARAM NAME="legacy_lifecycle" VALUE="%legacy_lifecycle%">
<PARAM NAME="JavaScriptBlocksHeartBeat" VALUE="%JavaScriptBlocksHeartBeat%">
<PARAM NAME="highContrast" VALUE="%highContrast%">
<PARAM NAME="disableMDIScrollbars" VALUE="%disableMDIScrollbars%">
<PARAM NAME="clientDPI" VALUE="%clientDPI%">
<!-- Params specific to webutil -->
<PARAM NAME="WebUtilLogging" VALUE="%WebUtilLogging%">
<PARAM NAME="WebUtilLoggingDetail" VALUE="%WebUtilLoggingDetail%">
<PARAM NAME="WebUtilErrormode" VALUE="%WebUtilErrorMode%">
<PARAM NAME="WebUtilDispatchMonitorInterval"
VALUE="%WebUtilDispatchMonitorInterval%">
<PARAM NAME="WebUtilTrustInternal" VALUE="%WebUtilTrustInternal%">
<PARAM NAME="WebUtilMaxTransferSize" VALUE="%WebUtilMaxTransferSize%">
</APPLET>
<!-- Forms applet definition (end) -->
%HTMLafterForm%
</BODY>
</HTML>

C.12 デフォルトのwebutiljpi.htm

このファイルは$ORACLE_INSTANCE/config/FormsComponent/forms/server/にあります。

このテンプレート.htmファイルは、WebUtilアプリケーション・セクションで使用します。

<HTML>
<!-- FILE: webutiljpi.htm (Oracle Forms)                            -->
<!--                                                                -->
<!-- This is the default base HTML file for running a form on the   -->
<!-- web using the JDK Java Plugin. This is used for example when   -->
<!-- running with Netscape on Unix.                                 -->
<!-- and a certificate regsitration applet for the WebUtil utility  -->
<!--                                                                -->
<!-- IMPORTANT NOTES:                                               -->
<!-- Default values for all the variables which appear below        -->
<!-- (enclosed in percent characters) are defined in the servlet    -->
<!-- configuration file (formsweb.cfg). It is preferable to make    -->
<!-- changes in that file where possible, rather than this one.     -->
<!--                                                                -->
<!-- This file uses several extra tags that are not present in the  -->
<!-- default template files.  You should ensure that these are      -->
<!-- present in the configuration that uses this template           -->
<!-- The extra substitution Tags are:                               -->
<!--  %webUtilArchive% = jar file containing the WebUtil code       -->
<!--                     (by default this should be frmwebutil.jar) -->
<!--  %WebUtilLogging% = Defines the current logging mode.          -->
<!--                     Valid values: off|on|console|server|all    -->
<!--                     (on == console)                            -->
<!--  %WebUtilLoggingDetail% = Specifies the level of error logging.-->
<!--                     Valid values: normal|detailed              -->
<!--  %WebUtilErrorMode% = Should errors be displayed in an alert   -->
<!--                     as well as the programmer defined          -->
<!--                     locations                                  -->
<!--                     Valid values: console|server|alert|all     -->
<!--  %WebUtilDispatchMonitorInterval% = Counts in second to        -->
<!--                     indicate how often the monitor thread      -->
<!--                     checks to see if the Forms session is still-->
<!--                     alive. Used with the WebUtil_Session       -->
<!--                     package.                                   -->
<!--  %WebUtilTrustInternal% = Should intranet without domain suffix-->
<!--                     be trusted.                                -->
<!--                     Valid values: true|yes|false|no            -->
<!--  %WebUtilMaxTransferSize% = Size in bytes of file transfer     -->
<!--                     segments. Default and maximum allowed is   -->
<!--                     16384, i.e. 16K.                           -->
 
<HEAD><TITLE>%pageTitle% - WebUtil</TITLE></HEAD>
 
<BODY %HTMLbodyAttrs%>
%HTMLbeforeForm%
 
<!-- Registration applet definition (start) -->
<OBJECT classid="%jpi_classid%"
        codebase="%jpi_codebase%"
        WIDTH="0"
        HEIGHT="0"
        HSPACE="0"
        VSPACE="0">
<PARAM NAME="TYPE"       VALUE="%jpi_mimetype%">
<PARAM NAME="CODEBASE"   VALUE="%codebase%">
<PARAM NAME="CODE"       VALUE="oracle.forms.webutil.common.RegisterWebUtil" >
<PARAM NAME="ARCHIVE"    VALUE="%webUtilArchive%" >
<COMMENT>
<EMBED SRC="" PLUGINSPAGE="%jpi_download_page%"
        TYPE="%jpi_mimetype%"
        java_codebase="%codebase%"
        java_code="oracle.forms.webutil.common.RegisterWebUtil"
        java_archive="%webUtilArchive%"
        WIDTH="1"
        HEIGHT="1"
        HSPACE="0"
        VSPACE="0"
>
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!-- Registration applet definition (end) -->
 
<COMMENT id="forms_plugin_info" 
         serverURL="%serverURL%"
         plug_ver="%jpi_classid%" 
         appheight="%Height%"
         appwidth="%Width%"
         appcodebase="%jpi_codebase%"
         appname="%applet_name%">
</COMMENT>
 
<!-- Forms applet definition (start) -->
<NOSCRIPT>
<OBJECT classid="%jpi_classid%"
        codebase="%jpi_codebase%"
        WIDTH="%Width%"
        HEIGHT="%Height%"
        HSPACE="0"
        VSPACE="0"
        ID="%applet_name%">
</NOSCRIPT>
<SCRIPT LANGUAGE="JavaScript" SRC="/forms/frmjscript/forms_ie.js"></SCRIPT> 
<PARAM NAME="TYPE"       VALUE="%jpi_mimetype%">
<PARAM NAME="CODEBASE"   VALUE="%codebase%">
<PARAM NAME="CODE"       VALUE="oracle.forms.engine.Main" >
<PARAM NAME="ARCHIVE"    VALUE="%archive%,%webUtilArchive%" >
 
<PARAM NAME="serverURL" VALUE="%appletServerURL%">
<PARAM NAME="networkRetries" VALUE="%networkRetries%">
<PARAM NAME="serverArgs"
       VALUE="%escapeParams% module=%form% userid=%userid% debug=%debug%
 host=%host% port=%port% %otherParams%">
<PARAM NAME="separateFrame" VALUE="%separateFrame%">
<PARAM NAME="splashScreen"  VALUE="%splashScreen%">
<PARAM NAME="background"  VALUE="%background%">
<PARAM NAME="lookAndFeel"  VALUE="%lookAndFeel%">
<PARAM NAME="colorScheme"  VALUE="%colorScheme%">
<PARAM NAME="serverApp" VALUE="%serverApp%">
<PARAM NAME="logo" VALUE="%logo%">
<PARAM NAME="imageBase" VALUE="%imageBase%">
<PARAM NAME="formsMessageListener" VALUE="%formsMessageListener%">
<PARAM NAME="recordFileName" VALUE="%recordFileName%">
<PARAM NAME="EndUserMonitoringEnabled" VALUE="%EndUserMonitoringEnabled%">
<PARAM NAME="EndUserMonitoringURL" VALUE="%EndUserMonitoringURL%">
<PARAM NAME="heartBeat" VALUE="%heartBeat%">
<PARAM NAME="MaxEventWait" VALUE="%MaxEventWait%">
<PARAM NAME="allowAlertClipboard" VALUE="%allowAlertClipboard%">
<PARAM NAME="disableValidateClipboard" VALUE="%disableValidateClipboard%">
<PARAM NAME="enableJavascriptEvent" VALUE="%enableJavascriptEvent%">
<PARAM NAME="MAYSCRIPT" VALUE="%enableJavascriptEvent%">
<PARAM NAME="digitSubstitution" VALUE="%digitSubstitution%">
<PARAM NAME="legacy_lifecycle" VALUE="%legacy_lifecycle%">
<PARAM NAME="JavaScriptBlocksHeartBeat" VALUE="%JavaScriptBlocksHeartBeat%">
<PARAM NAME="highContrast" VALUE="%highContrast%">
<PARAM NAME="disableMDIScrollbars" VALUE="%disableMDIScrollbars%">
<PARAM NAME="clientDPI" VALUE="%clientDPI%">
<!-- Params specific to webutil -->
<PARAM NAME="WebUtilLogging" VALUE="%WebUtilLogging%">
<PARAM NAME="WebUtilLoggingDetail" VALUE="%WebUtilLoggingDetail%">
<PARAM NAME="WebUtilErrorMode" VALUE="%WebUtilErrorMode%">
<PARAM NAME="WebUtilDispatchMonitorInterval"
 VALUE="%WebUtilDispatchMonitorInterval%">
<PARAM NAME="WebUtilTrustInternal" VALUE="%WebUtilTrustInternal%">
<PARAM NAME="WebUtilMaxTransferSize" VALUE="%WebUtilMaxTransferSize%">
<COMMENT>
<EMBED SRC="" PLUGINSPAGE="%jpi_download_page%"
        TYPE="%jpi_mimetype%"
       java_codebase="%codebase%"
        java_code="oracle.forms.engine.Main"
       java_archive="%archive%,%webUtilArchive%"
        WIDTH="%Width%"
        HEIGHT="%Height%"
        HSPACE="0"
        VSPACE="0"
        NAME="%applet_name%"
        serverURL="%appletServerURL%"
        networkRetries="%networkRetries%"
        serverArgs="%escapeParams% module=%form% userid=%userid% debug=%debug%
 host=%host% port=%port% %otherparams%"
        separateFrame="%separateFrame%"
        splashScreen="%splashScreen%"
        background="%background%"
        lookAndFeel="%lookAndFeel%"
        colorScheme="%colorScheme%"
        serverApp="%serverApp%"
        logo="%logo%"
        imageBase="%imageBase%"
        recordFileName="%recordFileName%"
        EndUserMonitoringEnabled="%EndUserMonitoringEnabled%"
        EndUserMonitoringURL="%EndUserMonitoringURL%"
        heartBeat="%heartBeat%"
        MaxEventWait="%MaxEventWait%"
        allowAlertClipboard" VALUE="%allowAlertClipboard%"
        disableValidateClipboard="%disableValidateClipboard%"
        enableJavascriptEvent="%enableJavascriptEvent%"
        MAYSCRIPT="%enableJavascriptEvent%"
        digitSubstitution="%digitSubstitution%"
        legacy_lifecycle="%legacy_lifecycle%"
        JavaScriptBlocksHeartBeat="%JavaScriptBlocksHeartBeat%"
        highContrast="%highContrast%"
        disableMDIScrollbars="%disableMDIScrollbars%"
        clientDPI="%clientDPI%"
        WebUtilLogging="%WebUtilLogging%"
        WebUtilLoggingDetail="%WebUtilLoggingDetail%"
        WebUtilErrormode="%WebUtilErrorMode%"
        WebUtilDispatchMonitorInterval="%WebUtilDispatchMonitorInterval%"
        WebUtilTrustInternal="%WebUtilTrustInternal%"
        WebUtilMaxTransferSize="%WebUtilMaxTransferSize%"
>
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!-- Forms applet definition (end) -->
%HTMLafterForm%
</BODY>
</HTML>