Go to primary content
Oracle Agile Engineering Data Management Server Installation Guide on Windows and UNIX
Release e6.2.1.0
E69109-01
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

10 Installing Oracle WebLogic Server


Note:

This chapter describes the manual installation of the Oracle WebLogic 12cR2 (12.2.1.2.0) Server. Keep in mind that on UNIX only the manual installation can be performed. For the installation on a Windows operating system with the Agile e6 Installer see chapter Installation with the Agile e6 Installer.


Note:

Before you begin with the installation of Oracle WebLogic Server, note the following:

The generic Oracle WebLogic Installer must be started with the installed 64-bit Java 8 JDK.

The Generic Oracle WebLogic Server (jar file) cannot be started with 32-bit JVM.

10.1 Windows Prerequisites

There are no prerequisites referring only to Windows.

10.2 UNIX Prerequisites


Note:

Installing the WebLogic Server and the EDM Server on the same UNIX server machine, requires special attention:

If the operating system user for the WebLogic installation is different to the operating system user for the EDM Server installation, a component based installation is required. For further information please refer to the chapter Component Based Installation.


The Java on HP-UX and Oracle Solaris must be started with the -d64 option. If the option -d64 is not supplied, the Java executable starts in its default 32-bit mode.

The -d64 option is supported on all operating systems, so you can always use it while installing the Oracle WebLogic Server.

10.3 Generic Prerequisites

  1. Before starting the installation, ensure that the bin directory of the appropriate JDK, used to run the installer, is at the beginning of the PATH variable, or called with the full path to the Java executable.

  2. Set the JAVA_HOME environment variable to the installed 64-bit Java Development environment.


    Note:

    This setting is important, because the WebLogic server will use this Java based on this setting.

    • Windows

      set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_<update_number>
      
    • UNIX

      setenv JAVA_HOME /usr/local/java/jdk1.8.0_<update_number>
      
  3. Check the Java version with:

    • Windows

       %JAVA_HOME%/bin/java -d64 -version
      
    • UNIX

      $JAVA_HOME/bin/java -d64 -version
      
    • If you try to start a 32-bit Java, or start a 64-bit Java on a 32-bit operating system, this command will fail.

    • In this case, run the installer as follows:

      • Windows

        %JAVA_HOME%/bin/java -d64 -jar fmw_12.2.1.2.0_wls.jar
        
      • UNIX

        $JAVA_HOME/bin/java -d64 -jar fmw_12.2.1.2.0_wls.jar
        

10.4 Installation

  1. Run the Oracle WebLogic installer file.

    On UNIX the Installation Inventory Setup screen may open.

    The following screen will only open if the current user has no write access to the Inventory Directory or it the Inventory Directory does not exists yet

    Surrounding text describes weblogic-1.png.

    Note:

    The following screens is opened for all Operating Systems

    Surrounding text describes weblogic-2.png.
  2. Click Next.

    The Installation Location screen is opened.

    Surrounding text describes weblogic-3.png.
  3. Specify the new Oracle Home Directory path and click Next.

    The Installation Type screen is opened.

    Surrounding text describes weblogic-4.png.
  4. Select the WebLogic Server Installation and click Next.

    The Prerequisite Checks screen is opened.

    Surrounding text describes weblogic-5.png.
  5. If issues are listed, they need to be resolved first before continuing with the next step.

  6. Click Next.

    The Specify Security Updates screen appears.

    Surrounding text describes weblogic-6.png.

    Here you can enter your My Oracle Support account information to receive the latest product information and security updates via your My Oracle Support account.

  7. If you do not wish to register for security updates, or if you do not have a My Oracle Support account, then leave all the fields on this screen empty and click Next.

    The following warning screen can be shown.

    Surrounding text describes weblogic-7.png.
  8. To confirm click Yes.

    The Installation Summary screen is opened.

    Surrounding text describes weblogic-8.png.
  9. Review the listed options and click Install.

    The installation process begins.

  10. When the installation completes, click Next.

    The Installation Complete screen is opened.

    Surrounding text describes weblogic-9.png.
  11. Uncheck Automatically Launch the Configuration Wizard and click Finish.

