7 Preparing the WebLogic Server for JD Edwards EnterpriseOne HTML Server Installation

This section describes these tasks:

7.1 Start the WebLogic Administration Console

To start the WebLogic Admin Console:

  1. Sign on as WebLogic Server user.

  2. Open a command window with Run as Administrator option.

  3. Change directory to:

    <weblogic_server_install_location>\user_projects\domains\<yourdomain>\bin

  4. Start the WebLogic Admin Console by executing this script from the command prompt:

    > startWebLogic.cmd

  5. At the prompts, enter the Admin user and password for the WebLogic Admin Console.

    This image is described in surrounding text.

    As indicated at the bottom of the above screen sample, when the console completes normally, the WebLogic Admin Console can be accessed after this message is displayed:

    <Server Started in RUNNING mode>

    Caution:

    The Admin Server Console will shut down if this process is closed.
  6. To access the WebLogic Admin Console, enter this URL into a browser such as Firefox or Internet Explorer:

    http://<host>:<port>/console

    For example:

    http://your_machine_name:7001/console

    The WebLogic Admin Console is displayed.

    This image is described in surrounding text.

Alternatively, you also can start the WebLogic Admin Console from Windows Start > All Programs Menu.

  1. Select your domain from this directory:

    MW_HOME\user_projects\<your_domain>\

  2. Locate the WebLogic Admin Console and execute it with Run as Administrator option.

    A sample screen is shown below:

    This image is described in surrounding text.

Optionally you also can add the Start WebLogic Admin Console process to the Windows Services. There is an install script called installSvc.cmd that is available for this task. However, you need to modify the script to create a parameter list.

The remainder of this section contains these optional tasks:

7.1.1 Creating a boot.properties File for User and Password

In order to start the WebLogic Admin Console without prompting for user and password, you need to enter the admin user and password in a boot.properties file. As a result, the start up process uses the user and password from this file instead of prompting for it.

  1. If existing, edit the boot.properties file (see directory location below). If this file does not exist, it must be created in this directory:

    <MW_HOME>/user_projects/domains/<your_domain>/servers/<server_name>/security

    Caution:

    You might need to create the security directory if it does not already exist. Also beware of the file type. The boot.properties file should be a Properties File type, and the filename should not have an extension. If you save the file as "boot.properties.txt", then the startup process will not recognize this file. A correctly formed boot.properties file will have a PROPERTIES type as shown in this example: This image is described in surrounding text.
  2. Edit the boot.properties file to complete these parameters:

    Caution:

    You must enter these two parameters in lower case.
    • username=weblogic

      The default value for username is weblogic. You should change this value in this file to a valid value for your WebLogic Admin Server.

    • password=welcome1

      The default value for username is welcome1. You should change this value in this file to a valid value for your WebLogic Admin Server.

      Caution:

      The information entered in this file is encrypted after the first access.

7.1.2 Adding WebLogic Admin Server or Managed Server Process to Windows Services

To add the WebLogic Admin Console process to Windows Services:

  1. Change the directory to:

    <MW_HOME>\wlserver_10.3\server\bin

  2. Create a CreateWLSSvc.cmd file and add the following lines, where you should add your own values for the bolded values:

    SETLOCAL
    set DOMAIN_NAME=E1_Apps
    set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\E1_Apps
    set SERVER_NAME=[AdminServer or Managed Server Name]
    set PRODUCTION_MODE=true
    set JAVA_VENDOR=Oracle or Sun
    set JAVA_HOME=C:\Oracle\JDK_1.7
    set JAVA_OPTIONS=-XX:MaxPermSize=350m -Xms32m -Xmx1024m -Djava.xml.rpc.ServiceFactory=oracle.j2ee.ws.client.ServiceFactoryImpl
    call "%USERDOMAIN_HOME%\bin\setDomainEnv.cmd"
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
    ENDLOCAL
    

    Note:

    The JD Edwards EnterpriseOne One View reporting functionality requires that the JAVA_OPTIONS be set.
  3. Save the file, ensuring that it has no extension (such as .txt).

  4. Adjust the service name in the installSvc.cmd file as described in these steps:

    1. Open the installSvc.cmd file and scroll to the bottom to locate this Comment line:

      rem *** Install the service

    2. In the section following the above line, change the bolded values as shown in this example:

      "%WL_HOME%\server\bin\beasvc" -install -svcname:"Oracle WebLogic %DOMAIN_NAME%_%SERVER_NAME%" -javahome:"%JAVA_HOME%" -execdir:"%USERDOMAIN_HOME%" -maxconnectretries:"%MAX_CONNECT_RETRIES%" -host:"%HOST%" -port:"%PORT%" -extrapath:"%EXTRAPATH%" -password:"%WLS_PW%" -cmdline:%CMDLINE%
      

      In the above example, the default service name is changed to Oracle WebLogic <domain><server>.

      Note:

      The default service name is:

      beasvc <domain><server>

  5. Execute your CreateWLSSvc.cmd script as Administrator and check the Windows Services window. For example:

    This image is described in surrounding text.
  6. The uninstall service script is located in the same directory:

    <MW_HOME>\wlserver_10.3\server\bin

