|
|
Editing a UBBCONFIG File
Each BEA Tuxedo application is controlled by a configuration file in which installation-dependent parameters are defined. The configuration file for an application usually requires editing before the application can be booted.
In the BEA Tuxedo documentation this file is referred to as UBBCONFIG(5), but you can give your configuration file any name you like. Typical configuration filenames begin with the string ubb, followed by a mnemonic string, such as simple in the filename ubbsimple.
As an example, consider ubbsimple, the configuration file for a rudimentary sample application called simpapp, that is delivered with the BEA Tuxedo System. On UNIX platforms, this application is found in $TUXDIR/samples/atmi/simpapp; on Windows platforms, it is found in %TUXDIR%\samples\atmi\simpapp.
The following sample listing shows ubbsimple as delivered on a UNIX platform.
ubbsimple Configuration File
#ident "@(#)apps:simpapp/ubbsimple $Revision: 1.1 $
#Skeleton UBBCONFIG file for the TUXEDO Simple Application.
#Replace the <bracketed> items with the appropriate values.
*RESOURCES
IPCKEY <Replace with a valid IPC Key>
#Example:
#IPCKEY 123456
DOMAINID simpapp
MASTER simple
MAXACCESSERS 10
MAXSERVERS 5
MAXSERVICES 10
MODEL SHM
LDBAL N
*MACHINES
DEFAULT:
APPDIR="<Replace with the current directory pathname>"
TUXCONFIG="<Replace with your TUXCONFIG Pathname>"
TUXDIR="<Directory where TUXEDO is installed>"
#Example:
# APPDIR="/home/me/simpapp"
# TUXCONFIG="/home/me/simpapp/tuxconfig"
# TUXDIR="/usr/tuxedo"
<Machine-name> LMID=simple
#Example:
#beatux LMID=simple
*GROUPS
GROUP1
LMID=simple GRPNO=1 OPENINFO=NONE
*SERVERS
DEFAULT:
CLOPT="-A"
simpserv SRVGRP=GROUP1 SRVID=1
*SERVICES
TOUPPER
In the configuration file for your application you must replace the strings enclosed in angle brackets with values specific to your application. The following table provides a sample of the parameters that must be defined in every configuration file.
If you need to look up other parameters when editing your configuration file, see the UBBCONFIG(5) reference page in the BEA Tuxedo File Formats and Data Descriptions Reference.
Note: You must edit the configuration file before running tmloadcf(1) to verify the IPC requirements (see Verifying IPC Requirements on a UNIX System). If you run tmloadcf without first editing the configuration file, the command will fail with syntax errors.
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|