10.5 Node Manager Configuration

After the completion of the installation process of the Oracle WebLogic Server, the Node Manager must be configured.

Agile e6.2.1.0 is using one Node Manager for every host.

10.5.1 Windows

The Windows Service for the Node Manager has to be created manually.

To create the Windows Service, execute the following command:

<ORACLE_HOME_FOR_WEBLOGIC>\wlserver\server\bin\installNodeMgrSvc.cmd

10.5.2 UNIX

To start the Node Manager, execute the following commands:

cd <ORACLE_HOME_FOR_WEBLOGIC>/wlserver/server/bin
./startNodeManager.sh &

10.5.3 All Operating Systems


Note:

The default setup of the Node Manager is not creating the required certificate. This has to be done manually.

10.5.4 Production Certificate Setup

For information on configuring SSL for Node Manager in production environments, see chapter Adaptation to the Node Manager Configuration.


Note:

This requires a new property (KeyStores) in the nodemanager.properties file. See Reviewing nodemanager.properties


Note:

Only when starting the Node Manager with a valid certificate the file nodemanager.properties will be created.

10.5.5 Demo Certificate Setup

  1. The following directory has to be created:

    <ORACLE_HOME_FOR_WEBLOGIC>/oracle_common/common/nodemanager/security
    

    Note:

    This directory can be created if you start the Node Manager once. The Node Manager will not continue to run because the required certificate is not available at this point.

  2. To properly set up the PATH and CLASSPATH variables, run the following command:

    • Windows (from a command shell):

      call <ORACLE_HOME_FOR_WEBLOGIC>\wlserver\server\bin\setWLSEnv.cmd
      
    • UNIX (with a /bin/sh shell):

      . <ORACLE_HOME_FOR_WEBLOGIC>/wlserver/server/bin/setWLSEnv.sh
      

      Caution:

      The dot and the space character (. ) in front of the UNIX command are required to source the environment in the current bourne shell.


      Note:

      On UNIX, the above command has to be executed from a new bourne shell. This shell can be started with the following command:

      /bin/sh

      This new /bin/sh shell has to be used to execute the following two Java commands also.


  3. Create a new directory in which you execute the following two steps.


    Note:

    Please make sure the PATH and JAVA_HOME environment variable are set correctly.

  4. Generate a certificate and private key.

    java utils.CertGen -keyfilepass DemoIdentityPassPhrase -certfile democert -keyfile demokey
    

    Note:

    By default, utils.CertGen will use the short host name as the owner CN value in the generated certificate. To use the fully qualified DN host name, add the -cn option to the above command and append the full-qualified DN host name after it. See the following example for the host with the name app.example.com:

    java utils.CertGen -keyfilepass DemoIdentityPassPhrase -certfile democert -keyfile demokey -cn app.example.com


  5. Import the private key and certificate.

    java utils.ImportPrivateKey -keystore DemoIdentity.jks -storepass DemoIdentityKeyStorePassPhrase -keyfile demokey -keyfilepass DemoIdentityPassPhrase -certfile democert.pem -keyfile demokey.pem -alias demoidentity
    

    Note:

    The DemoIdentity.jks keystore now contains one private key and certificate entry. The other files can be deleted.

  6. Move the DemoIdentity.jks keystore to the following directory:

    <ORACLE_HOME_FOR_WEBLOGIC>/oracle_common/common/nodemanager/security
    

10.5.6 Adaptation to the Node Manager Configuration

Now it will be possible to successfully start the Node Manager because of the valid Node Manager certificate.

Start the Node Manager. If you already used the Node Manager startup to create the security directory, this will be the second time the Node Manager will be started. This start will generate the nodemanager.properties file.

After the first successful startup of the Node Manager, it must be reconfigured. This configuration file will only be available after the first successful startup with a working Node Manager certificate.

  1. Open the following file with an editor:

    <ORACLE_HOME_FOR_WEBLOGIC>/oracle_common/common/nodemanager/nodemanager.properties
    
  2. Modify the following properties:

    SecureListener=false
    ListenAddress=127.0.0.1
    CrashRecoveryEnabled=true
    
  3. After the changes, restart the Node Manager.