7.1.3 Creating a Process to Remove the WebLogic Admin Console from the Windows Services

Use this procedure to create a process that will remove the WebLogic Admin Console Process from Windows Services.

  1. Create a RemoveWLSSvc.cmd file with these lines:

    echo off
    SETLOCAL
    set DOMAIN_NAME=E1_Apps
    set SERVER_NAME=AdminServer
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\uninstallSvc.cmd"
    ENDLOCAL
    
  2. Edit this section of the uninstallSvc.cmd to have the exact service name you have used before. For example, using the example in this guide the lines would be:

    rem *** Uninstall the service
    
    "%WL_HOME%\server\bin\beasvc" -remove -svcname:"Oracle WebLogic %DO-MAIN_NAME%_%SERVER_NAME%"
    

7.2 Start the Node Manager Manually

Note:

The JD Edwards EnterpriseOne Server Manager requires that Node Manager is running in order to start and stop managed servers. You can start Node Manager as a background process.

To start the Node Manager:

  1. Open a command window with the Run as Administrator option.

  2. Change directory to:

    Oracle WebLogic 12c

    <weblogic_server_install_location>\user_projects\domains\<domain_name>\bin

    Oracle WebLogic 10.3.5 and 10.3.6

    <weblogic_server_install_location>\wlserver_10.3\server\bin

  3. Start the Node Manager by executing this script from the command prompt:

    > startNodeManager.cmd

7.3 Enable Node Manager as a Windows Service

When running on Microsoft Windows, Oracle recommends that you configure Node Manager to run as a Windows service as described in the following procedure.

  1. Open a command window with Run as Administrator option.

    Note:

    If you do not execute this command as an Administrator, you cannot install the service.
  2. Change directory to:

    Oracle WebLogic 12c

    <weblogic_ server_install_location>\user_projects\domains\<domain_name>\bin

    Oracle WebLogic 10.3.5 and 10.3.6

    <MW_HOME>\wlserver_10.3\server\bin

  3. Execute this command to install Node Manager

    > installNodeMgrSvc.cmd

  4. Open the Windows Services and verify this service is installed:

    Oracle WebLogic NodeManager

    If the service is successfully installed, now you can start and stop Node Manager from Services.

    Note:

    By default the Node Manager is set to listen on port 5556. You can change the default port in the nodemanager.properties file that is located in this directory:

    Oracle WebLogic 12c

    <MW_HOME>\user_projects\domains\<domain_name>\nodemanager

    Oracle WebLogic 10.3.5 and 10.3.6

    <MW_HOME>/wlserver_10.3/common/nodemanager

    If you need to change the default port value, you must verify the listen port matches your new value. Use this procedure to verify that your port value matches your new value:

    1. Open the WebLogic Server Administration Console.

    2. Go to this section:

      Domain - Environment - Machines

    3. Double click on your machine name.

      Click the Node Manager tab and verify the Listen Port.

    4. You also need to edit these scripts to match your new listen port:

      installNodeMgrSvc.cmd

      uninstallNodeMgrSvc.cmd

7.4 Create the Machine Definition

Caution:

JD Edwards EnterpriseOne Server Manager requires a Machine to be defined prior to creating a J2EE Server.

Note:

You can skip this step if you have created the machine definition during the installation.

To create the machine definition:

  1. Open a supported web browser.

  2. Open the Oracle WebLogic Admin Console using this URL syntax:

    http://host:port/console

  3. At the prompts, enter the Admin user and password.

    This image is described in surrounding text.
  4. From the Domain Structure, navigate to Environment > Machines.

  5. In the top-left Change Center pane, click the Lock & Edit button.

  6. In the Summary of Machines pane, click the New button.

    This image is described in surrounding text.
  7. On Create a New Machine, enter the machine name in the Name field.

  8. In the Machine OS drop-down menu, select the machine OS type. Use Other for Windows and other non-UNIX operating systems.

  9. Click Next.

    This image is described in surrounding text.
  10. Accept the following default values for the Node Manager Properties:

    • (Protocol) Type = SSL

    • Listen Port = 5556

  11. Click Finish.

  12. In the Change Center pane, click the Activate Changes button.