Choosing an Oracle Home Directory

1-14 Oracle Fusion Middleware Installation Guide for Oracle Enterprise Repository The default Oracle home directory where these files are installed is: ORACLE_HOMErepository111 All files related to the application installation are found under this Oracle home directory. In the case of a WebLogic Server installation, the application domain template file is found in the ORACLE_HOMEwl_server11.xtemplatesapplications directory. Listing 2-1 For Oracle home directory selection task: Oracle_HOME directory is not empty. Proceed with installation? For product installation directories selection task:One or more installation directories are not empty. Proceed with installation? ■ The product maintenance level of the current installer must be compatible with the maintenance level of the product already installed. If not, an error message is displayed and you must obtain the compatible installer or perform maintenance to achieve compatibility.

1.7.2 Choosing Product Installation Directory

The product installation directory contains all the software components that you choose to install on your system, including program files and examples. You are prompted during your initial installation to choose a product installation directory. If you accept the default on a Windows system, for example, your software is installed in the following directory: ORACLE_HOMErepositoryXXX where, ORACLE_HOME is the Oracle home directory and repositoryXXX is the product installation directory for the Oracle Enterprise Repository software. However, you can specify any name and location on your system for your product installation Note: ■ On some UNIX platforms, the installation program does not install the JDK. During installation of your Oracle software, you are prompted to choose an existing Oracle home directory or specify a path to create a Oracle home directory. If you choose to create a directory, the installation program automatically creates it for you. ■ Oracle recommends that you do not exceed a maximum of 12 characters when naming your Oracle home directory. If the name of this directory has more than 12 characters, or if there are spaces in the directory name, the CLASSPATH may not be resolved properly. You can install only one instance of each version of an Oracle product in a single Oracle home directory. ■ If the Oracle home directory is populated and it does not contain registry.xml, or if any of the other installation directories are not empty, the following messages are displayed. You are then prompted to continue installation, or return to the directory selection task with the one of the error message as shown in Listing 2-1 : Preparing for Your Installation 1-15 directory; you need not name the directory repositoryXXX or create it under the Oracle home directory.

1.8 Running the Oracle Enterprise Repository Product Installation

This section describes the steps to run the Oracle Enterprise Repository product installation: 1. If you are planning to use a Generic Application Server Tomcat, JBoss, Jetty., then a supported JDK is required to be installed before the installation of Oracle Enterprise Repository. 2. Use of the JDK that is installed with WebSphere or WebLogic Server as your JAVA_HOME environment variable and the JAVA_HOMEbin directory being prepended to your PATH environment variable. 3. Run the following command-line option to start the Oracle Enterprise Repository installer: java -jar OER1111xx_generic.jar

1.9 Generating a Verbose Installation Log

If you launch the installation from the command line or from a script, you can specify the -log option to generate a verbose installation log. The installation log stores messages about events that occur during the installation process, including informational, warning, error, and irrecoverable messages. This type of file can be especially useful for silent installations. Syntax To create a verbose log file during installation, include the -log=full_path_to_log_file option in the command line. For example: JAVA_HOMEbinjava -jar OER1111xx_generic.jar -log=c:\logs\OER_install.log where JAVA_HOME represents the path the users java. The path must specify a file. You cannot create a folder simply by including a name for it in a path name; your path should specify only existing folders. If your path includes a nonexistent folder when you execute the command, the installation program does not create the log file. Note: You may see some warning messages in the installation log. However, unless a irrecoverable error occurs, the installation program completes the installation successfully. The installation user interface indicates the success or failure of each installation attempt, and the installation log file includes an entry indicating that the installation was successful. Note: For information about upgrading your software, see Oracle Fusion Middleware Upgrade Guide for Oracle Enterprise Repository.