Skip navigation.

Installing WebLogic SIP Server Using Silent-Mode Installation

The following sections describe how to install WebLogic SIP Server using the installation program in silent mode on both Windows and UNIX systems:

 


What Is Silent-Mode Installation?

Silent-mode installation is a way of setting installation configurations only once and then using those configurations to duplicate the installation on many machines. During installation in silent mode, the installation program reads the settings for your configuration from an XML file that you create prior to beginning the installation. The installation program does not display any configuration options during the installation process. Silent-mode installation works on both Windows and UNIX systems.

Note: The Configuration Wizard cannot be run, automatically, with the WebLogic SIP Server installation program during silent-mode installations; it must be run separately. However, you can create a simple shell script or command file that sequentially runs silent mode installation and silent mode configuration. For more information about running the Configuration Wizard in silent mode, see Creating WebLogic Configurations Using the Configuration Wizard at in the WebLogic Server 8.1 SP4 documentation at http://download.oracle.com/docs/cd/E13196_01/platform/docs81/confgwiz/index.html.

Note: Using silent-mode installation implies that you consent to the BEA License Agreement. You neither see a copy of the BEA Software License Agreement nor have any means of accepting the terms of the agreement.

The instructions in this section assume that you have already acquired the installation program, either on CD or from the Web.

 


Before You Start

Before you start the WebLogic SIP Server installation, make sure the hardware/software platform you are using is supported. See Supported Configurations for more information.

 


Using Silent-Mode Installation: Main Steps

The silent-mode installation process has two primary steps:

  1. Create a template file that defines the configuration settings normally entered by a user during an interactive installation process, such as graphical-mode or console-mode installation. For example, values for the BEA Home directory, the product directory, and the components to be installed are supplied in a silent-mode template file.
  2. For a detailed procedure, see Creating a Silent-Mode Installation Template File. For a sample template file, see Sample Template File for Silent-Mode Installation.

  3. Start the silent-mode installation process using the values specified in the template file.
  4. For a detailed procedure, see Starting the Silent-Mode Installation Process on a Windows System or Starting the Silent-Mode Installation Process on a UNIX System.

Important Considerations for Silent-Mode Installation

When you are performing an installation in silent mode, keep in mind the following considerations:

 


Creating a Silent-Mode Installation Template File

When you install WebLogic SIP Server in silent mode, the installation program uses an XML file (silent.xml) to determine which installation options should be implemented. Therefore, before you can run the installation program in silent mode, you must first create a silent.xml file in which you specify the installation options that you want to have invoked.

Note: Incorrect entries in the silent.xml file can cause installation failures. To help you determine the cause of a failure, we recommend that you create a log file when you start the installation.

To create a template file for use in the silent-mode installation process, follow these steps:

  1. Copy the contents of the sample template file as a text file named silent.xml in the directory containing the WebLogic SIP Server installation program. See Sample Template File for Silent-Mode Installation.

    Note: The XML definition (<?xml version="1.0" encoding="UTF-8"?>) must be at the very beginning of the template file. There cannot be any spaces or line breaks before the XML definition.
  2. In the silent.xml file, modify the values for the keywords shown in Table 4-1.
  3. Note: You must follow XML guidelines for characters when modifying values. That is, you cannot use characters reserved for use in XML, such as <, >, [, and ].

    Table 4-1 Silent-Mode Installation Template Values 

    For this data-value name . . .

    Enter the following value . . .

    BEAHOME

    The full pathname for the BEA Home directory of your choice.

    USER_INSTALL_DIR

    The full pathname for the directory where you want to install the WebLogic SIP Server software.


     

 


Sample Template File for Silent-Mode Installation

<?xml version="1.0" encoding="UTF-8"?>

<!-- Silent installer option: -mode=silent -silent_xml=/home/me/silent.xml -->

<domain-template-descriptor>

<input-fields>
<data-value name="BEAHOME" value="C:\bea" />
<data-value name="USER_INSTALL_DIR" value="C:\bea\weblogic81" />
</input-fields>
</domain-template-descriptor>

 


Starting the Silent-Mode Installation Process on a Windows System

To start the silent-mode installation process on a Windows system, follow these steps:

  1. Log in to the Windows system.
  2.  
  3. Open an MS-DOS command prompt window.
  4. Go to the directory that contains the installation file and launch the installation procedure by entering the following command:
  5. wlss201_win32.exe -mode=silent -silent_xml=path_to_silent.xml

    Here path_to_silent.xml is the full pathname of the silent.xml template file.

    Note: You can also include the -log=full_path_to_log_file option in the command line to create a verbose installation log. For example:

    wlss201_win32.exe -mode=silent -silent_xml=D:\silent.xml -log=D:\logs\platform_install.log

 


Starting the Silent-Mode Installation Process on a UNIX System

Note: Incorrect entries in the silent.xml file can cause installation failures. To help you determine the cause of a failure, we recommend that you create a log file when you start the installation.

To start the silent-mode installation process using installation files with names ending in .bin, follow these steps:

  1. Log in to the target UNIX system.
  2. Go to the directory that contains the installation file.
  3. Launch the installation by entering the following command:
  4. chmod a+x filename.bin
    ./filename.bin -mode=silent -silent_xml=/path_to_silent.xml

    Here filename.bin is the name of the WebLogic SIP Server installation file (wlss201_linux32.bin or wlss201_solaris32.bin).

    Note: You can also include the -log=full_path_to_log_file option in the command line to create a verbose installation log. For example:

    wlss201_linux32.bin -mode=silent -silent_xml=/home/silent.xml -log=/home/logs/wlss_install.log

 


Returning Exit Codes to the Console

When run in silent mode, the installation program generates exit codes that indicate the success or failure of the installation. These exit codes are shown in the following table.

Code

Description

0

Installation completed successfully

-1

Installation failed due to a fatal error

-2

Installation failed due to an internal XML parsing error


 

If you are launching the silent-mode installation process from a script, you can choose to have these exit codes displayed to the console. Listing 4-1 provides a sample command file that invokes the WebLogic SIP Server installation in silent mode and echoes the exit codes to the console from which the script is executed.

Listing 4-1 Sample Command File Displaying Silent Mode Exit Codes

rem Execute the installer in silent mode
@echo off
wlss201_win32.exe -mode=silent -silent_xml=C:\downloads\silent.xml -log=C:\logs\wlss_silent.log

@rem Return an exit code to indicate success or failure of installation
set exit_code=%ERRORLEVEL%

@echo.
@echo Exitcode=%exit_code%
@echo.
@echo Exit Code Key
@echo ---------------
@echo 0=Installation completed successfully
@echo -1=Installation failed due to a fatal error
@echo -2=Installation failed due to an internal XML parsing error
@echo.

 


What's Next?

WebLogic SIP Server 2.0.1 is installed with evaluation licenses for WebLogic Server 8.1 SP4 and the SIP Servlet container. If you purchased a production WebLogic SIP Server license (a SIP Server container license intended for use with a separately-purchased WebLogic Server 8.1 license), follow the instructions in Licensing WebLogic SIP Server 2.0.1 for Production Use in the Release Notes. These instructions describe how to update and install an existing WebLogic Server 8.1 production license and SIP Servlet container license to the default WebLogic SIP Server 2.0.1 installation.

You can start using the product immediately after installing it for the first time because, by default, WebLogic SIP Server uses the development license that is installed in BEA Home directory. To begin working with SIP Server, use the Configuration Wizard to create a new WebLogic SIP Server domain, if you have not already done so. See Creating a New WebLogic SIP Server Domain for more information.

For specific information about this release, see the Release Notes.