对于EBS数据库管理员用户,可以把db/tech_st/10.2.0下的
eg.把/u01/oracle/mc3yd213/db/tech_st/11.1.0/mc3yd213_bej301441.env加到.bash_profile
对于EBS Application管理员用户,可以把apps/apps_st/appl(APPL_TOP)下的
eg.把/u01/oracle/mc3yd213/apps/apps_st/appl/mc3yd213_bej301441.env加到.bash_profile
下边是关于EBS .env文件的介绍,摘自:http://docs.oracle.com/cd/E18727_01/doc.121/e12841/T120505T120509.htm
Rapid Install creates several environment files that set up the Oracle database, the Oracle technology stack, the Oracle HTTP server, and the Oracle E-Business Suite environments.
The location of these environment files is shown in the following table:
On UNIX, Oracle E-Business Suite includes a consolidated environment file called APPS
On Windows, the equivalent consolidated environment file is called %APPL_TOP%\envshell
The following table lists the key environment settings in APPS
Most temporary files are written to the location specified by the APPLTMP environment setting, which is set by Rapid Install.
Oracle E-Business Suite products also create temporary PL/SQL output files used in concurrent processing. These files are written to a location on the database server node specified by the APPLPTMP environment setting. The APPLPTMP directory must be the same directory as specified by the utl_file_dir parameter in your database initialization file.
Rapid Install sets both APPLPTMP and the utl_file_dir parameter to the same default directory.
Some Oracle E-Business Suite utilities use your operating system\'s default temporary directory even if you define the environment settings listed in the previous paragraph. You should therefore ensure there is adequate free disk space in this directory, as well as in those denoted by APPLTMP and APPLPTMP. On a multi-node system, the directory defined by APPLPTMP does not need to exist on the application tier servers.
Note: The temporary files placed in the utl_file_dir directory can be secured against unauthorized access by ensuring that this directory has read and write access for the Oracle database account only.
Other Environment Files
Several other key environment files are used in an Oracle E-Business Suite system.
The adovars.env file
The adovars.env file, located in $APPL_TOP/admin, specifies the location of various files such as Java files, HTML files, and JRE (Java Runtime Environment) files. It is called from the main applications environment file,
The adovars.env file includes the following parameters:
| Parameter | Description |
|---|---|
| AF_JLIB | Indicates the directory to which all Java archive files are copied. For example, apps/apps_st/comn/java/lib. Introduced with Release 12. |
| JAVA_BASE | Indicates the top-level Java directory . For example, apps/apps_st/comn/java. Introduced with Release 12. |
| JAVA_TOP | Indicates the directory to which all Java class files are copied. For example, apps/apps_st/comn/java/classes. Definition has changed with Release 12. |
| OA_JAVA | Indicates the directory to which all Java archive files are copied. For example, apps/apps_st/comn/java/classes. |
| OA_JRE_TOP | Indicates the location where the JRE is installed. For example, /local/java/jdk1.5.0_08. |
| OAH_TOP | Defines the location to which HTML files are copied. For example, apps/apps_st/comn/webapps/oacore. |
| OAD_TOP | Defines the locations to which context-sensitive documentation files are copied. For example, apps/apps_st/comn. |
| LD_LIBRARY_PATH | Path used on many UNIX platforms to list the directories that are to be scanned for dynamic library files needed at runtime. |
| CLASSPATH | Lists the directories and zip files scanned for Java class files needed at runtime. |
AD utility programs perform a variety of database and file management tasks. These utilities need to know certain configuration information to run successfully. This configuration information is specified when Oracle E-Business Suite is installed, and subsequently
stored in the adconfig.txt file in the
Note: adconfig.txt is created with the APPL_TOP file system, and it shows the tiers that have been configured on a particular node. It is distinct from theconfig.txt file employed by Rapid Install.
This file sets additional environment variables used by the Application Object Library. For example, it sets APPLBIN as the name of the subdirectory where product executable programs and shell scripts are stored (bin). This file should not be modified: the default values are applicable for all customers. The file is located in the FND_TOP directory.
This file sets variables that let you link third-party software and your own custom-developed applications with Oracle E-Business Suite. In Release 12, this script is located in FND_TOP/usrxit, and is automatically called by fndenv.env. This allows you to compile and link custom Oracle Forms user exits and concurrent programs with Oracle E-Business Suite.