|
|
|
|
|
This chapter discusses the following topics:
The platforms listed in Table 4-1 are supported.
Platforms Supported
Vendor |
Operating System |
Release/Version |
|---|---|---|
For the hardware and software requirements for these operating systems, see WLE Platform Data Sheets.
This section describes how to install the WLE software on UNIX systems.
This section describes some important tasks that you should perform before starting the WLE installation.
If you are installing WLE software on a system that already has M3 or WLE software installed, there are some files that you may want to back up prior to the installation, and then restore them after the installation is complete. This is because some files that you may have modified for your M3 or WLE software are overwritten when the WLE software is installed.
To avoid having to modify these files again, proceed as follows:
Before beginning the installation, make sure no BEA TUXEDO or WLE client or server applications are running. For information about the tmshutdown command, see Starting and Shutting Down Applications in the Administration section of the WebLogic Enterprise online documentation.
On most systems, you need superuser privileges to mount the software CD. The account that you log on to to perform the installation must have administrative privileges.
It takes approximately 10 minutes to install the software.
Warning: If you are re-installing the WLE 5.0 software on your system, and you also already installed the optional WLE Security Service software (56-bit or 128-bit) on your system, you must:
To install the WLE software on a UNIX operating system, perform the following steps:
sh install.sh
.
If all the files are in uppercase characters, begin the installation by entering:
sh INSTALL.SH
1) HP-UX v11.0
2) Sun Solaris v2.6
3) Sun Solaris 7
Install which platform's files? [01- 3, q to quit, l for list]:
Enter the number 1 to install the WLE 5.0 software on an HP-UX system; or enter 2 to install the WLE 5.0 software on a Solaris 2.6 system; or enter 3 to install the WLE 5.0 software on a Solaris 7.0 system; or enter the letter l
to display the list again.
** You have chosen to install software for ** BEA WebLogic Enterprise Release 5.0 This directory contains the BEA WLE Installation Software for Is this correct? [y,n,q]: To terminate the installation at any time The following components are available: 1 servers BEA WebLogic Enterprise Servers 2 clients BEA WebLogic Enterprise Clients 3 admcon BEA Administration Console Select the one you wish to install [?,??,q]: The server and client components have packages that you can select for a more specific installation. Enter the number 1 to display all the WLE server packages; or enter 2 to display all the WLE client packages; or enter 3 to display the Administration Console component; or enter a single question mark (?) to display a brief help message; or enter two question marks (??) to redisplay the menu; or enter q to quit the installation.
The following packages are available: 1 wletsrv BEA WebLogic Enterprise TUXEDO Server 2 wlecsrv BEA WebLogic Enterprise CORBA C++ Server 3 wlejsrv BEA WebLogic Enterprise CORBA Java Server 4 wlej2ee BEA WebLogic Enterprise J2EE Server Select the package(s) you wish to install (or 'all' to install Select the server package or packages you want to install. Separate multiple server packages with a comma. Or enter all
, the default option, to install all packages.
Note:
You cannot select a particular server package and then a particular client package. When you select a particular server package or set of server packages, only those server packages are installed. The client packages and the Administration Console component are not installed. If you subsequently wanted to install particular clients or the Administration Console on the system, you could run the installation procedure again to select and install those items.
Note:
The BEA TUXEDO server software is always installed as a base component for any of the other WLE servers. The CORBA Java and J2EE server components are always installed together, even if you only select one of those items.
If instead you entered 2 in the initial component selection menu to view the list of WLE client packages, the following menu is displayed:
The following packages are available: 1 wletcli BEA /WS Client 2 wleccli BEA C++ Client 3 wlejcli BEA Java Client 4 wlercli BEA RMI Client Select the package(s) you wish to install (or 'all' to install
Note:
The BEA Java Client is the CORBA Java client; it does not include RMI. The BEA /WS Client is the BEA TUXEDO /WS client.
Select the client package or packages you want to install. Separate multiple client packages with a comma. Or enter all
, the default option, to install all the client packages.
If, instead, you entered 3 in the initial component selection menu, the following menu is displayed:
The following packages are available: 1 admcon BEA Administration Console Select the package(s) you wish to install (or 'all' to install Enter the number 1
or the word all
if you want to install the Administration Console.
BEA WebLogic Enterprise CORBA Java Server SSLplus is a trademark of Certicom Corporation, 1999. Directory where WebLogic Enterprise files are to be installed [?,q]: For example, you could enter the /usr/local/wledir
directory.
Most server components can be installed in any directory whose file system has enough disk space to accommodate them. There may be one or more server components that have to be installed over an existing WLE server component.
When you enter the directory name, the installation program verifies it by using the following criteria:
Sun Solaris 2.6 on Sun SPARC.
press the interrupt key,
typically <del>, <break>, or <ctrl+c>.
all packages) (default: all) [?,??,q]:
all packages) (default: all) [?,??,q]:
all packages) (default: all) [?,??,q]:
(sparc) Release 5.0
Copyright (c) 1999 BEA Systems, Inc.
All Rights Reserved.
BEA and WebLogic are trademarks of BEA Systems, Inc.
BSAFE is a trademark of RSA Data Security, Inc., 1999.
If the target directory name passes the verification check and does not exist, the installation program creates the directory.
Determining if sufficient space is available ...
272989 blocks are required
16118268 blocks are available to /usr/local/wledir
Using /usr/local/wledir as the WebLogic Enterprise base directory
If enough disk space is available, the installation continues. If there is insufficient disk space, the installation returns to the prompt asking for the name of a directory.
For details on the options, see the section Selecting Directories for the WLE Files.
Press the Enter key to accept the default locations, if desired. If you accept the default locations, the following prompt is displayed. (In this sample, the user entered /usr/local/wledir as the target directory.)
Creating /usr/local/wledir/udataobj/webgui
Using /usr/local/wledir/udataobj/webgui as the BEA Administration Console document tree
Directory where BEA Administration Console java applets are to be
installed (default:
/usr/local/wledir/udataobj/webgui/java) [?,q]:
Creating /usr/local/wledir/udataobj/webgui/java
Using /usr/local/wledir/udataobj/webgui/java as the BEA Administration Console document tree
Directory where BEA Administration Console CGI programs are to
be installed (default: /usr/local/wledir/udataobj/webgui/cgi-bin) [?,q]:
Press the Enter key to accept the default locations, if desired.
Creating /usr/local/wledir/udataobj/webgui/cgi-bin
Using /usr/local/wledir/udataobj/webgui/cgi-bin as the BEA Administration Console CGI directory
Web server client prefix for CGI directory. /cgi-bin is a good choice for most web servers. (default: /cgi-bin) [?,q]:
Press the Enter key to accept the default locations, if desired.
Using /cgi-bin as the BEA Administration Console CGI prefix
... finished
.
.
.
Changing file permissions...
... finished
Processing default license file...
... finished
Install tlisten password? [y/n]:
Please enter the tlisten password:
Please verify the password:
tlistpwd: INFO: Password appended to file "/usr/local/wledir/udataobj/tlisten.pw".
Verifying installation...
... Installation successful!
If your license file is accessible, you may install it now.
Install license file? [y/n]:
To terminate the license update at any time
press the interrupt key,
typically <del>, <break>, or <ctrl+c>.
Directory containing source license text file [?,q]:
Using /usr/lic.txt to copy license information.
Updating /usr/local/wledir/udataobj/lic.txt with license information.
Please don't forget to fill out and send in your registration card
If you elected not to install the product license when you installed the WLE software, you can install the license using the BEA License Utility.
Note: Your product license is on a 3.5-inch diskette that is included in the WLE product box.
To install the license, use the following steps:
cd /usr/local/wledir/bin
The following prompt is displayed:
To terminate the license update at any time
press the interrupt key,
typically <del>, <break>, or <ctrl+c>.
Directory containing source license text file [?,q]:
Using /kits/license/lic.txt to copy license information.
Directory where WebLogic Enterprise files are installed. [?,q]:
Updating /usr/local/wledir/udataobj/lic.txt with license information.
To verify that you have successfully installed the WLE client and server software, run the simpapp application. This "simple application" is a WLE client/server application that converts strings to uppercase and lowercase letters.
Note: This section assumes you installed all WLE server components, or one of the CORBA server components. If you installed only the J2EE server component, see the next section, Running a Basic EJB Sample to Verify the WLE J2EE Software Installation, for information about running an EJB sample to verify the installation.
Before running the sample application, see Appendix A, "WLE Platform Data Sheets" for important information about prerequisite software.
To run simpapp , perform the following steps:
Notes: If you installed all WLE servers or the CORBA C++ server component in the default directory, a C++ simpapp directory is located at usr/local/wledir/samples/corba/simpapp .
If you installed the CORBA Java server component in the default directory, the simpapp directory is located at usr/local/wledir/samples/corba/simpapp_java.
If you installed the BEA TUXEDO server component in the default directory, the simpapp directory is located at usr/local/wledir/samples/atmi/simpapp.
chmod 777 *
Testing simpapp
cleaned up
prepared
built
loaded ubb
booted
ran
shutdown
saved results
PASSED
If you installed only the WLE J2EE server component, you can run a stateless session EJB sample provided by the WLE software to verify the installation.
Before running the sample application, see Appendix A, "WLE Platform Data Sheets" for important information about prerequisite software. For example, on NT systems, you must first download and install the Java 2 SDK version 1.2.2.
This sample demonstrates the usage of stateless session EJBs using a simple stock trader application. This sample demonstrates how the client must maintain any persistent state -- such as the change in the cash account -- across repeated calls to the session EJB. All the logic for the balance is encapsulated in the client, where all the persistence is provided by the container and the logic is maintained in the EJB.
The EJB in this sample provides basic trading methods, such as buying and selling stocks. Because there are no persistent stores involved in this sample, all the stock data are set in the deployment descriptor of the EJB as environment properties. The container supplies the data to the EJB through the JNDI lookup operation.
The following directory contains the Java source files and XML-based deployment descriptors:
$TUXDIR/samples/j2ee/ejb/basic/statelessSession
A common build script, runme.cmd , is provided for all the EJB samples and is in the following directory:
$TUXDIR/samples/j2ee/ejb
This rumme.ksh shell script file contains commands to set the environment, boot the server, and execute the client for this sample.
The following table lists and describes all the files for this sample application.
The following table lists and describes the utility files for this sample application. These files are generated based on the WLE installation environment. Because a common build script is provided for all the EJB samples, instructions to build and execute the samples are provided in the section Building the EJB Sample Applications. The runme.ksh
file resides in the $TUXDIR/samples/j2ee/ejb
directory. The other utility files are in the $TUXDIR%/samples/j2ee/ejb/basic/statelessSession
directory.
Utility Files
HOST
PORT
IPCKEY
JAVA_HOME
Use the following steps to build the EJB samples:
Variable Descriptions
Building the EJB Sample Applications
prompt>chmod -R +w *
Change the permission of the runme.ksh file to give it execute permission, as in the following command:
prompt>chmod +x runme.ksh
prompt>. ./runme.ksh basic statelessSession
After you have executed the runme command, you can run the samples manually if you like. To run the samples manually:
prompt>. ./setenv.ksh
prompt>tmboot -y
prompt>. ./run_client.ksh
prompt>tmshutdown -y
To restore the sample application directory to its original state:
prompt>. $TUXDIR/samples/j2ee/ejb/clean.ksh
To remove the software from your system, use the following procedure. This procedure also removes the WLE Security Service software, if present on your system.
prompt> rm -rf wledir
where wledir is the WLE base directory.
|
|
|
Copyright © 1999 BEA Systems, Inc. All rights reserved.
|