|
|
Installing WebLogic Integration Using Console or Silent Mode
This section provides the information you need to install WebLogic Integration using the following modes:
It includes the following topics:
Using Console Mode to Install WebLogic Integration
This section summarizes the console-mode installation procedure, a set of steps that emulates the graphical installation procedure.
To install WebLogic Integration on a UNIX system in console mode:
cdrom_drive/wlintegration2.1/unix
sh wlintegration21_unix.bin -i console
The message Preparing to install is displayed, followed (within a couple of moments) by the message Preparing CONSOLE Mode Installation. Once preparation is complete, you are prompted to select the language in which you want the text of the installation program to be displayed, as shown in the following text:
==============================================================
Choose Locale...
----------------
->1- English
CHOOSE LOCALE BY NUMBER:
==============================================================
Note: If the error message JDK 1.3 and up is required to start the installer is displayed, enter quit to exit the installation. Add an entry for the JDK 1.3.1 bin directory, BEA_Home/jdk131/bin, to the beginning of your PATH environment variable. Then restart the installer.
The following introductory message is displayed:
==============================================================
Introduction
------------
This installer will guide you through the installation of
'WebLogic Integration'. On each step, answer the questions
provided. Type "quit" at any time to exit the installer.
PRESS <ENTER> TO CONTINUE:
===============================================================
The license agreement is displayed. Because the agreement is too long to fit on the screen, only the first section is displayed now.
When you reach the end of the agreement, you are prompted to accept or reject the terms.
DO YOU AGREE WITH THE TERMS OF THE LICENSE? (Y/N):
You are prompted to choose an install set, as shown in the following text:
===============================================================
Choose Install Set
------------------
Please Choose the Install Set to be installed by this installer.
->1- WebLogic Integration Full Installation with Samples
2- WebLogic Integration Full Installation without Samples
3- WebLogic Integration Client Only Installation
ENTER THE NUMBER FOR THE INSTALL SET, OR <ENTER> TO ACCEPT THE
DEFAULT:
===============================================================
This option installs all WebLogic Integration components and the WebLogic Integration samples.
This option installs WebLogic Integration components without the samples.
This option installs the WebLogic Integration Studio and Worklist clients, and the Format Builder design tool.
Note: WebLogic Server 6.1 SP1 does not need to be installed on the target system for the Client Only installation. However, after the install is complete, you must copy two files, weblogic.jar and xmlx.jar, from the WL_HOME/lib directory on the system on which WebLogic Server is installed to the WLI_HOME/lib directory on the system on which you installed the client version of WebLogic Integration. Here, WL_HOME is the directory in which WebLogic Server is installed, and WLI_HOME is the directory in which you installed WebLogic Integration.
You are prompted to choose a BEA Home directory, as shown in the following text:
===============================================================
Choose BEA Home Directory
-------------------------
->1- Use Existing BEA Home
2- Create a New BEA Home
Enter a number(1):
Note: The BEA Home directory serves as the central support directory for all the BEA products installed on your system. For a detailed description of how this directory is used, see "BEA Home Directory" in "Preparing to Install WebLogic Server" in Installing BEA WebLogic Server. This document is available, in the BEA WebLogic Server document set, at the following URL:
->1- /home1/bea
2- /home2/beahome
Existing BEA Home(1):
============================================================
Enter the number corresponding to a BEA Home directory that contains WebLogic Server 6.1 SP1.
============================================================
Choose Product Directory
------------------------
->1- Use Current Selection (/home1/bea/wlintegration2.1)
2- Modify Current Selection (/home1/bea/wlintegration2.1)
Select a number or <Enter> for default(1):
============================================================
One of the following occurs, depending on the type of installation selected:
============================================================
Additional Database Selection
-----------------------------
Please specify the database to use for the production domain.
->1- Oracle
2- Microsoft SQL Server
3- Sybase
Select a number or <Enter> for default(1):
As described in Preconfigured Domains and Database Selection, the installer configures production and samples domains for WebLogic Integration. The production domains can be used for testing, development, or production.
For a description of these parameters, see Table 2-2.
Note: If you have previously installed and uninstalled WebLogic Integration in the selected BEA Home directory, the database values you entered when you installed or configured the database are displayed. You are then prompted to use the existing information, or change the values, as shown in the following text:
->1- Use Existing Database Information
2- Modify Database Information
Select a number or <Enter> for default(1):
Enter 1 to accept the existing values, or 2 to modify the database information. If you select 2, you are then prompted to enter a value for each parameter.
Depending on the installation option you selected, one of the following occurs:
Please specify the database to use for the samples domain.
->1- Oracle
2- Microsoft SQL Server
3- Sybase
Select a number or <Enter> for default(1):
Your selection determines whether the samples domain is configured to use the same database you selected for your production domains, or an alternate database.
Next you are prompted to enter an e-mail address and e-mail host to enable WebLogic Integration to send e-mail from workflow instances.
Note: The values you enter at these prompts enable WebLogic Integration to send e-mail from workflow instances. If you do not have mail session information available, you can configure these settings after installation. Depending on your e-mail server, you may be able to configure additional mail session options. For more information, see "Customizing Mail Session Properties" in Customizing WebLogic Integration in Starting, Stopping, and Customizing BEA WebLogic Integration.
The installation begins and the installation status is displayed as it progresses. When the installation is complete, the Install Complete message is displayed.
Using Silent Mode to Install WebLogic Integration
Both the Windows and UNIX versions of the installer provide a noninteractive, or silent-mode installation, which you can use if you want to install WebLogic Integration without being required to supply information from the keyboard during the installation process. Instead, the installer gets the required information from a properties file that you provide.
The following sections provide the information you need to install using silent mode.
Notes About Silent Mode
Before launching a silent-mode installation, make sure that all installation prerequisites are met and that all the information in the properties file is correct. For example, one prerequisite for performing a Full Installation is that WebLogic Server 6.1 SP1 must be installed in the BEA Home directory in which you are going to install WebLogic Integration 2.1. For information about installation prerequisites, see Installation Prerequisites.
After the silent installer is started, it proceeds in the background and does not report exceptions. Some exceptions are ignored. For example, if a previously installed copy of WebLogic Integration is detected, it is overwritten.
Other exceptions cause the installer to fail. For example, if the specified BEA Home directory does not exist, the installer fails.
On UNIX systems, the installer displays the message Installation Complete when it finishes. This message does not necessarily indicate that the installer was successful; it means only that the process has finished running.
If a fatal exception occurs during installation, no changes are made to the system.
Using Silent Mode on a Windows System
To install using silent mode on a Windows System:
Note: An easy way to create the file is to copy the text from Listing 3-1 and then edit it as required.
cdrom_drive\wlintegration2.1\nt
wlintegration21_win.exe -f drive:\path\properties_file_path
Here, drive is the letter that identifies the drive being used and properties_file_path is the complete pathname of the properties file. A complete path is required, even if the file resides in the same directory as the wlintegration21_win.exe file.
You are returned to the command prompt. The installation preparation dialog box is displayed. After the installer decompresses the required files, the dialog box is dismissed and the installation proceeds in the background with the information specified in the installer properties file.
Note: To verify that the installer is running, open the Windows Task Manager. The installer is listed as the javaw.exe process.
Using Silent Mode on a UNIX System
To install WebLogic Integration using silent mode on a UNIX system:
Note: An easy way to create the file is to copy the text from Listing 3-1, and then edit it as required.
cdrom_drive/wlintegration2.1/unix
sh wlintegration21_unix.bin -f /properties_file_path
Here properties_file_path is the complete pathname of the properties file. A complete path is required, even if the file resides in the same directory as the wlintegration21_unix.bin file.
The message Preparing to Install is displayed. After the installer decompresses the required files, the installation proceeds with the information specified in the installer properties file. When the process is complete, the message Installation Complete is displayed.
Installer Properties File
The required properties are summarized in the following table.
Table 3-1 Installer Properties
A sample installer properties file is shown in the following listing.
Listing 3-1 Sample Installer Properties File
##############################################
### Silent Installation Properties File
###############################################
# Installer must be run with -f:
# wlintegration21_win.exe -f path/installer.properties
###############################################
# All Path separators are platform specific and
# backslashes must be escaped!
###############################################
INSTALLER_UI=SILENT
###############################################
### Locale
###############################################
USER_LOCALE=en
###############################################
### BEA Home Directory
###############################################
BEAHOME=C:\\bea
#BEAHOME=/bea
###############################################
### Product Installation Directory
###############################################
USER_INSTALL_DIR=C:\\bea\\wlintegration2.1
#USER_INSTALL_DIR=/bea/wlintegration2.1
###############################################
### Default Install Set###
###############################################
CHOSEN_INSTALL_SET=Full
#CHOSEN_INSTALL_SET=Server
#CHOSEN_INSTALL_SET=Client
###############################################
### Production Database Settings (Uncomment only
one database type)
###############################################
# NOTE: Cloudscape is not supported on Unix.
###############################################
SELECTED_DATABASE="Cloudscape"
#SELECTED_DATABASE="Oracle"
#production_oracleHostName=OracleHost
#production_oraclePort=1521
#production_oracleServiceName=ServerServiceName
#production_oracleTnsName=NetServiceName
#production_oracleUser=UserName
#production_oraclePassword=Password
#SELECTED_DATABASE="Microsoft"
#production_sqlHostName=MSSQLHost
#production_sqlPort=1433
#production_sqlDBName=DatabaseName
#production_sqlServerName=ServerName
#production_sqlUser=UserName
#production_sqlPassword=Password
#SELECTED_DATABASE="Sybase"
#production_sybaseHostName=SybaseHost
#production_sybasePort=5000
#production_sybaseDatabaseName=DatabaseName
#production_sybaseServerName=ServerName
#production_sybaseUser=UserName
#production_sybasePassword=Password
###############################################
### Samples Database Settings (Uncomment only one
database type)
###############################################
# NOTE: Cloudscape is not supported on Unix.
###############################################
SELECTED_DATABASE1="Cloudscape"
#SELECTED_DATABASE1="Oracle"
#samples_oracleHostName=OracleHost
#samples_oraclePort=1521
#samples_oracleServiceName=ServerServiceName
#samples_oracleTnsName=NetServiceName
#samples_oracleUser=UserName
#samples_oraclePassword=Password
#SELECTED_DATABASE1="Microsoft"
#samples_sqlHostName=MSSQLHost
#samples_sqlPort=1433
#samples_sqlDBName=DatabaseName
#samples_sqlServerName=ServerName
#samples_sqlUser=UserName
#samples_sqlPassword=Password
#SELECTED_DATABASE1="Sybase"
#samples_sybaseHostName=SybaseHost
#samples_sybasePort=5000
#samples_sybaseDatabaseName=DatabaseName
#samples_sybaseServerName=ServerName
#samples_sybaseUser=UserName
#samples_sybasePassword=Password
###############################################
### Email Info
###############################################
C_databaseEmail=emailaddress
C_databaseEmailHost=SMTPHost
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|