Skip Headers
Oracle® Application Server Forms Services Deployment Guide
10g Release 2 (10.1.2)
B14032-03
  Go To Documentation Library
Library
Go To Product List
Product
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

C.2 Platform Specific default.env Files

There are two platform specific versions of default.env:

C.2.1 Default default.env File for Windows

# 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=%FORMS_ORACLE_HOME%
 
  #
  # 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=%FORMS_ORACLE_HOME%\forms
  # webutil config file path
  WEBUTIL_CONFIG=%FORMS_ORACLE_HOME%\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 
  # %ORACLE_HOME%\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=%FORMS_ORACLE_HOME%\bin;%FORMS_ORACLE_HOME%\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=%FORMS_ORACLE_HOME%\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=%FORMS_ORACLE_HOME%\j2ee\OC4J_BI_Forms
\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;
%FORMS_ORACLE_HOME%\jlib\repository.jar;%FORMS_ORACLE_HOME%
\jlib\ldapjclnt10.jar;%FORMS_ORACLE_HOME%\jlib\debugger.jar;%FORMS_ORACLE_HOME%
\jlib\ewt3.jar;%FORMS_ORACLE_HOME%\jlib\share.jar;%FORMS_ORACLE_HOME%
\jlib\utj.jar;%FORMS_ORACLE_HOME%\jlib\zrclient.jar;%FORMS_ORACLE_HOME%
\reports\jlib\rwrun.jar;%FORMS_ORACLE_HOME%\forms\java\frmwebutil.jar

C.2.2 Default default.env File for Solaris

# default.env - default Forms environment file, Solaris 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 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=%FORMS_ORACLE_HOME%
  #
  # Search path for Forms applications (.fmx files, PL/SQL libraries)
  #
  FORMS_PATH=%FORMS_ORACLE_HOME%/forms
  # webutil config file path
  WEBUTIL_CONFIG=%FORMS_ORACLE_HOME%/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, repository.jar and ldapjclnt10.jar are required for
  # the password expiry feature to work(#2213140).
  #
  CLASSPATH=%FORMS_ORACLE_HOME%/j2ee/OC4J_BI_Forms
/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:%FORMS_ORACLE_HOME%
/jlib/repository.jar:%FORMS_ORACLE_HOME%/jlib/ldapjclnt10.jar:%FORMS_ORACLE_HOME%
/jlib/debugger.jar:%FORMS_ORACLE_HOME%/jlib/ewt3.jar:%FORMS_ORACLE_HOME%
/jlib/share.jar:%FORMS_ORACLE_HOME%/jlib/utj.jar:%FORMS_ORACLE_HOME%
/jlib/zrclient.jar:%FORMS_ORACLE_HOME%/reports/jlib/rwrun.jar:%FORMS_ORACLE_HOME%
/forms/java/frmwebutil.jar
  #
  # The PATH setting is not required for Forms if the Forms executables are 
  # in <ORACLE_HOME>/bin. However, it is required if Graphics applications
  # are called from Forms applications.
  #
  PATH=%FORMS_ORACLE_HOME%/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 Graphics
  # -------------------------------
  # NOTE: These settings are only needed if Graphics applications 
  # are called from Forms applications
  #
    #
    # 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
  #
    #
    # 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=%FORMS_ORACLE_HOME%/lib32:%O_JDK_HOME%/jre/lib/sparc:
%O_JDK_HOME%/jre/lib/sparc/native_threads:%LD_LIBRARY_PATH%