Académique Documents
Professionnel Documents
Culture Documents
42
Administration Tools
PeopleSoft Server Tools
Administration
November 2002
PeopleTools 8.42
Administration Tools
PeopleSoft Server Tools Administration
SKU TOOLS842SVT-B 1102
PeopleBooks Contributors: Teams from PeopleSoft Product Documentation and Development.
Copyright 1988-2002 PeopleSoft, Inc. All rights reserved.
Printed in the United States.
All material contained in this documentation is proprietary and confidential to PeopleSoft, Inc. ("PeopleSoft"),
protected by copyright laws and subject to the nondisclosure provisions of the applicable PeopleSoft
agreement. No part of this documentation may be reproduced, stored in a retrieval system, or transmitted
in any form or by any means, including, but not limited to, electronic, graphic, mechanical, photocopying,
recording, or otherwise without the prior written permission of PeopleSoft.
This documentation is subject to change without notice, and PeopleSoft does not warrant that the material contained
in this documentation is free of errors. Any errors found in this document should be reported to PeopleSoft in writing.
The copyrighted software that accompanies this document is licensed for use only in strict accordance
with the applicable license agreement which should be read carefully as it governs the terms of use
of the software and this document, including the disclosure thereof.
PeopleSoft, PeopleTools, PS/nVision, PeopleCode, PeopleBooks, PeopleTalk, and Vantive are registered
trademarks, and Pure Internet Architecture, Intelligent Context Manager, and The Real-Time Enterprise are
trademarks of PeopleSoft, Inc. All other company and product names may be trademarks of their respective
owners. The information contained herein is subject to change without notice.
Open Source Disclosure
This product includes software developed by the Apache Software Foundation (http://www.apache.org/). Copyright
(c) 1999-2000 The Apache Software Foundation. All rights reserved. THIS SOFTWARE IS PROVIDED
AS IS AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PeopleSoft takes no responsibility for its use or distribution of any open source or shareware software or
documentation and disclaims any and all liability or damages resulting from use of said software or documentation.
Contents
General Preface
About This PeopleBook ............................................................................. . . . . . . .xiii
PeopleSoft Application Prerequisites........................................................................ . . . . . . . .xiii
PeopleSoft Application Fundamentals....................................................................... . . . . . . . .xiii
Related Documentation........................................................................................ ........xiv
Obtaining Documentation Updates...............................................................................xiv
Ordering Printed Documentation.................................................................................xiv
Typographical Conventions and Visual Cues............................................................... . . . . . . . .xv
Typographical Conventions............................................................................... . . . . . . . .xv
Visual Cues..........................................................................................................xvi
Comments and Suggestions.................................................................................. . . . . . . .xvii
Common Elements in These PeopleBooks ................................................................ . . . . . . .xvii
Preface
PeopleSoft Server Tools Administration Preface.............................................. . . . . . . .xix
PeopleSoft Server Tools Administration..................................................................... ........xix
Chapter 1
Using PSADMIN Utility............................................................................... ..........1
Understanding PSADMIN..................................................................................... ..........1
Starting PSADMIN.............................................................................................. ..........1
Using PSADMIN................................................................................................ ..........2
Selecting Menu Options.............................................................................................2
Configuration Templates....................................................................................... ..........2
Command Line Options....................................................................................... ..........3
Command Line Syntax...............................................................................................3
Commands for the Command Line.................................................................................3
Command Line Create and Configure.............................................................................4
Quick Configure................................................................................................. . . . . . . . .10
Executables and Configuration Files......................................................................... . . . . . . . .11
Configuring a Domain ...................................................................................... . . . . . . .12
Loading a Configuration.................................................................................... . . . . . . .14
Booting a Domain............................................................................................ . . . . . . .15
iii
Contents
Chapter 2
Working With PSADMIN Menus.................................................................... . . . . . . . .17
Using the Application Server Menu.......................................................................... . . . . . . . .17
Accessing the Application Server Options............................................................... . . . . . . .17
Administering a Domain.................................................................................... . . . . . . .17
Booting a Domain............................................................................................ . . . . . . .18
Shutting Down a Domain................................................................................... . . . . . . .18
Normal shutdown............................................................................................ . . . . . . .18
Forced shutdown............................................................................................ . . . . . . .18
Checking Domain Status................................................................................... . . . . . . .18
Configuring a Domain....................................................................................... . . . . . . .20
Edit configuration/log files Menu........................................................................... . . . . . . .21
Creating a Domain........................................................................................... . . . . . . .23
Deleting a Domain........................................................................................... . . . . . . .23
Understanding the Process Scheduler Menu............................................................... . . . . . . . .23
Starting a Process Scheduler Server..................................................................... . . . . . . .24
Stopping a Process Scheduler Server.................................................................... . . . . . . .24
Configuring a Process Scheduler Server................................................................. . . . . . . .24
Creating a Process Scheduler Server Configuration.................................................. . . . . . . . .25
Deleting a Process Scheduler Server..................................................................... . . . . . . .25
Editing the Process Scheduler Configuration File....................................................... . . . . . . .25
Process Scheduler Options... ............................................................................. . . . . . . .25
Process Scheduler Command Line Options............................................................. . . . . . . .26
Setting up the PeopleSoft NT Service....................................................................... . . . . . . . .26
Understanding NT Services................................................................................ . . . . . . .26
Configuring the PeopleSoft Service.. ..................................................................... . . . . . . .26
Monitoring the Executables................................................................................ . . . . . . .28
PeopleSoft Services Administration Reference.......................................................... . . . . . . .28
Editing the PSNTSRV.CFG File Manually ............................................................... . . . . . . .29
Chapter 3
Understanding Application Server Domain Parameters..................................... . . . . . . . .31
Startup........................................................................................................... . . . . . . . .31
Database Options.............................................................................................. . . . . . . . .32
Security.......................................................................................................... . . . . . . . .33
Workstation Listener........................................................................................... . . . . . . . .33
iv
Contents
Chapter 4
Administering Web Servers........................................................................ . . . . . . . .55
The PeopleSoft Web Server.................................................................................. . . . . . . . .55
Transmitting Requests to the Web Server................................................................ . . . . . . .57
Using Multiple Servlets...................................................................................... . . . . . . .57
Web Server Configuration Files.............................................................................. . . . . . . . .58
WebLogic Configuration File Locations................................................................... . . . . . . .58
WebSphere Configuration Files.......................................................................... . . . . . . . .60
Modifying PeopleSoft Web Server Configuration Files.................................................... . . . . . . . .62
PeopleSoft Configuration Files............................................................................. . . . . . . .63
configuration.properties..................................................................................... . . . . . . .63
pstools.properties............................................................................................ . . . . . . .77
Administration for All Web Servers........................................................................... . . . . . . . .78
Setting Jolt Failover......................................................................................... . . . . . . .78
Using Linux Shell............................................................................................ . . . . . . .78
Chapter 5
Working with BEA WebLogic....................................................................... . . . . . . . .81
Understanding Web Applications............................................................................. . . . . . . . .81
Contents
Chapter 6
Working with IBM WebSphere..................................................................... .......105
Administering WebSphere..................................................................................... .......105
Starting WebSphere...............................................................................................105
Stopping WebSphere.............................................................................................105
Working with Default Web Server Settings.....................................................................106
vi
Contents
Uninstalling WebSphere..........................................................................................107
Setting KeepAlive Properties for WebSphere..................................................................108
Modifying the Java Heap Size...................................................................................109
Running WebSphere and WebLogic on One Server..........................................................109
Understanding Servlet Registrations............................................................................109
Understanding CLASSPATH Settings..........................................................................110
Working with the PeopleSoft Site............................................................................. .......110
Installing Additional Sites with Multi Platform Installer........................................................110
Running Different PeopleTools Versions.......................................................................112
Working with Proxy Servers................................................................................... .......117
Setting up a Proxy Server........................................................................................117
Changing Default Ports for a Proxy Server....................................................................118
Configuring SSL................................................................................................ .......119
Setting up SSL on Microsoft IIS.................................................................................119
Setting up SSL on IBM HTTP Server...........................................................................120
Setting up SSL on WebSphere Application Server...........................................................126
Chapter 7
Building and Maintaining Search Indexes....................................................... .......129
Understanding PeopleSoft Search Indexes................................................................. .......129
Types of Indexes...................................................................................................130
Components of Search Architecture......................................................................... .......131
PeopleSoft Portal Technologies.................................................................................131
Verity Technologies................................................................................................131
PeopleSoft Search Utilities.......................................................................................132
Working with Indexes. ......................................................................................... .......132
Opening Existing Collections.....................................................................................132
Creating New Indexes............................................................................................132
Understanding Common Controls...............................................................................133
Supported MIME Types...........................................................................................133
Building Record-Based Indexes.............................................................................. .......134
Modifying Record-Based Index Properties. ....................................................................134
Adding Subrecords to Search Indexes.........................................................................137
Building File System (Spider) Indexes....................................................................... .......137
File System Options Page........................................................................................138
What to Index Page...............................................................................................138
Building HTTP Spider Indexes................................................................................ .......140
HTTP Gateway Page..............................................................................................140
What to Index Page...............................................................................................141
vii
Contents
Chapter 8
Miscellaneous Administration Tasks............................................................. .......149
Setting up the PeopleCode Debugger....................................................................... .......149
Debugging for a Two-Tier Connection... .......................................................................149
Debugging for a Three-Tier Connection........................................................................149
Using the PeopleCode Debugger...............................................................................151
System Information Page...................................................................................... .......151
Understanding the System Information Page..................................................................151
Viewing the System Information Page..........................................................................152
Setting Up Jolt Internet Relay................................................................................. .......154
Installing Jolt Internet Relay (JRLY).............................................................................156
Configuring Jolt Relay (Front-End)..............................................................................157
Configuring Jolt Relay Adapter (JRAD).........................................................................159
Starting Jolt Relay.................................................................................................160
Stopping Jolt Relay................................................................................................160
Jolt Relay Notes...................................................................................................160
Chapter 9
Data Integrity Tools................................................................................... .......163
Understanding Data Integrity Tools.......................................................................... .......163
SQL Alter........................................................................................................ .......163
Understanding Table and Column Audits.......................................................................164
DDDAUDIT...................................................................................................... .......165
DDDAUDIT Queries...............................................................................................165
SYSAUDIT...................................................................................................... .......167
Understanding SYSAUDIT Output..............................................................................168
viii
Contents
Chapter 10
PeopleTools Utilities................................................................................. .......205
Understanding the PeopleTools Utilities..................................................................... .......205
Administration Utilities......................................................................................... .......205
PeopleTools Options..............................................................................................205
Message Catalog..................................................................................................211
Using the Spell Check System Dictionary......................................................................212
Translate Values...................................................................................................214
Load Application Server Cache..................................................................................214
Table Space Utilities...............................................................................................217
Table Space Management........................................................................................218
DDL Model Defaults...............................................................................................219
Strings Table.......................................................................................................221
XML Link Function Registry......................................................................................222
Merchant Integration Utilities.....................................................................................222
TableSet IDs........................................................................................................222
Record Group Table...............................................................................................223
TableSet Control...................................................................................................223
Convert Panels to Pages. ........................................................................................224
Update Utilities.....................................................................................................227
Remote Database Connection...................................................................................228
URL Maintenance.. ...............................................................................................229
Copy File Attachments............................................................................................230
Query Monitor......................................................................................................231
Sync ID Utilities....................................................................................................231
Audit Utilities.................................................................................................... .......232
Record Cross Reference.........................................................................................232
Perform System Audit (SYSAUDIT).............................................................................233
Database Level Auditing Utilities................................................................................233
Debug Utilities.................................................................................................. .......234
PeopleTools Test Utilities. ........................................................................................234
Replay Appserver Crash (Application Server Crash).........................................................235
Trace PeopleCode.................................................................................................235
Trace SQL..........................................................................................................236
Trace Page.........................................................................................................237
International Utilities............................................................................................ .......238
Preferences.........................................................................................................238
Process Field Size.................................................................................................238
Time Zones ........................................................................................................238
Manage Languages...............................................................................................239
ix
Contents
Chapter 11
Database Level Auditing............................................................................ .......243
Understanding Database Level Auditing......... ........................................................... .......243
Creating Audit Record Definitions............................................................................ .......244
Working With Auditing Triggers............................................................................... .......247
Defining Auditing Triggers........................................................................................247
Creating and Running the Auditing Triggers Script...........................................................248
Deleting Auditing Triggers........................................................................................249
Viewing Audit Information..................................................................................... .......249
Creating Queries to View Audit Records Details........................................................... .......251
Creating an Access Group.......................................................................................251
Listing All Audit Records in PS_AUDIT_ABSENCE... .......................................................252
Listing All Audit Records for a Specified User ID..............................................................253
Listing All Audit Records Containing an Invalid OPRID......................................................254
Listing All Audit Records For a Specified Time Period.......................................................255
Microsoft SQL Server Trigger Information.................................................................. .......256
Microsoft SQL Server: Trigger Syntax..........................................................................257
Microsoft SQL Server: Capturing Text/Image Columns......................................................259
Microsoft SQL Server Trigger Maintenance....................................................................262
Sybase Trigger Information................................................................................... .......263
Sybase Trigger Syntax............................................................................................263
Sybase Trigger Maintenance.....................................................................................264
Oracle............................................................................................................ .......265
Oracle Trigger Syntax.............................................................................................265
Oracle Trigger Maintenance......................................................................................269
DB2 for OS/390 Trigger Information......................................................................... .......272
Assembler Program AUDIT01 for DB2 for OS390............................................................272
User Defined Function (External Scalar) Requirements......................................................278
Sample DB2 Syntax to Create UDF Function AUDIT01......................................................279
Verifying Status of UDF Function................................................................................279
DB2 OS390 Trigger Syntax......................................................................................279
DB2 OS390 Trigger Maintenance.. .............................................................................281
Contents
Index ............................................................................................................295
xi
Contents
xii
xiii
General Preface
The application fundamentals PeopleBook consists of important topics that apply to many or all
PeopleSoft applications across a product line. Whether you are implementing a single application,
some combination of applications within the product line, or the entire product line, you should
be familiar with the contents of this central PeopleBook. It is the starting point for fundamentals,
such as setting up control tables and administering security.
Related Documentation
This section discusses how to:
Obtain documentation updates.
Order printed documentation.
See Also
PeopleSoft Customer Connection Website, http://www.peoplesoft.com/corp/en/login.asp
Web
From the Documentation section of the PeopleSoft Customer Connection Website, access the PeopleSoft
Press Website under the Ordering PeopleBooks topic. The PeopleSoft Press Website is a joint venture
between PeopleSoft and Consolidated Publications Incorporated (CPI), the book print vendor. Use a
credit card, money order, cashiers check, or purchase order to place your order.
xiv
General Preface
Telephone
Contact CPI at 800 888 3559.
Email
Send email to CPI at psoftpress@cc.larwood.com.
See Also
PeopleSoft Customer Connection Website, http://www.peoplesoft.com/corp/en/login.asp
Typographical Conventions
The following table contains the typographical conventions that are used in PeopleBooks:
Typographical Convention or Visual Cue
Description
Bold
Italics
KEY+KEY
Monospace font
(quotation marks)
xv
General Preface
Description
. . . (ellipses)
{ } (curly braces)
[ ] (square brackets)
& (ampersand)
(ISO)
Cross-references
Visual Cues
PeopleBooks contain the following visual cues.
Notes
Notes indicate information that you should pay particular attention to as you work with the PeopleSoft system.
Note. Example of a note.
A note that is preceded by Important! is crucial and includes information that concerns
what you must do for the system to function properly.
xvi
General Preface
Warnings
Warnings indicate crucial configuration considerations. Pay close attention to warning messages.
Warning! Example of a warning.
Business Unit
Description
Effective Date
The date on which a table row becomes effective; the date that an action
begins. For example, to close out a ledger on June 30, the effective date
for the ledger closing would be July 1. This date also determines when
you can view and change the information. Pages or panels and batch
processes that use the information use the current row.
Select Once to run the request the next time the batch process runs. After the
batch process runs, the process frequency is automatically set to Dont Run.
Select Always to run the request every time the batch process runs.
Select Dont Run to ignore the request when the batch process runs.
xvii
General Preface
Report Manager
Click to access the Report List page, where you can view report content,
check the status of a report, and see content detail messages (which show
you a description of the report and the distribution list).
Process Monitor
Click to access the Process List page, where you can view the
status of submitted process requests.
Run
Click to access the Process Scheduler request page, where you can specify the
location where a process or job runs and the process output format.
Request ID
User ID
SetID
Short Description
See Also
Using PeopleSoft Applications
PeopleSoft Process Scheduler
xviii
xix
Preface
xx
CHAPTER 1
Understanding PSADMIN
PSADMIN, an abbreviation for PeopleSoft Server Administration, simplifies the process of configuring and
administering all the servers and features available on the application server. For example, to configure your
application server domains, process scheduler servers, or Windows NT services, you use PSADMIN.
Starting PSADMIN
This section assumes that you already have your PeopleSoft Application Server installed and configured as
described in the PeopleSoft Installation and Administration book for your database platform.
To start the PSADMIN utility:
1. Start your command interface on Windows NT or UNIX.
2. Change the directory to the \appserv directory beneath the high-level PeopleSoft
directory on the application server.
For example, if your application server runs on Windows NT, enter:
cd ps_home\appservpsadmin
3. Select the server that you want to configure, administer, or monitor from the
PeopleSoft Server Administration menu.
Chapter 1
Using PSADMIN
Using PSADMIN involves selecting the number of the menu item that reflects the action that you want to take
place, entering the correct number on the command line, and pressing ENTER. However, in some cases, you
may want to take advantage of the command line options that PSADMIN offers. After reading this section
you will be familiar with PSADMINs menu options, where to find them, and how to select them.
Configuration Templates
The initial values that you see in PSADMIN are derived from the configuration template that
you select when you create your domain. The delivered templates provide a range of possible
implementations. The delivered templates are as follows:
Small. This template is designed for a number of users in the range of 1-100.
Medium. This template is designed for a number of users in the range of 100-500.
Large. This template is designed for a number of users in the range of 500-1000.
Developer. The developer template is intended for development and demonstration environments only.
Each configuration template includes a number of server processes, such as PSAPPSRV, that is sufficient for
its intended load. Keep in mind that you can easily modify and create your own configuration templates
to fully include your sites needs. The configuration templates are .CFX files that you can locate in the
PS_HOME\appserv directory on the application server. To create your own CFX files, just save the CFX file
to a new name after modifying the template values. The next time PSADMIN prompts you for a configuration
template to create a domain, your custom CFX file will appear in the configuration templates list.
Chapter 1
You can modify the CFX files using any text editor, such as Notepad on Windows or vi on
UNIX. Use the Save As option to create your own template.
Example
Result
psadmin -c boot -d
ps800dmo
psadmin -c shutdown -d
ps800dmo
shutdown!
psadmin c shutdown! d
ps800dmo
Chapter 1
Command
create
Example
psadmin -c create -d
ps800dmo -t small s
<startup_string> -p
<port_string>
Result
Creates an application server
configuration file with specified
template. Where -t specifies the
template to use: small, medium, or
large.
Note. The s and p parameters are
discussed in the following section.
configure
psadmin -c configure -d
ps800dmo
Process Scheduler
psadmin -p create -d
hrdmo -t nt ps <port_
string>
start
psadmin -p start -d
hrdmo
stop
configure
psadmin -p configure -d
hrdmo
status
psadmin -p status -d
hrdmo
General
psadmin -h
version #
psadmin -v
environment
psadmin -env
create
help
Chapter 1
PSADMIN created the PSAPPSRV.CFG file using the template specified. To configure the domain to
be functional, you must specify the Startup and Port string values using s and p option. PSADMIN
reflects the specified values in the parameters stored in the PSAPPSRV.CFG file.
The Domain Name and Add to Path values reside in the Domain Settings section of the PSAPPSRV.CFG,
and the rest of the Startup values reside in the Startup section of the PSAPPSRV.CFG.
Similarly, the Port string (-p) contains the following values:
Workstation Listener Port (WSL_PORT)
Jolt Port (JSL_PORT)
Jolt Internet Relay Adapter Port (JRAD_PORT)
If you chose to include the Port string on the command line, it would appear as:
psadmin -c create -d domain -t template s DBNAME/DBTYPE/
OPR_ID/OPR_PSWD/DOMAIN_ID/ ADD_TO_PATH/CNCT_ID/CNCT_PSWD/SERV_NAME
-p WSL_PORT/JSL_PORT/JRAD_PORT
The values in the Port string control the Port parameter in the Workstation Listener, Jolt Listener,
and Jolt Relay Adapter sections of the PSAPPSRV.CFG.
The defaults are:
WSL_PORT (7000)
Chapter 1
JSL_PORT (9000)
JRAD_PORT (9100)
Default Values
The only "required" value is DBNAME. After that, the individual values in the strings may be truncated
from right-to-left. If you do not specify a value, PSADMIN uses a default value.
The defaults are in parentheses:
DBTYPE (MICROSFT)
UserId (QEDMO)
UserPswd (QEDMO)
DOMAIN_ID (same as DBNAME)
ADD_TO_PATH (c:\apps\db\mssql7\binn)
CONNECT_ID (blank)
CONNECT_PSWD (blank)
SERVER_NAME (blank)
Note. If the default values contained in the delivered CFX files are not acceptable, you can modify
the CFX files in the <PS_HOME>\appserv directory to reflect your environment.
String Values
Description
-c create
-d <domain>
-t <template>
-s <startup string>
Chapter 1
Parameter/Option
String Values
Description
/DBNAME
/DBTYPE
/USER_ID
/USR_PSWD
/DOMAIN_ID
/ADD_TO_PATH
/CNCT_ID
/CNCT_PSWD
Parameter/Option
Chapter 1
String Values
/SERV_NAME
Description
If your RDBMS requires that you
specify the Server Name on which
the database resides, enter the
appropriate Server Name. (From the
Startup section in PSAPPSRV.CFG).
The p command line parameter
supports an optional set of values
that you can specify for your
domain. These values comprise
the port string. Typically, you only
specify values here if you have more
than domain on the same application
server machine, or you need to
specify a specific value due to
your environment or testing needs.
Otherwise, PeopleSoft recommends
accepting the defaults for ease of
configuration.
-p <port string>
/WSL_PORT
/JSL_PORT
/JRAD_PORT
To create and configure an application server domain from the command line:
1. Change directories to the PS_HOME\appserv directory on the application server. For example,
C:\cd hr800\appserv
Chapter 1
2. Enter psadmin on the command line and submit the command line parameters for c <comand>
-d <domain>, -t <template>, -s <startup>, and p <port>.
The following example shows the basic syntax you must use when you configure a
domain using this command line option on Windows.
C:\hr800\appserv\psadmin c create -d <domain> -t <template> [-s <startup_string>
[-p <port_string>]]
The following example shows the syntax for the startup string, which you enter after s.
DBNAME/DBTYPE/USER_ID/USER_PSW/DOMAIN_ID/ADD_TO_PATH/CNCT_ID/CNCT_PSWD/SERV_NAME
The following example shows the syntax for the optional port string, which you enter after -p.
WSL_PORT/JSL_PORT/JRAD_PORT
You need to include only the parameters that apply to your RDBMS.
3. Press ENTER.
In your command screen, you should see messages that resemble the following.
Copying application server configuration files...
copying [small.cfx] to [HR800DMO\psappsrv.cfg]
Copying Jolt repository file...
Domain created.
Loading UBBGEN configuration utility with "-s HR800DB1/MICROSFT/PS/PS/TESTSRV2/c
:\apps\db\mssql7\binn -p 7100/9010"...
setting DBName=HR800DB1
setting DBType=MICROSFT
setting OprId=PS
setting OprPswd=PS
setting ConnectId=
setting ConnectPswd=
setting ServerName=
setting Port=7100
setting Port=9010
setting Listener Port=9100
setting Domain ID=TESTSRV2
Chapter 1
Quick Configure
Immediately after you create a domain, you are prompted to configure it using the Quick configure menu.
If you enter y, then the Quick-configure menu appears.
---------------------------------------------Quick-configure menu -- domain: PT840
---------------------------------------------Features
Settings
==========
==========
1) Pub/Sub Servers: No
10) DBNAME
:[PT8]
2) Quick Servers
: No
11) DBTYPE
:[MICROSFT]
3) Query Servers
: No
12) UserId
:[QEDMO]
4) Jolt
: Yes
13) UserPswd
:[QEDMO]
5) Jolt Relay
: No
14) DomainID
:[PT8]
6) PC Debugger
: No
15) AddToPATH
:[C:\Apps\Db\Mssql7\Binn]
7) Opt Engines
: No
16) ConnectID
:[psft]
17) ConnectPswd:[psft8]
18) ServerName :[]
Actions
:[7000]
=========
:[9000]
:[9100]
10
Chapter 1
The Quick-configure menu is not intended to replace the series of configuration sections in the PSADMIN
interface. In most cases, your site will require the custom parameters and tuning options that are available
only through the full PSADMIN menu. For this reason, the Quick-configure menu is provided for situations
where you are setting up a demonstration domain for testing or for development needs.
This Quick-configure menu shows which features are currently set for the newly created domain. The menu
contains the values most commonly changed when setting up a demonstration or test domain.
To change the value of a parameter under Features, just enter the number corresponding to
the feature and that will toggle the feature on or off.
To change the value of a parameter under Settings, enter the number corresponding to
the setting and enter the new value at the prompt.
11
Chapter 1
PSAPPSRV.VAL. The VAL file contains the format specification for the configuration
parameters and for some parameters a set of valid values that can assigned. This helps to
prevent administrators from entering invalid values.
PSTUXCFG. This file contains PeopleSoft and Tuxedo information regarding the location of executables,
files, and command lines for server processes. This file is required to boot a domain.
Configuring a Domain
Regardless of how you choose to specify domain values, ultimately you must run PSADMIN to generate
some necessary files that will include your custom values. As youll see in the following example,
PSADMIN invokes another PeopleSoft executable UBBGEN, which reads the values and format stored in
the PSAPPSRV.CFG, VAL, and UBX files and generates the PSAPPSRV.UBB and.ENV files.
12
Chapter 1
UBBGEN
At the point where you see Do you want to change any config values? (y/n) regardless of
what you enter, ultimately PSADMIN calls UBBGEN.
If you already entered values manually in the PSAPPSRV.CFG file and enter n, UBBGEN
will read those and write to the necessary files.
If you enter y, youll see the PSADMIN prompt interface, which is actually a wrapper to UBBGEN.
UBBGEN reads the previous values stored in the PSAPPSRV.CFG, and presents those values and allows
you to change them. It presents the values in the format derived from reading the PSAPPSRV.UBX file
and it validates selected values based on criteria stored in the PSAPPSRV.VAL file.
13
Chapter 1
Note. In the previous example, it appears that UBBGEN both reads from and writes to the
PSAPPSRV.CFG file. It reads the previous values or defaults and, if any values are modified,
it writes the new values to the new PSAPPSRV.CFG.
Here are the scenarios by which you can configure a domain:
PSADMIN. Launch PSADMIN, and enter values at all the prompts. This generates
all of the necessary files automatically.
EDIT PSAPPSRV.CFG. If you decide not to use PSADMIN you must complete the following tasks in order:
- From the command line create a domain based on a particular template.
- Edit the PSAPPSRV.CFG in your favorite text editor.
- Then, issue the configure command from the PSADMIN command line. This is the command that
calls UBBGEN. In fact, youll see the following after issuing this command:
C:\pt8apsrv\Appserv>psadmin -c configure -d 80manual
Loading UBBGEN configuration utility ...
Loading a Configuration
After you configure a domain and PSADMIN creates the new configuration file, PSADMIN loads the new
configuration settings into PSTUXCFG so that your domain can properly boot. This occurs automatically
after you have completed all of the prompts for values in PSADMIN. For example, as shown in the
following example, you will see the text Loading new configuration on the command line.
14
Chapter 1
To load the new configuration, PSADMIN makes a call to the BEA executable, TMLOADCF.EXE,
which populates the PSTUXCFG file. TMLOADCF.EXE reads the newly entered values that appear
in the PSAPPSRV.UBB file and writes them to the PSTUXCFG file.
Booting a Domain
When you select Boot this domain PSADMIN calls the Tuxedo executable called TMBOOT.EXE, which uses
the information that resides in both the PSAPPSRV.ENV and PSTUXCFG file to boot the appropriate domain.
Stopping a Domain
When you select Domain shutdown menu and select one of the shutdown options PSADMIN calls the
Tuxedo executable called TMSHUTDOWN.EXE, which also uses the information that resides in both
the PSAPPSRV.ENV and PSTUXCFG files to shutdown the appropriate domain.
15
16
Chapter 1
CHAPTER 2
Administering a Domain
To administer a domain, you must have already created a domain. After you have created a domain,
you must specify environment-specific settings for the application server to function correctly with
your system. The following sections describe all the menus and options within them that you will
encounter as you administer and configure an application server domain.
To administer a domain:
1. Select 1 from the PeopleSoft Application Server Administration menu.
2. In the Select domain number to administer command line, enter the number that corresponds to the
previously created domain that you want to administer that appears in the Tuxedo domain list.
3. Select the option that you want to perform from the PeopleSoft Domain Administration menu.
The following sections describe each option that appears in the PeopleSoft Domain Administration menu.
17
Chapter 2
Booting a Domain
The Boot this Domain option sets the following environment variable:
TUXCONFIG=PS_HOME/appserv/<domain-name>/pstuxcfg
And, then it boots the Tuxedo domain (the application server) using the tmboot command.
Normal shutdown
Sets environment variable TUXCONFIG=PS_HOME/appserv/<domain-name>/pstuxcfg, then shuts down the
domain using the tmshutdown command. A normal shutdown is a quiescent shutdown that waits for users to
complete their tasks and turns away new requests before terminating all the processes in the domain.
Forced shutdown
Sets environment variable TUXCONFIG=PS_HOME/appserv/<domain-name>/pstuxcfg, then
shuts down the domain using the tmshutdown -k TERM -c command. A forced shutdown is a
non-quiescent shutdown that immediately terminates all the processes in the domain. Normally,
you would only use the Forced shutdown when a Bulletin Board Liaison (BBL) process is
encountering errors and can not be shut down using a Normal shutdown.
Note. The BBL is a primary Tuxedo process that controls the domain.
18
Chapter 2
3) Queue status
q) Quit
Command to execute (1-3, q) [q]:
Server Status
By entering 1 for Server status, you invoke Tuxedos tmadmin psr subcommand (print server processes),
which displays the Tuxedo processes and PeopleSoft server processes currently running.
> Prog Name
--------JSL.exe
PSSUBDSP.exe
PSPUBDSP.exe
PSBRKDSP.exe
PSSAMSRV.exe
BBL.exe
PSSUBHND.exe
PSPUBHND.exe
PSBRKHND.exe
PSAPPSRV.exe
PSAPPSRV.exe
PSAPPSRV.exe
WSL.exe
JREPSVR.exe
The number of items appearing in the Prog Name list depend on the number of
server processes you have configured.
Client status
By entering 2 for Client status, you invoke Tuxedos tmadmin pclt subcommand (print
clients), which displays connected users.
>
LMID
--------------GSAWYER061199
GSAWYER061199
GSAWYER061199
GSAWYER061199
GSAWYER061199
GSAWYER061199
GSAWYER061199
GSAWYER061199
GSAWYER061199
User Name
--------------NT
NT
NT
NT
NT
NT
PTDMO
PTDMO
NT
Client Name
Time
Status
Bgn/Cmmt/Abrt
------------0/0/0
0/0/0
0/0/0
0/0/0
0/0/0
0/0/0
0/0/0
0/0/0
0/0/0
19
Chapter 2
Queue Status
Examining the status of the individual queues for each server process provides valuable tuning information.
You check the queues using the Queue status option. Notice in the following example that the results
of the Queue status option show the individual server processes, the associated queue, the number of
server processes currently running, and the number of requests waiting to be processed.
Prog Name
--------BBL.exe
PSMSGDSP.exe
JSL.exe
PSAPPSRV.exe
PSSAMSRV.exe
WSL.exe
PSMSGHND.exe
PSQCKSRV.exe
PSQRYSRV.exe
JREPSVR.exe
# Queued
-------0
0
0
0
0
0
0
0
0
0
Ave. Len
--------
Machine
------GSAWYER06+
GSAWYER06+
GSAWYER06+
GSAWYER06+
GSAWYER06+
GSAWYER06+
GSAWYER06+
GSAWYER06+
GSAWYER06+
GSAWYER06+
The results alert you to any bottlenecks that may be occurring on your application server. With this information,
you can make more informed performance decisions. For instance, if the bottlenecks appear to be persistent,
it may indicate that you need to add more instances of a particular server process, such as PSAPPSRV for
example. Or the results may indicate that you need to start either a PSQCKSRV or a PSQRYSRV.
Configuring a Domain
The Configure this domain option sets the following environment variable:
TUXCONFIG=PS_HOME/appserv/<domain-name>/pstuxcfg
It also prompts users with a model configuration file to gather such parameters as port numbers,
the number of various server processes desired, encryption enabling, and so forth. PSADMIN
then invokes a PeopleSoft developed sub-program named UBBGEN, which takes the configuration
parameters and builds the file, /PS_HOME/appserv/<domain-name>/psappsrv.ubb, and executes the
tmloadcf - y psappsrv.ubb command to generate the following binary file:
PS_HOME/appserv/<domain-name>/pstuxcfg
The following topics describe all of the parameters you encounter while configuring an application
server. PeopleSoft recommends that you either read this section before you fine tune the configuration
of your application server or have it close by as you are doing so.
To configure a domain:
1. Select option 4 from the PeopleSoft Domain Administration menu.
Enter n for No, if you do not want to continue. This returns the previous menu. Enter y for Yes.
2. When prompted with Do you want to change any config values?, enter y for Yes.
If you dont need to change any of the values, enter n. By doing so you create a new configuration
file with the same values previously specified. You will want to enter n, or elect not to
modify your PSADMIN parameters, in the following situations.
20
Chapter 2
Note. You can view and edit a domains PSAPPSRV.CFG file while the domain is up and running, but
the changes you specify will not take effect until the next time you reconfigure the domain.
For the following options, you must enter your Operator ID to view and edit the files.
4) Edit PSAPPSRV.tracesql (PSAPPSRV SQL trace file)
5) Edit PSSAMSRV.tracesql (PSSAMSRV SQL trace file)
For example
Command to execute (1-7, q) [q]: 5
Enter the operator ID : PTXYZ
Note. PeopleSoft secures the SQL traces because in some instances the SQL traced
may involve sensitive information.
Edit PSAPPSRV.CFG
The PSAPPSRV.CFG file contains all of the configuration settings for an application server domain.
The PSADMIN interface provides prompts so that you can edit and modify this file within a
structured format. In many cases and perhaps due to personal preference, you may opt to edit the
PSAPPSRV.CFG file manually. When editing this configuration file manually, note that it is similar
to editing an INI file in that all of the parameters are grouped in sections.
21
Chapter 2
Edit APPSRV.LOG
Some of the items you might find in the APPSRV.LOG are a mismatch between the versions of
PeopleTools on an application server or invalid passwords being used.
Edit TUXLOG
The TUXLOG enables you to trace the Tuxedo component for troubleshooting information.
Edit PSAPPSRV.tracesql
You can specifically trace the activity of the PSAPPSRV server process by setting the PSAPPSRV.tracesql.
Edit PSSAMSRV.tracesql
You can specifically trace the activity of the PSSAMSRV server process by setting the PSSAMSRV.tracesql.
22
Chapter 2
Creating a Domain
The Create a domain option creates a subdirectory underneath /PS_HOME/appserv using the domain
name specified by the user and copies model files to that directory.
To create an application server domain:
1. Select 2 from the PeopleSoft Application Server Administration menu.
2. Enter the name of the domain that you want to create; the name must not exceed 8 characters.
3. Select a configuration template from the Configuration template list.
The configuration templates are pre-configured sets of application server processes.
Note. If you are responsible for routinely creating many domains, you may want to consider either
modifying the CFX files to reflect you environment or creating your own. You can manually
edit any CFX file in the PS_HOME\appserv directory with any text editor, such as Notepad. To
create your own CFX files, just save the CFX file to a new name after modifying the template
values. The next time PSADMIN prompts you for a configuration template to create a domain,
your custom CFX file will appear in the configuration templates list.
Deleting a Domain
The Delete a domain option shuts down the domain, if running, then deletes the domains subdirectory.
Note. Before you delete a domain, make sure that it is not running.
To delete a domain:
1. Select 3 from the PeopleSoft Application Server Administration menu.
2. From the Tuxedo domain list: select the number that corresponds to the domain that you want to delete
3. When prompted to continue, enter y and press ENTER.
23
Chapter 2
The following sections explain the options for PeopleSoft Process Scheduler within PSADMIN.
Those options that pertain to UNIX only, are marked accordingly.
24
Chapter 2
Note. When editing PSPRCS.CFG, make sure that there are no spaces between the equals sign
and the entries. Also, make sure that there are no trailing spaces.
To manually edit the psprcs.cfg:
1. Select option 6 Edit a Process Scheduler Configuration File from the PeopleSoft
Process Scheduler Administration menu.
2. Select the database associated with the file that you want to edit.
3. Enter the variables for the parameters that you need to specify.
Note. The system invokes the text editor that you have set as the %editor% environment
variable set on the particular machine, such as Notepad or KEDIT.
25
Chapter 2
Understanding NT Services
A Windows NT service is a Microsoft-standard package that automatically starts and stops a process when
you boot or shutdown the system. You can also start and stop Windows NT services manually through the
Service Control Manager (SCM), which you can access through the Control Panel. A service uses a standard
API so that it can interact with the Control Panel and log messages to the standard Event Log.
Note that for PeopleSoft the service we developed starts in an environment that is separate from any users
logged on the system (or the machine). This means that administrators no longer need to log on to a
machine, launch the Command Prompt, and enter the proper commands to start the server process. Its
also important to note that if you use the PeopleSoft Service, an administrators login session does not
need to remain open while the Process Scheduler Server or the application server runs.
If you have multiple application server domains and Process Scheduler Servers on the same
machine, you can start them all using the same Service Setup.
Note. The PeopleSoft Service supercedes the method provided in the Windows NT Resource Kit. PeopleSoft
does not support using SRVANY.EXE or AT commands to start the Process Scheduler or the application server.
26
Chapter 2
After completing this procedure, the specified application server domains or Process Scheduler
Servers start and shutdown automatically when the operating system recycles.
To set up the Windows NT Service for an Application Server or Process Scheduler Server:
1. Open the System utility within the Control Panel, and set the following variables on the Environment tab.
Variable
Value
TEMP
TUXDIR
27
Chapter 2
Note. The Log On As setting needs to reflect that which you set for your Tuxedo IPC Helper process.
PeopleSoft recommends that when you install Tuxedo, you set these services to System Account. This
affects only the application server because PeopleSoft Process Scheduler is not integrated with Tuxedo.
When youve finished making the appropriate selections, click OK to dismiss the Service dialog box.
10. On the Services dialog box, make sure the PeopleSoft service is selected, and click Start.
Your application/Process Scheduler servers are now running and will start automatically
whenever you boot the server.
28
Chapter 2
PSNTSRV.CFG file
29
30
Chapter 2
CHAPTER 3
Startup
The Startup section is where you set your database signon values.
DBName
PeopleSoft database name, such as FSDMO80 or HRDMO80. This parameter is case-sensitive.
DBType
Enter the PeopleSoft database type, such as DB2ODBC, DB2UNIX, INFORMIX, MICROSFT, ORACLE,
or SYBASE. If you enter an invalid database type, PSADMIN prompts you with a valid list.
UserID
User ID refers to the PeopleSoft User ID that is authorized to start the application server. You use Maintain
Security to add this property to a permission list, which is applied to the user profile by way of a role. The
Can Start Application Server permission must be set in the permission list. For the application server to
boot, the appropriate user ID with the correct authorizations must be assigned to this parameter. This is
the ID that the application server passes to the database for authentication and connection. The user ID
entered here is not related to the actual user (administrator) that executes the boot command.
The authorization to start an application server does not (directly or indirectly) grant any authorizations
or privileges beyond the ability to start the application server. Each user who attempts to signon enters a
unique user ID and password, which the application server uses to authenticate each user.
31
Chapter 3
UserPswd
Enter the password used by the specified user ID that will gain access to the database. The value
you enter must be specified in UPPERCASE. The reason for requiring that user ID and password
are specified in UPPERCASE is to simplify administration of the system.
Connect ID
Required for all database platforms. This is a database level ID that is used by PeopleSoft to
do the initial connection to the database. This username must have authority to select from
PSACCESPRFL, PSLOCK, PSOPRDEFN, and PSSTATUS.
Connect Password
The Connect IDs password. For instance, this would be the UNIX users password
(either uppercase or lowercase).
ServerName
Required for Sybase and Informix. This is the name of the server in which the PeopleSoft
database is installed. This value is case-sensitive.
Database Options
The Database Options section enables you to specify certain environment variables that may improve
the performance of your system. These options do not apply to every database.
SybasePackeSize
This enables you to specify a TCP Packet Size. The minimum value is 512 and the maximum
value is 65538. The default packet size is 512. If you make any changes to the packet size,
make sure that you make the corresponding changes to the Sybase server. See your Sybase
documentation for more information about packet sizes.
UseLocalOracleDB
This enables a batch program to initiate a local connection to a PeopleSoft database running
on the same machine. PeopleSoft recommends that this be used for all Process Scheduler (batch)
and application server configurations that are local (on the same server) to the PeopleSoft Oracle
instance. Our internal testing reveals that this type of connection enables batch processes to complete
significantly quicker. To enable this option, enter 1, and to disable it enter 0.
EnableDBMonitoring
Not supported on Informix and DB2 UDB (UNIX/NT). Required for Database Level Auditing. How it works
varies slightly depending on the platform. This option enables you to view more information regarding
the clients connected to a database server through the application server. For instance, with this enabled,
you can view the client machine name or user ID associated with a particular connection. Without this
option enabled, all connections appear somewhat anonymously, as in PSFT or APPSERV.
To enable this option, enter 1, and to disable it enter 0. platforms.
32
Chapter 3
Security
The Security section enables you to set an additional layer to the signon process.
Workstation Listener
The Workstation Listener is the component to which Windows workstations send Tuxedo messages.
Address
%PS_MACH% resolves automatically to the machine name that PSADMIN obtains by using a system API
call. You can also specify the machines IP Address (dotted notation) or its resolvable name (DNS Name).
PeopleSoft suggests that you do not change this value except in the following rare cases. If you are configuring
files to run an application server on another machineyou plan to copy PSAPPSRV.CFG and PSAPPSRV.UBB
to a domain on another machineyou must overlay %PS_MACH% with the other machines name.
Port
Enter the 4-digit port number to assign to the WSL. Port numbers are arbitrary numbers between 1000
and 64 K and must not already be in use by another service. The default value is 7000.
Encryption
Enables encryption or scrambling of data messages between client workstations and the
application server. Note the following values:
0, no encryption
40, 40-bit encryption
128, 128-bit encryption
33
Chapter 3
Min Handlers
Number of workstation handlers (WSH) started at boot time. The default for small and large
application server configuration templates are 1 and 10, respectively.
Max Handlers
Maximum number of WSHs that can be started for a domain. If Min Handlers = Max Handlers,
Tuxedo does not automatically spawn incremental WSHs.
Init Timeout
This value, when multiplied by SCANUNIT (a UBB parameter value, defined in the PSAPPSRV.UBB
file) specifies the amount of time, in seconds, Tuxedo will allow for a client connection request
to bind to a WSH before terminating the connection attempt.
Tuxedo Compression
Specifies the minimum length of a data message for which the application server initiates data compression.
While compression results in favorable performance gains for transactions over a WAN, testing reveals that
compression can degrade performance slightly over a LAN due to the compression/decompression overhead.
PeopleSoft recommends using the default threshold of 5000, which sets a balance between WAN
and LAN environments. This means that only network request and response messages over 5000
bytes will be compressed, and those 5000 and under will be uncompressed. Customers supporting
both WAN and LAN users may configure a hybrid environment by configuring two application
servers: one to support WAN users (with compression set to 100) and another to support LAN users
(with compression set to 100000, effectively turning compression off).
JOLT Listener
You must set values for this section to enable PIA connections. The Jolt listener enables
Tuxedo to exchange messages with the web server.
Address
See the equivalent parameter for Workstation Listener.
34
Chapter 3
Port
Enter the port number used for the JSL (Jolt Server Listener). This value can be any port number not
already in use by another service on the machine that runs the application server domain. Note that the port
number is not used unless you answer Yes to the prompt that asks whether you want to start Jolt.
Encryption
See the equivalent parameter for Workstation Listener.
Min Handlers
Number of Jolt Server Handlers (JSH) started at boot time. Each JSH multiplexes up to 50 connections.
Max Handlers
Specifies the maximum number of JSHs.
Note. JSH Handlers spawn using successive port numbers starting at the port number set for the Jolt Server
Listener in the PSAPPSRV.CFG file. Make sure that the additional ports are free before configuring spawning.
Init Timeout
See the equivalent parameter for the Workstation Listener.
35
Chapter 3
For compression, the configuration files contain a default compression threshold. This default
value should give the best results for most situations. However, your application server
administrator can adjust this value to suit your implementation.
The compression threshold indicates to the server how large a packet must be to require
compressing. In other words, the value you set is the minimum number of bytes a single
packet must be before the server will compress it.
Many of the XML messages being sent around your system are greater than 100,000 bytes. These
messages contain HTML in compressed states so its generally not required that these messages be
compressed. Because of this, the PeopleSoft default is set to 1,000,000 bytes.
Be careful when adjusting compression settings. If you set the threshold too high, then no packets
will be large enough to be compressed. If you set the threshold too low, you may greatly reduce
network traffic, but be aware that the server will have an increased workload comprised of compressing
numerous packets. Typically, PeopleSoft recommends decreasing the threshold according to the
bandwidth of your workstation hardware as described in the following paragraphs.
If you are handling only LAN connections, you may want to disable compression by setting the threshold
to 99999999. With the threshold set at such a value, only packets larger than 99,999,999 bytes will
get compressed. Of course, such a large value effectively disables compression so that no packets get
compressed. This means no extra work for the server compressing packets.
Alternatively, if you have mostly low bandwidth, as in 56Kb modem connections over a WAN,
then you would most likely want to compress the packets as much as possible. When decreasing
the compression threshold, keep in mind that the law of diminishing returns applies. Setting
the threshold much below 1000 puts an increasing load on the server, and this can nullify any
performance increases you may have gained from reduced network traffic.
Additional Prompt
After you have finished all of the configuration sections PSADMIN prompts you to have JOLT configured.
If you have made changes to the JOLT Listener section, and you want JOLT configured to deploy applications
to a browser, enter y for yes. If you are using PIA, you must have Jolt configured.
36
Chapter 3
Listener Address
Defaults to %PS_MACH%. Specifies the machine on which the application server is running.
See the equivalent parameter in the Workstation Listener section.
Listener Port
This option is for advanced configurations requiring Jolt Internet Relay (JRLY). The Listener Port
listens for JRLY requests and must match the JRLY OUT port setting in the JRLY configuration
file of the sending machine. The port number, as in 9100, will not be used unless you answer
y to the prompt asking if you want JRAD configured.
Domain Settings
This section enables you to specify general settings for the entire domainnot just a specific component of it.
Domain ID
Enter the name of your application server domain. It does not need to match the name you
specified when you created a domain. This name is important only in that the Tuxedo Web
Monitor uses it to identify application server domains on each machine. It should not exceed 8
characters. PeopleSoft suggests using the database name in lowercase.
Add to PATH
The directory that contains your database connectivity software, as in /apps/db/oracle/bin, must be
specified in the PATH. If the database connectivity directory is not already specified in the PATH, you
can set it by specifying this parameter. The value will be added to the PATH.
On Windows NT, if you dont enter a value, it defaults to the current PATH.
On UNIX, if you dont enter a value, it defaults to the current directorynot the current PATH. To
have it set by default to the current PATH, enter a . (a period without quotes).
Spawn Threshold
Parameters supplied to BEA TUXEDO for control of process spawning using the p command line
option for all server processes. The default settings rarely need to be changed.
This enables the dynamic decay of spawned server processes as the transaction volume
decreases. The value can be loosely translated to mean if in 600 seconds there is less than
or equal to one job in the queue the decay process begins.
For more information, see servopts(s) in the reference manual of the BEA TUXEDO online documentation.
Restartable
For this parameter enter either a y or an n. A y indicates that Tuxedo can restart server processes (except the
BBL process) if the server dies abnormally, as in a kill on UNIX or through Task Manager on Windows NT.
37
Chapter 3
LogFence
Sets a desired level of network tracing ranging from -100 (suppressing) to 5 (all). The default is 3.
The Trace file will be generated in the directory, <PS_HOME>\appserv\<domain>\LOGS\psappsrv.log
PeopleCode Debugger
This section enables you to enable and configure the PeopleCode debugging environment. Configuring
PeopleCode debugging is discussed in detail in another section within this book.
38
Chapter 3
Trace
This section enables you to specify the tracing options that you can enable on the application server
to track the SQL and PeopleCode of your domains. All of the trace parameters can also be set from
the PeopleSoft signon page. Just beneath the Sign In button, click the link that opens the trace flags
page. This enables you to set the trace options and then sign on to the system.
TraceSQL
Sets the logging level for SQL tracing for all clients. Traces are written to the location, <PS_HOME>/appserv
/<domain>/LOGS/<Domain User ID>_<svrname>.tracesql. See TraceSQLMask for trace options.
If you enter 0 it disables tracing; use 7 to enable a modest tracing level for debugging. For other levels of tracing,
set to a value equal to the sum of the desired options. For example, if you want to trace only SQL, TraceSQL=1;
if SQL statements and Connect statements are desired, TraceSQL should be set to 1+ 2 + 4 = 7. A setting of
TraceSQL = 7 is recommended for troubleshooting connection and other basic problems. Tracing can consume
large amounts of disk space over time so be sure to reset TraceSQL = 0 when you finish trouble shooting.
TraceSQLMask
Sets the logging level ceiling for SQL tracing for individual clients. Traces are written to the following
location: <PS_HOME>/appserv/<domain>/LOGS/<Client User ID>_<svrname>.tracesql. Clients
must specify the desired SQL tracing level using PeopleSoft Configuration Manager on the Trace
tab. To prevent clients from turning on the application server trace, and consuming resources, the
application server uses TraceSQLMask as an administrative control facility.
If a client transmits a request to trace SQL, the application server compares the value transmitted to
TraceSQLMask. If the client value is less than or equal to TraceSQLMask, the application server enables the
trace. However, if the client value is greater, application server will enable the trace up to the TraceSQLMask
value. Trace files are written on the application server; no trace shows up on the client workstation.
Trace values are set in the application server configuration file PSAPPSRV.CFG file. Output files
are written to directory $PS_HOME/appserver/winx86/<domain>/logs.
TracePC
Sets a desired level for PeopleCode tracing for activity generated by all clients on a domain. Eligible values
are defined in the configuration file. TracePC values are displayed in PeopleSoft Configuration Manager on
the Tracetab. You can find the results in the location, <PS_HOME>/appserv/<domain>/LOGS/<domain>.log.
TracePCMask
This parameter controls which of the PeopleCode Trace options requested by client machines
will be written to the trace file. The results of this trace are written to <PS_HOME>/appserv
/<domain>/LOGS/<ClientMachine>.<domain>.log
39
Chapter 3
Using the keylist generation tracing in addition to the related display tracing can help you track
down why the related displays have the wrong value. It shows where the keys are coming
from. The following is a sample of keylist generation tracing:
Starting Keylist generation
Keylist generation - FIELDVALUE is a key
FIELDVALUE is low key
Low key value was supplied =
Key FIELDVALUE =
Keylist generation - FIELDNAME is a key
Keylist generation - Finding value for USRXLATTABLE_VW.FIELDNAME
Not Found in key buffer
Seaching for field FIELDNAME in component buffers
Scanning level 1
Scanning record DERIVED_USROPTN for field FIELDNAME
Field FIELDNAME found in record DERIVED_USROPTN
Found in component buffers, value = PT_TIME_FORMAT
Key FIELDNAME = PT_TIME_FORMAT
Keylist generation - USEROPTN is a key
Keylist generation - Finding value for USRXLATTABLE_VW.USEROPTN
Not Found in key buffer
Seaching for field USEROPTN in component buffers
Scanning level 1
Scanning record DERIVED_USROPTN for field USEROPTN
Scanning record PSUSROPTLIST_VW for field USEROPTN
Field USEROPTN found in record PSUSROPTLIST_VW
Found in component buffers, value = TFRMT
Key USEROPTN = TFRMT
Keylist Generation complete
FIELDNAME = PT_TIME_FORMAT
FIELDVALUE =
USEROPTN = TFRMT
Here you can see how the system builds the keylist. First searching in the current record (key
buffer), then searching the buffers in the current level, and then up a level if still not found, and
so on. It also indicates exactly what record the key value is being taken from. This is useful on
complex components where there are often several instances of a particular field, and a common
problem is the value is derived from an unexpected location.
Combining the keylist tracing and the related display tracing provides a good view
of the system behavior. For example,
Starting Related Display processing
40
Chapter 3
Each related display goes through the keylist generation process, and you can see exactly what key values
are used to populated the related displays and where those key values came from.
The work record flag is a performance feature. If every field in a level 0 record has a value from the keylist
and is display-only then it will be marked as a work record because the values cant be changed. After it
is marked as a work record that affects how the record behaves. For example, PeopleCode for fields in
the record but not in the component wont run, data wont be saved, and so on. By enabling this tracing
option, you can see which records are flagged as work records. The output looks like this:
Work flag cleared for record PSCLASSDEFN_SRC
Work flag cleared for record PSCLASSDEFN_SRC
Work flag cleared for record PSCLASSDEFN
Work flag cleared for record PSPRCSPRFL
Work flag cleared for record SCRTY_QUERY
Work flag set for record PSCLASSDEFN
Work flag set for record PSPRCSPRFL
Work flag set for record SCRTY_QUERY
Since the flag is turned on and off at various points, the last setting (set or cleared) is the most important. In the
previous trace PSCLASSDEFN is marked as a work record, it was cleared and then set again.
TraceAE
To trace your PeopleSoft Application Engine programs, you can activate the specific
Application Engine traces using this parameter.
41
Chapter 3
To disable this option, enter n, at the prompt. If you do not enable this option, crash
information appears in the appserv.log by default.
Cache Settings
The Cache Settings section enables you to specify how you want to handle caching at your site.
Enabling caching on the application server improves performance.
EnableServerCaching
With EnableServerCaching, you specify what objects the system stores in cache on the application
server. To enable application server disk caching the value must be set to 1 or 2.
If you enter 1 the system caches only the most used classes of objects, and if you enter 2, the system caches all
object types regardless of the frequency of use. Which option you select depends on internal testing at your site.
To disable application server caching, the value must be set to 0. In most cases there is no reason to
disable server caching. Doing so significantly degrades performance, as it requires the application
server to retrieve an object from the database each time the system needs it.
ServerCacheMode
If you have server caching enabled on the application server, which is usually the case, there are two
modes of caching from which to choose: shared and non-shared cache files.
If you use the non-shared cache mode, each PSAPPSRV server process that starts within a domain maintains
its own separate cache file. In this mode, there is one cache file per PSAPPSRV server process.
To set one cache directory/file per server process, enter 0 at the Set ServerCacheMode prompt. By
default, non-shared cache files is enabled. The following path shows where you find cache files with
this cache option enabled, %ps_home%\appserv\<domainName>\cache\n\n+1
N refers to the number of PSAPPSRV server processes that are configured to start within the
domain. For example, if you have two PSAPPSRV processes, the system creates two cache
directories, namely \1 and \2, beneath the cache directory.
To set shared caching for the domain, enter 1 at the Set ServerCacheMode prompt. With this option enabled,
the system stores the cache information in the directory, %ps_home%\appserv\<domainName>\cache\share.
42
Chapter 3
The system assumes that a preloaded cache exists in the share directory. The preloaded cache contains
most instances of the managed object types that are cached to file. When you boot the application server,
if shared cache is enabled but no cache files exist, the system reverts to unshared caching.
Note. You must pre-load your shared cache before you enable shared caching on the application server.
PeopleSoft Application Engine processes are independent from application server domains,
directories, and configuration files. Therefore, Application Engine processes do not share
cache with application server domain processes.
Remote Call
You have one option to set for Remote Call through the PSADMIN: RCCBL Redirect.
Enter 0 to disable redirection and 1 to enable redirection. Redirection causes the server process
to retain intermediate work files used to pass parameter values between the server process and a
RemoteCall/COBOL program for debugging purposes. Redirect should always be except for debugging.
Work files are written to the /LOGS directory with .in and .out extensions.
PSAPPSRV
The PSAPPSRV server process performs the functional requests, such as building and loading
panel groups. It also provides the in-memory-caching feature for PeopleTools objects on the
application server. Each server process maintains its own cache.
Min Instances
Specifies how many servers are started at boot. Translates to the PSAPPSRV servers
-m (min) parameter in the UBB file.
Max Instances
Specifies the maximum number of servers that can be started. Translates to the PSAPPSRV
servers -M (Max) parameter in the UBB file.
Service Timeout
Specifies the number of seconds a PSAPPSRV waits for a service request, such as MgrGetObj or PprLoad
to complete, before timing out. Service Timeouts are recorded in the TUXLOG and APPSRV.LOG. In the
event of a timeout, PSSAPSRV terminates itself and Tuxedo automatically restarts this process.
43
Chapter 3
Recycle Count
Specifies the number of service requests each server has executed before being terminated (intentionally)
by Tuxedo and then immediately restarted. Servers must be intermittently recycled to clear buffer
areas. The time required to recycle a server is negligibleoccurring in milliseconds. Recycle
Count does not translate into a native Tuxedo parameter in the PSAPPSRV.UBB file. Instead, the
value is stored in memory and is managed by a PeopleSoft server.
PSOPTENG
PSOPTENG relates to the server processes associated with the PeopleSoft Optimization Framework (POF).
Max Instances
Specifies the maximum number of optimization engines that will be started. Because the number of
optimization engines does not scale dynamically in Tuxedo, this is exactly the number of engines in the domain.
44
Chapter 3
Service Timeout
Specifies the number of seconds a PSAPPSRV process waits for an optimization engine to service a request.
This is meant to Stop long-running processes when the user is waiting for processing to complete. Always make
this value less than the Service Timeout of the PSAPPSRV section. If an optimization process needs more time
to complete, run the process on PeopleSoft Application Engine or as an asynchronous optimization transaction.
PSSAMSRV
The PSSAMSRV server process communicates through the Tuxedo conversational mode.
It performs transactional SQL requests (Updates).
Min Instances
Specifies how many servers are started at boot. Translates to the PSSAMSRV servers
-m (min) parameter in the UBB file.
Max Instances
Specifies the maximum number of servers that can be started. Translates to the PSSAMSRV
servers -M (Max) parameter in the UBB file.
Service Timeout
Specifies the number of seconds the server processes waits for a request before timing out.
This is meant to Stop Runaway processes like rccbl timeout.
Recycle Count
Specifies the number of service requests each server is executed before being terminated (intentionally)
by Tuxedo. Tuxedo immediately restarts the server. Servers must be intermittently recycled to
clear buffer areas. The time required to recycle a server is negligible, occurring in milliseconds.
Recycle Count does not translate into a native Tuxedo parameter in the PSAPPSRV.UBB file, rather
the value is stored in memory and is managed by a PeopleSoft server.
45
Chapter 3
PSQCKSRV
The PSQCKSRV is an optional server process designed to improve performance. Essentially, the PSQCKSRV,
or quick server, is a copy of the PSAPPSRV. It performs quick requests such as non-transactional
(read-only) SQL requests. The PSQCKSRV is designed to improve overall performance by enabling
the PSAPPSRV process to direct a portion of its workload to PSQCKSRV.
The following topics describe each of the parameters within the PSQCKSRV configuration section.
Min Instances
Specifies how many servers are started at boot. Translates to the PSQCKSRV servers
-m (min) parameter in the UBB file.
Max Instances
Specifies the maximum number of servers that can be started. Translates to the PSQCKSRV
servers -M (Max) parameter in the UBB file.
Service Timeout
Specifies the number of seconds a PSQCKSRV waits for a request before timing out. This
is meant to Stop Runaway processes, like rccbl timeout. Applies to incremental PSQCKSRV
servers dynamically started by the Max Instances parameter.
Recycle Count
Uses PSAPPSRVs specifications.
46
Chapter 3
PSQRYSRV
PSQRYSRV is designed, specifically, to handle the SQL generated by PeopleSoft Query (PSQED.EXE). With
PSQRYSRV configured, SQL intensive, complicated, user-defined queries get offloaded to a dedicated server
process thus freeing PSAPPSRV and PSQCKSRV to handle the SQL requests for which they are more suited.
PSQCKSRV is also designed to process SQLRequest services, however, if you have PSQRYSRV configured,
it processes all SQLRequests initiated specifically by PSQuery (SQLQuery:SQLRequest).
Like the PSQCKSRV server process, PSQRYSRV is an optional server process. However, if you allow users
to initiate queries from PeopleSoft Query, we recommend that you take advantage of this new server process.
Min Instances
Specifies how many servers are started at boot. Translates to the PSQRYSRV servers
-m (min) parameter in the UBB file.
Max Instances
Specifies the maximum number of servers that can be started. Translates to the PSQRYSRV
servers -M (Max) parameter in the UBB file.
Service Timeout
Specifies the number of seconds PSQRYSRV waits for a request before timing out.
This is meant to Stop Runaway processes.
Recycle Count
Specifies the number of service requests each server is executed before being terminated (intentionally)
by Tuxedo and then immediately restarted. Servers must be intermittently recycled to clear buffer areas.
The time required to recycle a server is negligibleoccurring in milliseconds.
If the recycle count is set to zero, PSQRYSRV is never recycled.
47
Chapter 3
Use dirty-read
This parameter controls whether a process can read uncommitted data from a table. It is usually
acceptable to use this parameter for general reporting or queries.
A value of 0 disables dirty reads, a value of 1 enables PSQRYSRV to read uncommitted data.
Note. Dirty reads are not recommended if you are reading data and doing subsequent processing based on the
disposition of the data at the time it is read. Between the time the data is read by a subsequent process and when
the unit of work is completed by the first process, any activity affecting the table data at the time a subsequent
process read could be rolled back, invalidating the accuracy of the data that a subsequent process read.
48
Chapter 3
SMTP Settings
You can send electronic mail requestsissued with Workflow or PeopleCodeto the application
server, and the application server, in turn, passes the requests to the specified mail server
(SMTPServer). By having the application server submit the email request you avoid having to install
mail connectivity software on each client just as you avoid having to install database connectivity
software on each client in a three-tier connection. To specify the appropriate SMTPServer and port
to receive the email requests you must edit the SMTP Settings section.
When set in the psappsrv.cfg file, these three SMTP settings are not dynamic: SMTPGuaranteed,
SMTPTrace, SMTPSendTime. They require domain reboot to be effective.
The following topics describe each of the parameters within the SMTP configuration section.
SMTPServer
Enter the host name and IP Address of the mail server machine.
SMTPPort
Enter the port number on the mail server machine.
SMTPServer1
Enter the host name and IP Address of the failover mail server machine in case the other specified server is down.
SMTPPort1
Enter the port number on the failover mail server machine.
SMTPSender
Enter the senders Internet address. This must be a valid address such as user1@xyzcorp.com.
SMTP BlackberryReplyTo
Enter the internet address that you want to be the "Reply To" address for Blackberry Email
Responses. This must be a valid address such as user1@xyzcorp.com.
SMTPSourceMachine
Senders source machine name and internet address in the form of MACHINE.XYZCORP.COM.
This value is required in some but not all environments.
SMTPCharacterSet
Here, specify the character set used on the senders machine.
SMTPEncodingDLL
Specifies the name of a DLL used to translate the mail message from the senders character set, as in latin1,
sjis, big5, gb, ks-c-5601-1987, ks-c-5601-1992, to a desired 7-bit safe character set for transmission.
49
Chapter 3
SMTPGuaranteed
Set this option to 1 if you want TriggerBusinessEvent email PeopleCode to be delivered
through the messaging system. With this option on, the system periodically retries email
sent with TriggerBusinessEvent until successful.
By enabling this feature you implement a mechanism to ensure that emails get routed to the
appropriate place just in case SMTP mail fails for some reason, such as network timeouts,
down mail servers, invalid parameters, and so on.
SMTPTrace
Enables you to turn off the tracing of all email details to the log file when LogFence is set to 5. With this option,
you can reduce the log file size for high-volume email users. To enable this option enter 1; to disable enter d
SMTPSendTime
This parameter, if enabled, controls whether the message contains a "send time" populated
by the application server. If disabled, the "send time" is blank and is populated by the
receiving gateway (depending on the gateway).
To enable this option enter 1; to disable enter 0.
Interface Driver
You set the following parameter for configuring your Interface Driver.
SCP_LOCALE
The SCP LOCALE parameter applies to the interface driver for business interlinks. It defines the
"RPS_LOCALE" string which the driver sends to the Supply Chain Planning (SCP) server.
50
Chapter 3
PSTOOLS
The following parameters are options that you may need to set in advanced configurations.
Add to CLASSPATH
The CLASSPATH environment variable tells the Java Virtual Machine and other Java applications
where to find the Java class libraries, including any user-defined class libraries. Because PeopleTools
automatically generates CLASSPATH entries for core PeopleSoft delivered class libraries, use this field
to specify any custom or additional class libraries that PeopleSoft needs to access.
Proxy Host
If the HTTP destination, such as the Application Messaging Gateway or business interlink remote hose,
is "behind" a proxy server for security reasons, then you must identify the proxy server.
Set the Proxy Host parameter to reflect the distinguished name of the proxy server, as in proxy.peoplesoft.com.
Proxy Port
You also need to specify the port number on which the proxy serer is "listening" for transmissions.
For instance, set Proxy Port to 80, a typical default port number.
51
Chapter 3
DbFlags
Using this parameter you can disable the %UpdateStats meta-SQL construct. To disable
%UpdateStats enter 1. To enable %UpdateStats enter 0.
Integration Broker
The following parameter applies to the Integration Broker technology.
52
Chapter 3
53
54
Chapter 3
CHAPTER 4
Server Components
On the server that you have designated to be your web server, the following components
are required for the PeopleSoft Internet Architecture:
Web server software. This is the major piece of software that manages the web server. WebSphere 4.03
and WebLogic 6.1 are the servers that PeopleSoft currently supports. Consult PeopleSoft Platform
Database on Customer Connection for minor version and service pack information.
Web Applications. PeopleSoft provides two web applications, one for PeopleSoft Portal
and a second for PeopleSoft Integration Broker.
Servlet Engine. Because PeopleSoft servlets run on the web server, you need a servlet engine on the
web server. A servlet engine is the environment in which servlets run. The servlet engine requires Java
executables to run. Both WebLogic and WebSphere come with a built-in servlet engine.
Java executables. Java is a platform-independent programming language widely used for web-based
programs. With Java you develop applets and servlets. Applets are small programs embedded in HTML pages
that get downloaded to the browser and invoked locally on the client. Servlets are Java programs that run on
55
Chapter 4
the web server, not the client. PeopleSoft Internet Architecture uses only servlets. A common set of Java
executables shared between the PeopleSoft supported web servers is the Java Runtime Environment (JRE).
PeopleSoft Servlets
PeopleSoft servlets are split across the two PeopleSoft web applications. The Portal
web applications contains the following servlets:
PeopleSoft Portal servlet (psp)
PeopleSoft content Servlet (psc)
PeopleSoft Report Repository servlets
PeopleSoft SyncServer.
The PeopleSoft Integration Broker web application contains the following servlets:
PeopleSoftListeningConnector
HttpListeningConnector
PS81ListeningConnector
Depending on your implementation, you may only choose to enable/disable a subset of these servlets/web
applications. If you find that you want to implement a technology that requires a servlet, such as Application
Messaging, that you did not install initially, you can always install any of the servlets as needed.
The PeopleSoft servlets run inside the servlet engine environment.
Note. PeopleSoft servlets do not accept HTTP PUT requests from clients. They only accept HTTP GET
or POST data from clients. If the PIA servlet is sent a PUT request, a 405 error page displays.
See http://www.w3.org/Protocols/rfc2616/rfc2616.html
The Portal servlet handles all of the requests and formatting for the users
accessing PeopleSoft through the PeopleSoft Portal. It also manages all aspects
of the PeopleSoft Portal such as search, content management, and homepage
personalization. In the URL this servlet appears as "psp" for PeopleSoft Portal.
This servlet enables an end user to connect to a PeopleSoft application.
The servlet relays requests to the application server, and it also
formats the HTML for deployment in a browser. This servlet handles
the building of the components on the application server and the
presentation of the components in the browser.
For the initial connection the system provides a login HTML file that
resides on the server. After a successful login, the application server
generates the subsequent HTML pages to complete the transaction.
The servlet relays the pages to the browser.
The SyncServer servlet is used in mobile device synchronization.
56
Chapter 4
57
Chapter 4
XYZ:9010
Site 2
XYZ:9020
Note. In the previous example the term PSFT servlet does not represent a particular servlet. It
represents any of the PeopleSoft servlets. There is no "PSFT" servlet.
If the application server domains reside on separate application server machines, then make sure that both the
machine name value and Jolt port value are pointing to the appropriate targets. For example,
Servlet 1
XYZ:9010
Servlet 2
ABC:9020
You set the machine name and port values during the install of the servlets, and, if necessary, you can
modify the web server configuration files discussed in the following section.
Windows NT
UNIX
PeopleSoft Files
58
Product home
c:\bea\wlserver6.1\
/bea/wlserver6.1
c:\bea\wlserver6.1\config\peoplesoft
\applications\PORTAL\WEB-INF
\classes
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/WEB-INF
/classes
Chapter 4
WebLogic 6.1
Windows NT
UNIX
c:\bea\wlserver6.1\config\peoplesoft
\applications\PORTAL\WEB-INF
\lib
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/WEB-INF
/lib
c:\bea\wlserver6.1\config\peoplesoft
\applications\PORTAL\ps
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/ps
PORTAL psftdocs
c:\bea\wlserver6.1\config\peoplesoft
\applications\PORTAL\WEB-INF
\psftdocs
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/WEB-INF
/psftdocs
configuration.properties
C:\bea\wlserver6.1\config
\peoplesoft\applications\PORTAL
\WEB-INF\psftdocs\<site>\
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/WEB-INF
/psftdocs/<site>
Servlet registration/listings
c:\bea\wlserver6.1\config\peoplesoft
\applications\PORTAL\WEB-INF
\web.xml
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/WEB-INF
/web.xml
c:\bea\wlserver6.1\config\peoplesoft
\applications\PORTAL\WEB-INF
\weblogic.xml
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/WEB-INF
/weblogic.xml
c:\bea\wlserver6.1\config\peoplesoft
\applications\PSIGW\WEB-INF
\web.xml
/bea/wlserver6.1/config/peoplesoft
/applications/PSIGW/WEB-INF
/web.xml
c:\bea\wlserver6.1\config\peoplesoft
\applications\PSIGW\WEB-INF
\weblogic.xml
/bea/wlserver6.1/config
/peoplesoft/applications/
PSIGW/WEB-INF/weblogic.xml
c:\bea\wlserver6.1\config\peoplesoft
\applications\PSIGW\WEB-INF
\classes
/bea/wlserver6.1/config
/peoplesoft/applications/
PSIGW/WEB-INF/classes
c:\bea\wlserver6.1\config\peoplesoft
\applications\PSIGW\WEB-INF\lib
/bea/wlserver6.1/config/peoplesoft
/applications/ PSIGW/WEB-INF/lib
c:\bea\wlserver6.1\config\peoplesoft
\lib
/bea/wlserver6.1/config/peoplesoft
/lib
pstools.properties
C:\bea\wlserver6.1\config
\peoplesoft\applications\PORTAL
\WEB-INF\psftdocs\<site>\
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/WEB-INF
/psftdocs/<site>
59
WebLogic 6.1
Chapter 4
Windows NT
UNIX
errors.properties
C:\bea\wlserver6.1\config
\peoplesoft\applications\PORTAL
\WEB-INF\psftdocs\<site>\
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/WEB-INF
/psftdocs/<site>
text.properties
C:\bea\wlserver6.1\config
\peoplesoft\applications\PORTAL
\WEB-INF\psftdocs\<site>\
/bea/wlserver6.1/config/peoplesoft
/applications/PORTAL/WEB-INF
/psftdocs/<site>
c:\bea\wlserver6.1\config\peoplesoft
\config.xml
/bea/wlserver6.1/config/peoplesoft
/config.xml
WebLogic Files
Web server configuration files
c:\bea\wlserver6.1\config\peoplesoft
\applications\PORTAL\WEB-INF
\weblogic.xml
JVM settings, CLASSPATH
c:\bea\wlserver6.1\config\peoplesoft
\startPIA.cmd
/bea/wlserver6.1/config/peoplesoft
/setEnv.sh
JRE
c:\bea\jdk131
/bea/jdk131
c:\bea\wlserver6.1\lib
\weblogic.policy
/bea/wlserver6.1/lib
/weblogic.policy
c:\bea\wlserver6.1\config\peoplesoft
\logs\PIA_access.log
/bea/wlserver6.1/config/peoplesoft
/logs/PIA_access.log
c:\bea\wlserver6.1\config\peoplesoft
\logs\PIA_weblogic.log
/bea/wlserver6.1/config/peoplesoft
/logs/PIA_weblogic.log
c:\bea\wlserver6.1\config\peoplesoft
\logs\peoplesoft-domain.log
/bea/wlserver6.1/config/peoplesoft
/logs/peoplesoft-domain.log
Windows NT
UNIX
PeopleSoft Files
Product home
60
c:\Apps\WebSphere\AppServer
/products/WebSphere/AppServer
Chapter 4
Windows NT
UNIX
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\WEB-INF\classes
/products/WebSphere/AppServer
/installedApps/
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\WEB-INF\lib
/products/WebSphere/AppServer
/installedApps/peoplesoft/PORTAL
/WEB-INF/classes
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\ps
/products/WebSphere/AppServer
/installedApps/peoplesoft/PORTAL
/ps
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\ps
/products/WebSphere/AppServer
/installedApps/peoplesoft/PORTAL
/ps
PIAs psftdocs
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\WEB-INF\lib\psftdocs
/products/WebSphere/AppServer
/installedApps/peoplesoft/PORTAL
/WEB-INF/psftdocs
configuration.properties
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\WEB-INF\lib\psftdocs
/products/WebSphere/AppServer
/installedApps/peoplesoft
/PORTAL/WEB-INF/psftdocs
/configuration.properties
pstools.properties
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\WEB-INF\lib\psftdocs
/products/WebSphere/AppServer
/installedApps/peoplesoft
/PORTAL/WEB-INF/psftdocs
/pstools.properties
error.properties
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\WEB-INF\lib\psftdocs
/products/WebSphere/AppServer
/installedApps/peoplesoft/PORTAL
/WEB-INF/psftdocs/error.properties
text.propertes
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\WEB-INF\lib\psftdocs
/products/WebSphere/AppServer
/installedApps/peoplesoft/PORTAL
/WEB-INF/psftdocs/text.propertes
c:\Apps\WebSphere\AppServer
\config\server-cfg.xml
/products/WebSphere/AppServer
/config/server-cfg.xml
c:\Apps\WebSphere\AppServer
\config\plugin-cfg.xml
/products/WebSphere/AppServer
/config/plugin-cfg.xml
WebSphere Files
Web server configuration files
61
Chapter 4
Windows NT
UNIX
c:\Apps\WebSphere\AppServer
\installedApps\applications\Portal
\WEB-INF\web.xml
/products/WebSphere/AppServer
/installedApps/peoplesoft/PORTAL
/WEB-INF/web.xml
c:\Apps\WebSphere\AppServer
\config\server-cfg.xml
/products/WebSphere/AppServer
/config/server-cfg.xml
JRE
c:\Apps\WebSphere\AppServer\java
/products/WebSphere/AppServer
/java
c:\Apps\WebSphere\AppServer\logs
\default_server_stdout.txt
/products/WebSphere/AppServer
/logs/default_server_stdout.txt
c:\Apps\WebSphere\AppServer\logs
\default_server_stderr.txt
/products/WebSphere/AppServer
/logs/default_server_stderr.txt
c:\Apps\WebSphere\AppServer\logs
\default_server_stdout.txt
/products/WebSphere/AppServer
/logs/default_server_stdout.txt
c:\Apps\WebSphere\AppServer\logs
\default_server_stderr.txt
/products/WebSphere/AppServer
/logs/default_server_stderr.txt
62
Chapter 4
configuration.properties
The following table contains the PIA configuration variables that are located in configuration.properties files.
You will also find comments in the configuration.properties file for easy viewing while editing the file.
Note. Variables marked with an asterisk (*) in the configuration.properties file must be reviewed before
attempting to use PeopleSoft 8. These variables enable the basic connection to occur between PIA and Tuxedo.
63
Chapter 4
Variable
General
Settings*psserver=//machinename:port
Description
The psserver parameter must point to your application
server machine name or IP Address, including the Jolt
port. PeopleSoft recommends using the server machine
name. The PeopleTools version on the application server
must match the version of the PeopleTools files on the
web server. The syntax of the value is
<domain_name (or IP)>:Jolt port
UNIX servers require a domain name. For example, on
NT it is psserver=SERVER010499:9000
On UNIX it is psserver=server010400.peoplesoft.com:
9000
To enable Jolt failover and load balancing,
include multiple application server domains
delimited by commas. For example, on NT it is
psserver=SERVER1:9000,SERVER2:9010
On UNIX it is SERVER1.peoplesoft.com:
9000,SERVER2.peoplesoft.com:9010
You must be able to ping successfully the application
server from the web server, for the value entered to be
valid. To specify a host name , it may be required to
specify the fully qualified domain name. If uncertain,
use ping <hostname>, ping <hostname.domain.com>, or
ping <IP_address> to determine which is appropriate.
RPS=
64
Chapter 4
Variable
*helpUrl=
Description
This is where you add the location of your HTML
PeopleBooks. When the user clicks the Help button, they
will view the PeopleSoft documentation at the location
you specify. To remove the help link, do not set this value
(users will not see Help link in the page).
The value should be constructed as follows:
http://helpwebserver:port/booktype
/f1search.htm?%CONTEXT_ID%&LANG_CD%
For example, http://server1:8080/crm
/f1search.htm?ContextID=%CONTEXT_ID%&LANG_
CD%
Note. This setting applies only to browser access. It
does not apply to users connecting in the Windows
environment using PeopleSoft Application Designer and
other development tools.
signontrace_page=signintrace.html
enableDebugDumpFile=
testing=false
ConnectionInformation=
debug_showlayout=false
65
Chapter 4
Variable
Description
debug_inlinestylesheet=false
debug_inlinejavascript=false
debug_overlap=false
debug_savefile=false
Cache Settings
EnableBrowserCache=
66
Chapter 4
Variable
Description
imagedirphys=/cache imagedirwebv=/cache
cssdirphys=/cache cssdirwebv=/cache
jsdirphys=/cache jsdirweb=/cache
chartdirphys=/cache/chart chartdirweb=/cache/chart
enableNoVersion=false
relativeURL
Sign in Settings
physicalpath=
WebLogic: C:/bea/wlserver6.0/config/mydomain
/applications/ps84/ps
signon_page=signon.html, signon.wml
signonError_page=signin.html, signin.wml
logout_page=signin.html, signin.wml
Navigation Settings
start_page=start.html, start.wml
67
Chapter 4
Variable
maxSavedState=5
Description
Number of states supported by the browser Back button.
Each trip to the server equates to one state.
ICElementNum and ICStateNum work together for the
data structure on the web server to maintain state for the
user: State[ICElementNum][ICStateNum]
ICElementNum is system controlled; ICStateNum is
user-configurable by this variable.
Example: States for a user could look like: State[0][0]
State[0][1] State[0][2] State[0][3] State[0][4]
By the time a user goes to another page, you might end
up with: State[0][7] . In this case, States[0][0,1,2] are
no longer in memory. Trying to use the browser Back
button to get there, gives the user a Page Expired
message when they arrive at the web page that has the
ICElementNum=2.
Note: If you have applications that make numerous
server trips, you may want to increase the maxSavedState
value. Keep in mind that this does increase the virtual
machines memory requirements, so be prepared to
allocate more memory accordingly.
AutoSelectPrompts=1
expirePage_ContentName= PT_EXPIRE,
PT_EXPIRE_WML
exception_page=expire.html, expire.wml
enableNewWindow
68
Chapter 4
Variable
Description
startPageScript
Security Settings
sessionTimeout=1200
expire_page=expire.html, expire.wml
cookiesrequired_page=
passwordexpired_page=
passwordwarning_page=
userprofile_page
69
Chapter 4
Variable
chgPwdOnExpire=
Description
Reflects the change password page content ID. The
system uses the value in passwordexpired.html to take
user to the password change page when a password is
expired.
For example,
MAINTAIN_SECURITY.CHANGE_PASSWORD.GBL
chgPwdOnWarn=
SSLRequired=false
sslrequired_page=sslrequired.html
byPassSignOn=false
defaultUSERID=
defaultPWD=
userIDCookieAge=
70
Chapter 4
Variable
XML Link Settings
defaultXMLLinkUSERID
Description
User ID that is used to connect users for XML Link
technology.
defaultXMLLinkPWD
AuditPWD=
Portal Settings
AuthTokenDomain=
71
Chapter 4
Variable
UseSecureCookieWithSSL=
Description
The valid values to assign to this parameter are "true"
or "false". You use it to control the "secure" attribute of
the single-signon cookie. If you set this to "true" and
the scheme of the current request is HTTPS (an SSL
server), the system sets the "secure" attribute of the single
signon cookie (PS_TOKEN) to "true". This prevents
the single-signon token from travelling over an insecure
network.
PeopleSoft single-signon functionality also applies at the
web server level. For example, suppose that you have
two web servers: server X and server Y. Assume that
web server X is a Secured Socket Layer (SSL) site, and
assume that web server Y is not. In these situations, many
sites want server Y to "trust" the authentication token,
PS_TOKEN, issued by server X. This requires that the
PS_TOKEN be set to be "secure."
If the PS_TOKEN is not marked as "secure," when a user
signs on through server Y the browser sends PS_TOKEN
to server Y over the unencrypted, non-SSL link. This
is typical behavior for browsers when dealing with
"non-secure" cookies. Potentially, in this situation a
hacker could "sniff" this token from the clear network
and use it to signon to the SSL-secure server X.
Another important use of this property relates
specifically to the PeopleSoft Portal. When the portal
proxies content with an HTML template, it should only
forward PS_TOKEN cookies that are marked "secure"
over SSL connections.
Note. Note. If you set UserSecureCookieWithSSL to
true, you are effectively disabling single signon to any
non-SSL servers.
If, at your site, you want users to signon to an HTTPS
server, and then want to do single signon with HTTP
servers, set this property to false, which allows single
signon between HTTPS and HTTP servers.
Note. Note. If you can tolerate the security risk, and want
single signon between secure and non-secure links, you
can set this flag to "false". However, before doing this
you need to make sure you are aware of all the security
implications, such as the security of the HTTPS server
may be compromised.
#PortalHTTPPort=
72
Chapter 4
Variable
Description
#PortalHTTPSPort=
customHeaders=
Miscellaneous Settings
enableProcessingWait=false
saveConfirmDisplayTime=
singleThreadNS=
ThreadDelay=
defaultScheme=
defaultPort=
PortalUseHttpForSameServer=
Set this property to true when you want to use the http
protocol instead of https for requests issued by the portal
for content hosted on the same server as the portal servlet.
Set this property to true when using a hardware SSL
accelerator.
Performance
isClusteringConfigured=
compressResponse=false
73
Chapter 4
Variable
Description
compressCacheFiles=
compressMimeTypes=
portalServletSessionCookieName=
PortalCacheObjects=
74
Chapter 4
Variable
PortalCacheStaleInterval=86400
Description
This property reflects the amount of time, in seconds,
before portal cache is considered stale and updated with
the latest copy from the application server. In other
words, this is the amount of time before changes to
cached objects take effect.
This setting applies to the following objects to the objects
cached by the PortalCacheObjects setting. The setting is
measured in seconds. For example, a value of 86200 is
24 hours.
CachePurgeAllHitCount=
CachePurgeStaleInterval=300
portalUseCachedProxiedJS=true
CacheTargetContent=true
75
Chapter 4
Variable
PortalCacheHomepageOnBrowser=
Description
This setting controls whether the homepage is cached on
the browser. Set to "true" to allow caching, and "false"
to disallow.
The homepage is cached on the browser by supplying
an "Expires" response header to the browser, which
indicates how long to keep the homepage in the cache.
PortalHomepageStaleInterval=1200
PortalBrowserProps=browserprops.xml
76
Chapter 4
Variable
PortalCookieRules=
Description
File containing rules that determine how the portal passes
cookies to servers in the same domain.
For example, PortalCookieRules=cookierules.xml
PortalCacheCookieRules=
Report Repository
enableReportRepository=true
CompressReportOutput=true
ReportRepositoryPath=c:/psreports
CompressReportOutputNetscape
pstools.properties
The following table contains the variables and descriptions of the items that appear in the pstools.properties file.
Variable
Description
Tuxedo Settings
tuxedo_network_disconnect_timeout=0
77
Chapter 4
Variable
Description
tuxedo_send_timeout=50
tuxedo_receive_timeout=600
Locale Settings
locale_
78
Chapter 4
If the version of Linux that you use is RedHat 6.2, ksh may not have been installed by default. To install
it, mount the RedHat 6.2 CD-ROM and issue the following command to install ksh:
cd /mnt/cdrom; rpm -Uvh pdksh-5.2.14-2.i386.rpm
If you are not running RedHat 6.2, or if you prefer a more "UNIX-like" interface, the AT&T
version of ksh is available at the following internet location:
http://www.kornshell.com
The build/install instructions for the AT&T version are available from this website. The AT&T
ksh is similar to the ksh shell used on UNIX systems.
79
80
Chapter 4
CHAPTER 5
PIA Server
The PIA server is the main server used for browser connections to the PeopleSoft applications and
PeopleTools. Generally, all Portal, Integration Gateway, and WebLogic administration activity should
be done through the PIA server. The PIA Server deploys the following web applications:
Portal. Handles all portal and Report Repository transactions.
81
Chapter 5
PSIGW. This is the Integration Gateway. It distributes messages for the messaging
and Integration Broker technology.
WebLogic Server Console. A BEA web application used to administer the server and domain.
Certificate. A BEA web application used to generate certificate requests.
Servinfo. A BEA web application used to collect and display server Information
Note. The default http/https listening ports for the PIA server are 80/433, respectively.
WebLogicAdmin Server
The WebLogicAdmin server is used for the option to configure a WebLogic Cluster,
which is a domain that contains multiple servers. WebLogicAdmin is also used to repair
the configuration for the PIA server if necessary.
PeopleSoft servlets are not deployed to the WebLogicAdmin server. If needed, the default http
listening ports for the WebLogicAdmin server are 6100.
Installation Location
URL
PORTAL
c:\bea\wlserver6.1\config\peoplesoft
\applications\PORTAL\<site>\....
http://localhost/ps/signon.html
Integration Gateway
c:\bea\wlserver6.1\config\peoplesoft
\applications\PSIGW
http://localhost/PSIGW/...
82
Chapter 5
The exclamation point (!) inside the triangle appears next to parameters that require a server restart for
changes to take effect. Click the question mark (?) to get context sensitive help for that field.
The consoles highest level of separation is at the WebLogic domain level. Domains are represented
as a globe; one of which is the "peoplesoft" domain. The default PeopleSoft server is named PIA. To
view the settings for the PIA server, open the Servers folder and select PIA.
The following screen example shows the user logged in as QEDMO from two workstation and
the Main Attribute column is the users user ID and their IP address.
Note. For detailed information about the WebLogic Server Console, refer to BEAs WebLogic documentation.
Starting WebLogic
This section discusses starting the PeopleSoft server on Windows and UNIX.
83
Chapter 5
c:\bea\wlserver6.1\config\peoplesoft\startPIA.cmd
To start WebLogic as an NT service, you may either start the service named <WebLogicDomain-ServerName>,
for example peoplesoft-PIA using the Windows NT Control Panels Services utility, or you may
start it from a command prompt by issuing the following command:
NET START peoplesoft-PIA
To start WebLogic Server, use the $WL_HOME/startWebLogic.sh script provided. This script sets some
required environment variables and then starts a Java runtime environment to run WebLogic within it. As
delivered, this script starts the Java runtime environment, and, in effect, starts WebLogic as a foreground process.
Stopping WebLogic
For both Windows and UNIX, you can stop the PeopleSoft server from the WebLogic Server Console
(http://localhost/console). Expand the peoplesoft domain, select Servers, right-click on PIA, and
select Stop this server. The server may also be stopped via the command line.
Windows NT
The PeopleSoft server can be stopped either as the NT service or the through the command file.
84
Chapter 5
UNIX
To stop the PeopleSoft server run the following script:
<bea_home>/wlserver6.1/config/peoplesoft/stopPIA.sh
85
Chapter 5
86
Chapter 5
87
Chapter 5
8. Restart IIS.
Restart the following NT services: IIS Admin Service and World Wide Web Publishing Service using
Control Panels Services utility or by issuing the following three commands at a Command prompt:
NET STOP IISADMIN /Y
NET START IISADMIN
NET START W3SVC
See Also
BEA doc for IIS-plugin, http://edocs.bea.com/wls/docs61/adminguide/isapi.html
BEA documentation for IISPROXY.INI parameters, http://edocs.bea.com/wls/docs61
/adminguide/plugin_params.html
88
Chapter 5
For example, if PIA was running on a machine called XYZ032500 and listing on
port 80, then the command would be.
89
Chapter 5
If you want to connect to your reverse proxy over HTTPS, you will need to install certificates
on your RPS server. You have the following options:
If you already have certificates installed for your PIA server on the same machine,
you can share the same certificate files.
Request new certificates.
Lastly, as a temporary solution until you obtain official certificates for your server, you
can use the demo certificates provided with WebLogic.
See Also
http://e-docs.bea.com/wls/docs61/adminguide/http_proxy_cluster.html
90
Chapter 5
Edit the obj.conf file for your iPlanet instance. Add the following lines to the top of the
obj.conf file, preceding any comments. This instructs iPlanet to load the native library as
an NSAPI module. Substitute <iPlanet> and <drive> with the actual location, including the
drive letter, of the NSAPI module you added during previous steps.
Init fn="load-modules" funcs="wl-proxy,wl-init"\
shlib=<drive>:/<iPlanet>/plugins/proxy36.dll
Init fn="wl-init"
2. If you skipped the previous section because iPlanet and WebLogic will be running on the same
machine, update your configuration file similar to the following.
Init fn="load-modules" funcs="wl_proxy,wl_init"\
shlib="<drive>:/<WebLogic_Home>/wlserver6.1/bin/proxy36.dll"
Init fn="wl_init"
2. If you skipped the previous section because iPlanet and WebLogic will be running on the same
machine, update your configuration file similar to the following.
Init fn="load-modules" funcs="wl_proxy,wl_init"\
shlib="<drive>:/<WebLogic_Home>/wlserver6.1/bin/proxy36.dll"
Init fn="wl_init"
91
Chapter 5
To proxy additional sites, add subsequent object tags referencing the other site names. Additional
sites may be proxied to the same WebLogic instance, or separate WebLogic instance by setting
WebLogicHost and WebLogicPort parametes to a different WebLogic Server.
<Object name="hr" ppath="*/hr/*">
Service fn=wl_proxy WebLogicHost=server1\
WebLogicPort=7001
</Object>
To proxy all request made to iPlanet , create a single object tag named peoplesoft
and set the ppath parameter to "*".
To proxy requests defined in a specifc Object tag to a cluster of WebLogic servers, replace the
two attributes WebLogicHost= and WebLogicPort= with WebLogicCluster=. The syntax
of the WebLogicCluster= is wlserver1:port,wlserver2:port .
For details on clustering setup, see the Red Paper, Clustering and High Availability for PeopleSoft
8.4 , posted in the Technology Library section of Customer Connection.
If you have specified an AuthTokenDomain during your PIA installation, you must set the cookieName for
your reverse proxy to that same value. To do so, add the cookieName attribute to your object tag and set its
value to CookieName as specified on your WebLogic Server in the PORTAL webappss weblogic.xml. For
example, c:\bea\wlserver6.1\config\peoplesoft\applicaitions\PORTAL\web-inf\weblogic.xml.
92
Chapter 5
To confirm an installation, with both the WebLogic server and iPlanet servers started, access
PeopleSoft using the typical URL,http://<iPlanet>/ps/signon.html. If you are able to logon to
PeopleSoft, your installation and configuration was successful.
2.
3.
Install the Apache HTTP Server Plug-In. The installation of BEAs Apache plugin depends on if
you are installing the plugin as a Dynamic Shared Object (DSO) or a Statically Linked Module. If
93
Chapter 5
you have downloaded the binary distribution of Apache, you will probably install BEAs Apache
plugin as a shared object. (If you are in doubt as to which type, install the plugin as a DSO).
Refer to BEAs Apache plugin installation doc for exact instructions based on your configuration:
http://e-docs.beasys.com/wls/docs61/adminguide/apache.html#100375.
4.
Specify the parameters that will be used by the Apache plugin by defining them in an
IfModule tag for WebLogic in your Apaches httpd.conf.
This tag should be added in the "### Section 2: Main server configuration" section of your
httpd.conf. For example to configure the Apache to proxy all requests it receives to a WebLogic
server running on a machine named crm.peoplesoft.com and listening on port 7001, you would
define the following tag: <IfModule mod_weblogic.c>
WebLogicHost crm.peoplesoft.com
WebLogicPort 7001
MatchExpression /</IfModule> Sample and template configuration files can be
found at: http://e-docs.beasys.com/wls/docs61/adminguide/apache.html#111255
To proxy requests to a cluster of WebLogic servers, replace the two attributes WebLogicHost
and WebLogicPort with WebLogicCluster.
The syntax of the WebLogicCluster is: wlserver1:port,wlserver2:port
For details on clustering setup, refer to the Red Paper Clustering and High Availability for PeopleSoft
8.4 posted in the Technology Library section of Customer Connection.
If you have specified an AuthTokenDomain during your PIA installation, you must set the cookieName
for your reverse proxy to that same value. To do so, add the cookieName attribute and set its value
to CookieName as specified on your WebLogic server in the PORTAL webappss weblogic.xml. For
example, c:\bea\wlserver6.1\config\peoplesoft\applications\PORTAL\web-inf\weblogic.xml)
See Also
http://e-docs.beasys.com/wls/docs61/adminguide/apache.html.
94
Chapter 5
When prompted for a user name and password, specify the WebLogic system ID and password. If
youve followed the default WebLogic Server install, the ID and password are system and password.
Otherwise, use the password supplied during your WebLogic server installation.
4. Expand the peoplesoft tree in the left navigation area. Select Deployments, Web Applications,
PORTAL, Edit Web Application Descriptor... .
5. Select PORTAL, Web App Descriptors, Session Config, Specify a new http session timeout in minutes.
6. Click Apply.
Until an end user logs off, the memory used on the web server to maintain their session state is not freed.
If an end user does not log-off, but just closes the browser, the memory associated with their session is
not freed until the http session timeout is reached. Setting a high session timeout value will cause more
memory to be used on the web server if end users close their browsers instead of logging off.
7. Validate and save your changes. Select PORTAL (highest level, above Web App
Descriptor), Validate, and Persist.
8. Edit configuration.properties at appropriate sites. The session timeout parameter sessionTimeout=
is stored in seconds. Set this value, calculated from minutes to seconds, to the same amount of time
specified in your WebLogic configuration as previously described. Repeat this change for each site
you have installed. All sites should have the same http session timeout value.
The default locations for your configuration.properties are:
NT, C:\bea\wlserver6.1\config\peoplesoft\applications\PORTAL\WEB-INF\psftdocs\ps
UNIX, /apps/bea/wlserver6.1/config/peoplesoft/applications/PORTAL/web-inf/psftdocs/ps
9. Restart WebLogic server for the changes to take effect.
95
Chapter 5
In the WebLogic domain for which you are changing the system password, edit setEnv.cmd(.sh)
(for example, c:\bea\wlserver6.1\config\peoplesoft\setEnv.cmd). Set the SYSTEMPASSWORD
environment variable to your new password. If you are running WebLogic as an NT service, you must
rerun installNTservicePIA.cmd to propegate the password change into the registry.
If the system password is not specified in either your setEnv or password.ini, or it is set
incorrectly, WebLogic Server will display the following prompt at startup,
<Apr 9, 2002 12:17:57 PM PDT> <Info> <Security> <Getting boot password from user
Enter password to boot WebLogic server:
Setting up SSL
For additional security for internet applications, install Secure Socket Layer (SSL) security. This
involves generating a digital certificate and submitting it to a Certificate Authority.
Generating a Certificate
The following procedure describes generating a certificate.
To generate a digital certificate signing request:
1. Point your browser to http://<webserver>/certificate to access the Server
Certificate Request Generatorservlet.
Use the same system ID and password used to sign on to the WebLogic Server Console.
2. Fill in the certificate request substituting your information where applicable and then click Generate Request.
The fields marked with an R are required. The following fields require special attention:
96
Chapter 5
Full host name. The host name entered here must match the host name that users will specify in
the URLs. If users will specify a fully qualified domain name when connecting to the server, then
you must specify the fully qualified domain name here, as in crm.peoplesoft.com.
Private Key Password. If you specify a Private Key Password you need to enable the Key Encrypted
field on the SSL tab of the Server window in the WebLogic Server Console.
Random string. An optional string used to add an external factor to the encryption algorithm.
3. View the certificate request.
The Certificate servlet displays your certificate signing request (CSR) and creates
three files in your WebLogic Server directory. On Windows this is c:\bea\wlserver6.1,
and on UNIX this is /apps/bea/wlserver6.
The system generates the following files:
<webserver>-key.der. Private key (binary format).
<webserver>-request.der. Certificate signing request (binary format).
<webserver>-request.pem. Certificate signing request (ASCII version of <webserver>-request.der).
4. Move the certificates.
For Windows, move the generated files from
c:\bea\wlserver6.1\
to
c:\bea\wlserver6.1\config\peoplesoft\
to
/apps/bea/wlserver6.1/config/peoplesoft/
97
Chapter 5
Note. If you need to FTP your certificate to UNIX, you must FTP it in ASCII mode.
5. Install the VeriSign TestCA certificate:
Download the VeriSign test CA certificate from http://digitalid.verisign.com/cgi-bin/getcacert.
For Windows NT, when prompted save the certificate to disk as
c:\bea\wlserver6.1\config\peoplesoft\verisigntestca.cer
For UNIX, FTP the CA certificate in binary format to/apps/bea/wlserver6.1/config/peoplesoft/ directory
98
Chapter 5
99
4.
Chapter 5
(Optional)To create a group, select peoplesoft on the left navigation area. Select
Security, Groups, Create a new Group.
Enter a group name, then a list of users separated by commas.
Click Apply.
5. Select peoplesoft, Deployments, Web Applications, PORTAL, Edit Web Application Descriptor,
PORTAL, Security Roles, Configure a new Security Role.
Enter a name and description for your new role.
Click Create.
6. Define new Security Role Assignments.
Select PORTAL, WebApp Ext, Security Role Assignments, Configure a new Security Role Assignment.
Select the role from the drop down list that you created in the previous step.
Enter the individual user name(s) or group name(s) to which the WebLogic users
this security assignment applies.
Click Create.
7. Define a new Security Constraint.
From WebApp Descriptor, select Security Role Constraints, Create a new Security Constraint...
Enter a name for your new security constraint.
Click Create.
8. Define a new Web Resource Collection .
From the Security Constraint item, select Web Resource Collections.
Click Create a new WebResourceCollection... Enter a name for your web resource, then a description.
Enter the URLs to which the resource will apply. (for all URLs specify "*" ).
Click Create.
9. Define a new Authorization Constraint.
Click Create a new AuthConstraint... Enter a name for your authorization constraint.
Click Create.
10. Assign Roles to the Authorization Constraint.
In the window titled Available, highlight the Roles to which this constraint applies. Click
the right arrow to mark the roles as chosen. Click Apply.
11. Define an Authentication Method.
Select Configure a new Login Config... Select the Auth Method of BASIC to prompt
the end user for a WebLogic ID/password. Click Create.
12. Save your changes.
Select Validate to verify that your changes are valid.
Click Persist to save your changes.
13. Test the configuration.
100
Chapter 5
Access your portal logon page. When prompted for a logon, use any user account that
you added. Verify that only valid users can logon.
Note. If you make changes to setEnv.cmd and you are running WebLogic as an NT service, you must
reinstall the peoplesoft-PIA NT service by running ..\peoplesoft\installNTservice.cmd again.
Note. Platform specific overrides may exist in the setEnv.sh. Review the entire script before making changes.
101
Chapter 5
Query WebLogic
You can query WebLogic two ways, at the command line and using the WebLogic console.
Perform a query at the command line, as shown (for UNIX, use setEnv.sh):
C:\bea\wlserver6.1\config\peoplesoft>setenv.cmd
C:\bea\wlserver6.1\config\peoplesoft>java weblogic.Admin VERSION -url t3:
//localhost:80
WebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716
WebLogic XML Module 6.1 SP1 09/18/2001 14:43:02 #138716
102
Chapter 5
If a jar file is placed in ./lib, WebLogic finds it and adds it to the CLASSPATH. The exact
class loading order is ./classes first, followed by an alphabetical listing of JAR files in ./lib.
The classes and JAR files reside in the following directories.
../PORTAL/
Contains static files, HTML files, and JSP files in this directory (or
subdirectories). This directory is the document root of your web application.
/WEB-INF/classes/
/WEB-INF/lib/
The Portal and Integration Gateway servlets also share a /lib directory under the domain directory
(..\config\peoplesoft\lib\..) that contains common JAR files for both web applications. Those JAR files
are added to the CLASSPATH by way of the setEnv.cmd (.sh UNIX) command.
If you need to include JAR files or class files outside of the web application directory
structure, you must manually edit the setEnv script.
103
104
Chapter 5
CHAPTER 6
Administering WebSphere
The following topics cover general WebSphere administration tasks.
Starting WebSphere
To start WebSphere, do one of the following:
Windows NT
To start WebSphere on Windows NT, on the command line enter:
c:\Apps\WebSphere\AppServer\bin\StartServer.bat
UNIX
To start WebSphere on UNIX, on the command line enter:
# cd /<opt or user>/WebSphere/AppServer/bin
# .startServer.sh
Stopping WebSphere
To stop WebSphere, do one of the following:
Windows NT
To stop WebSphere on Windows NT, on the command line enter:
c:\Apps\WebSphere\AppServer\bin\StopServer.bat
105
Chapter 6
UNIX
To stop WebSphere on UNIX, on the command line enter:
# cd /<opt or user>/WebSphere/AppServer/bin
# .stopServer.sh
Default Value/Description
9080
9433
1 MB
./DefaultWebApp_myserver/
WEB-INF/classes/
/WEB-INF/lib/
CLASSPATH
106
Chapter 6
When prompted for username, you can just click the submit button. After being authenticated, drill down
to Nodes, hostname, Application Server, Default Server. The Default Server area is where you change the
properties of the WebSphere Server. Refer to your IBM WebSphere documentation for details.
Uninstalling WebSphere
If you need to uninstall the WebSphere application server, complete the following
procedure for your operating system.
To uninstall WebSphere on Windows NT/2000:
1. Open the command prompt.
2. Navigate to the WebSphere Application Server directory.
For example,
C:\>cd WebSphere\Application Server\bin
3. Run uninstse.exe.
For example,
C:\WebSphere\Application Server\bin>uninste
107
Chapter 6
2. If IBM HTTP Server or another web server is running on your system, stop the web server.
Note. IBM HTTP Server is not uninstalled when you uninstall WebSphere Application
Server. It must be uninstalled separately.
3. Ensure that your DISPLAY and TERM environment variables are set properly.
4. Navigate to the root installation directory (/opt/WebSphere/AppServer on HP-UX, Linux, and Solaris;
/usr/WebSphere/AppServer on AIX) and execute the uninstall.sh script as follows: # ./uninstall.sh
5. When the Uninstall dialog box appears, click Uninstall.
6. On the command line, issue the following command:
rm -r
This ensures that subsequent installations of WebSphere Application Server do not conflict
with files left on the machine from a previous installation.
Note. Use caution when executing this command to prevent the unintentional
removal of portions of the file system.
108
Chapter 6
109
Chapter 6
c:\Apps\WebSphere\AppServer\installedApps\applications\PORTAL\WEB-INF\web.xml
c:\Apps\WebSphere\AppServer\installedApps\applications\PSIGW\WEB-INF\web.xml
c:\Apps\WebSphere\AppServer\installedApps\applications\PSINTERLINKS\WEB-INF\web.xml
Description
../DefaultWebApp_myserver/
Static files, HTML files and JSP files in this directory (or
subdirectories). This directory is the document root of
your Web Application.
/WEB-INF/classes/
/WEB-INF/lib/
110
Chapter 6
Note. This procedure assumes that each site is running the same version of PeopleTools.
To install additional sites:
1. Shutdown the WebSphere Server.
2. Run the multi-platform PIA installation program: %PS_HOME%\setup\mpinternet\setup.exe.
3. Select Existing for Select Domain Type prompt, and click Next.
4. For the Select domain name from list prompt, select the existing WebSphere
domain to update, and click Next.
For example, if you are adding the new site to the peoplesoft domain, select peoplesoft.
5. Specify the new PeopleSoft site name, as in crm, and click Next. (Accept other defaults).
6. Specify the connect information, and click Next.
Specify the appropriate application server name (or IP address) and JSL port of the
application server to which the site should connect. Each site on a single web server must
have the same values for HTTP Port and HTTPS Port.
7. Complete the PIA install as instructed in the PeopleSoft Installation guide.
8. Test the installation.
You can now access your new site via the URL of http://localhost:port//<newsite>/signon.html For
example, if you a new site named crm, you would access that site via the URL of
http://localhost:9080/crm/signon.html
9. Update the plugin-cfg.xml file to add the additional site.
111
Chapter 6
112
Chapter 6
113
Chapter 6
114
Chapter 6
115
Chapter 6
<web-uri>PSIGW-nightly</web-uri>
<context-root>/PSIGW-nightly</context-root>
</web>
</module>
application.xml should appear similar to the following:
<module id="WebModule_1">
<web>
<web-uri>PORTAL</web-uri>
<context-root>/</context-root>
</web>
</module>
<module id="WebModule_2">
<web>
<web-uri>PSIGW</web-uri>
<context-root>/PSIGW</context-root>
</web>
</module>
<module id="WebModule_3">
<web>
<web-uri>PSINTERLINKS</web-uri>
<context-root>/PSINTERLINKS</context-root>
</web>
</module>
<module id="WebModule_4">
<web>
<web-uri>PORTAL-nightly</web-uri>
<context-root>/PORTAL-nightly</context-root>
</web>
</module>
<module id="WebModule_5">
<web>
<web-uri>PSIGW-nightly</web-uri>
<context-root>/PSIGW-nightly</context-root>
116
Chapter 6
</web>
</module>
12. Save application.xml.
13. Update the web.xml File for PORTAL-nightly Web Application.
Open file \WebSphere\AppServer\installedApps\peoplesoft\PORTAL-nightly\WEB-INF\web.xml
Change the <display-name> and <description> elements to PORTAL-nightly
<display-name>PORTAL-nightly</display-name>
<description>PORTAL-nightly</description>
Repeat the same procedure for PSIGW-nightly Web Application. Change the name to
PSIGW-nightly, as shown below. You can find the web.xml file at the following location
\WebSphere\AppServer\installedApps\peoplesoft\PSIGW-nightly\WEB-INF\web.xml
<display-name>PSIGW-nightly</display-name>
<description>PSIGW-nightly</description>
14. Re-start the WebSphere.
15. Test the installation.
You can now access your custom web app via the URL of:
http://localhost:9080/<webapp>/<site>/....
For example, if you install PORTAL to a custom web application called PORTAL-nightly, with
a site name of ps, you would access that web appllication and site via the URL of
http://localhost:9080/PORTAL-nightly/ps/signon.html
117
Chapter 6
6. On the Choose Application Server Components page, select Web Server Plugins only, and click Next.
7. On the Choose Web Server Plugins page, select the appropriate plug in for your proxy server, and click Next.
8. (If prompted) In the Product Directory page, enter the root location of WebSphere and click Next.
For example,C:\Apps\WebSphere\AppServer.
9. In the Install Options Selected page, verify that youve selected the appropriate options, and click Next.
The install program updates the plugin information for the plugin option you selected.
10. Stop and re-start both the proxy web server and WebSphere.
11. Test the plugin installation.
Open a browser.
Enter the following URL: http://<hostname>/psftmodified/servlet/snoop.
Make sure you see the Snoop Servlet page.
Note. This procedure assumes you have set up SSL on Port 8443.
5. Open plugin-cfg.xml file and change any references to 80/443 to 8080/8443.
6. Re-start both the proxy and WebSphere Server.
118
Chapter 6
Configuring SSL
The browser sends a request to the web server over a connection. The WebSphere plug-in
recognizes that the request is intended for WebSphere application server and forwards it
over another connection to the application server.
Each connection has both a client and a server. For the first connection, the browser is the client
and the web server is the server. For the second connection, the WebSphere application server
plug-in is the client and the WebSphere application server is the server.
Either or both of these connections can be an SSL connection. Its up to your sites requirements
to determine what is the adequate tradeoff between security and performance. For example, if the
link between the web server and the WebSphere Application Server is thought to be safe, you may
decide to forward a request to the application server over a non-secure TCP connection. This may be
desirable to increase performance because a TCP connection is much faster than an SSL connection. If
you are transmitting sensitive data, both connections should be SSL connections.
Each component has its own SSL configurations. If both connection A and B require SSL
connections, you must complete four SSL configurations:
Browser.
Web server.
WebSphere plug-in.
WebSphere Application Server.
The following sections cover setting up SSL on the Microsoft IIS HTTP server, the IBM
HTTP server, and the WebSphere Application Server.
Windows 2000
To configure SSL on Windows 2000:
1. Select Start, Control Panel, Administrative Tools, Internet Information Services.
2. Right-click on the default web site, click on Properties and click Directory Security.
3. On the Directory Security tab, click Server Certificate.
4. Create a new certificate.
Complete the wizard, answer the questions and store the certificate in .txt file. This file
will be used later. Click finish when complete.
5. Open the certificate signing request (c:\newkeyrq.txt).
119
Chapter 6
120
Chapter 6
121
Chapter 6
Each IKEYCMD (except create database) requires that the key database and password for the key database
be specified. This is a required action since the database is opened with each command. See Using the
IKEYCMD Command Line Interface, for more detailed information on IKEYCMD.
122
Chapter 6
13. Next search for transports with port 9443. Refer the snippet below and update as follows.
<transports xmi:type="applicationserver:HTTPTransport" xmi:id="HttpTransport_2"
hostname="*" port="9443" sslEnabled="true">
<ssl xmi:id="SecureSocketLayer_1HttpTransport_2" keyFileName="${WAS_
ROOT}/myKeys/key.jks" keyFilePassword="Enter password" keyFileFormat="JKS" trust
FileName="${WAS_ROOT}/myKeys/key.jks" trustFilePassword="Enter password" client
Authentication="false" securityLevel="HIGH" enableCryptoHardwareSupport="false">
<cryptoHardware xmi:id="CryptoHardwareToken_1HttpTransport_2" token
Type="PKCS#11" libraryFile="" password="{xor}"/>
</ssl>
</transports>
123
Chapter 6
14. Stop and start the WebSphere and invoke https://<hostname>:9443/ps/signon.html or any other servlets.
124
Chapter 6
2. Open product_installation_root\myKeys\certreq.arm in a text editor. Copy the entire contents of the file.
3. Invoke the following URL: https://www.verisign.com/cgi-bin/clearsales_cgi/leadgen.htm?form_
id=0100&toc=b108628610100100&email=
4. Register for Trial copy for 14 days.Continue the Wizard. You will be prompted to enter
the certreq.arm File ( Enrollment Form ). Paste the contents of certreq.arm into the (Enter
CSR Information ) Box. Continue with the wizard, and if the information matches the data
entered, then the Trail veriSign certificate will be sent to you.
5. When you receive the response, open the email and copy and paste the certificate into
product_installation_root\myKeys\certfromVeri.txt.
6. Go to URL http://www.verisign.com/server/trial/faq/index.html and download the VeriSign Test CA into
product_installation_root\myKeys\getcacert, leave the default file type as Security Certificate.
7. In the Key database content field, select Singer Certificates.
8. Click Add, and enter follow information as shown below. Select the certificate file name
as the getcacert Security Certificate. Click OK.
125
Chapter 6
</defaultSSLSettings>
8. Next, search for transports with port 9443. Refer the snippet below and update like the following:
<transports xmi:type="applicationserver:HTTPTransport" xmi:id="HttpTransport_2"
hostname="*" port="9443" sslEnabled="true">
<ssl xmi:id="SecureSocketLayer_1HttpTransport_2" keyFileName="${WAS_
ROOT}/myKeys/key.jks" keyFilePassword="Enter password" keyFileFormat="JKS" trust
FileName="${WAS_ROOT}/myKeys/key.jks" trustFilePassword="Enter password" client
Authentication="false" securityLevel="HIGH" enableCryptoHardwareSupport="false">
<cryptoHardware xmi:id="CryptoHardwareToken_1HttpTransport_2" token
Type="PKCS#11" libraryFile="" password="{xor}"/>
</ssl>
</transports>
9. Stop and start the WebSphere and invoke https://<hostname>:9443/ps/signon.html or any other servlets.
For UNIX:
LoadModule ibm_ssl_module libexec/mod_ibm_ssl_128.so
AddModule mod_ibm_ssl.c
Listen 443
<VirtualHost <hostname>:443>
SSLEnable
SSLClientAuth none
</VirtualHost>
SSLDisable
Keyfile /opt/IBMHTTPD/ssl/key.kdb
SSLV2Timeout 100
SSLV3Timeout 1000
126
Chapter 6
Note. This procedure is not required if the link between the plug-in and the application server is known to be
secure. If privacy of application data is a concern, however, this connection should be an SSL connection.
127
Chapter 6
9. Extract the certificate so that you can import it into the application server key file later.
Click Extract Certificate.
Specify settings and click OK:
Base64-encoded ASCII data: Data Type
Certificate file name: plug-in.arm
Location: path to your myKeys directory
10. Click the Key Database File menu and select Close.
UNIX:
.../webpshere/appserver/config/plugin-cfg.xml
Now that you have created the SSL key file for the plug-in, edit the plug-in configuration
file so that it references your SSL key file.
This configuration causes the plug-in to forward HTTP requests to the HTTP port of the WebSphere
Application Server and to forward HTTPS requests to the HTTPS port.
Make sure that the path of this file is specified in your Web server configuration (for
example, in "httpd.conf" for IBM HTTP Server).
128
CHAPTER 7
129
Chapter 7
Types of Indexes
PeopleSoft supports three kinds of search indexes:
Record-based index.
HTTP-spider index.
Filesystem index.
Record-based Indexes
Record-based indexes are used to create indexes of data in PeopleSoft tables. For example, if you
have a catalog record in your PeopleSoft application that has two fields called Description and
PartID, you can create a record-based index to index the contents of Description and PartID. Once
the index is created, you can use PeopleCode search API to search this index.
Filesystem Indexes
Filesystem indexes are similar to HTTP-spider indexes except that the repository that is indexed is a file
system. You typically specify the path to the folder or directory and the indexer will index all documents
within that folder. HTTP-spider index and Filesystem Index are sometimes collectively refered to as
Spider indexes. The indexer recognizes a wide variety of document formats, such as Word or Excel
documents. Any document that is an unknown format will be skipped by the indexer.
Index Building
For both HTTP and Filesystem indexes, options are available to include or exclude certain documents
based on file types and MIME types. The index building procedure is different for Record-based
indexes and the Spider indexes. Typically the index building procedure is executed from an
Application Engine Job scheduled using the process scheduler.
Step in building record-based indexes are:
The data from the application tables is read and two files called <INDEXNAME>.xml
and <INDEXNAME>.bif are created.
<INDEXNAME>.xml contains one XML record for each document that needs to be indexed. The XML
record contains all the data that needs to be indexed. <INDEXNAME>.BIF contains field information, the
document vdkvgwkey, and offsets to denote the start and end of each document in the XML file.
The XML and the BIF files are typically generated through PeopleCode and reside in the home location of
the index. The Verity utility mkvdk is called passing in the BIF file as the argument to build the index.
The steps involved in building spider indexes are:
The Verity utility vspider is called. Vspider takes a number of arguments but the most important ones
are the starting URL or directory to spider and the number of links to follow.
Vspider walks through all the documents in the repository and builds the index.
130
Chapter 7
Verity Technologies
The basic items of the Verity architecture incorporated in the PeopleSoft Portal search architecture are:
Verity Collection. This is the set of files forming a search index. When a user performs a search,
the search is conducted against the Verity collection. You can create and maintain your own
collections with the Search Design and Search Administration PeopleTools.
BIF File. This is an intermediate file created in the process of building a Verity collection. The BIF file (or
bulk insert file) is a text file used to specify the documents to be submitted to a collection. It contains a
unique key, document size (in bytes), field names and values, and document location in the file system.
XML File. This is another intermediate file created in the process of building a Verity collection.
The XML file is a text file named <INDEXNAME>.xml that contains all the information from the
documents that are searchable yet not returned in the results list. This information is stored in zones.
Zones are specific regions of a document to which searches can be limited.
Style Files. These files describe a set of configuration options used to create the
indexes associated with a collection.
mkvdk, Veritys command-line tool. It is used for several tasks:
- To index a collection
- To insert new documents into a collection
- To perform simple maintenance tasks, like purging and deleting a collection
- To control indexing behavior/performance
131
Chapter 7
132
Chapter 7
Shows the name of the index you opened or the name that you gave
the index on the Add New Value page.
Build Index
Test Index
After building an index you can click this option to test that the build
program assembled it properly. The Test Index page contains a single
text field with a query button. Enter text to search for in the collection
and click the [?] button to submit the query. The results returned are
a list of the keys stored by Verity in the collection.
Show Logs
View the log files produced by the collection build program during
execution. Used mainly for troubleshooting.
Append to Verity
Command Line
133
Chapter 7
type: "application/x-presentation"
type: "application/x-graphics"
type: "application/x-keyview"
type: "application/x-ms-write"
type: "application/pdf"
type: "application/x-executable"
type: "message/rfc822"
type: "message/news"
type: "text/html"
type: "text/sgml"
type: "text/xml"
type: "text/ascii"
type: "text/enriched"
type: "text/richtext"
type: "text/tab-separated-values"
type: "text/plain"
type: "text/x-empty"
type: "image/gif"
type: "application/x-verity"
134
Chapter 7
You can enter tables, views, PeopleSoft view that contains data. If you want
to combine the data from multiple PeopleSoft tables, you need to create a
view on those tables and specify the name of that view here.
Enables you to fine-tune the data you receive even more using
a SQL WHERE clause.
135
Chapter 7
This link takes you to the page where you can change the results returned
by the "Key returned in search results" functionality.
Fields
How to Zone the Index
There are two options: One Zone and Field Zones. One Zone puts all
the data into one zone. With this option the collection builds more quickly
but the application cant restrict searches to the portions of the index that
come from a particular field. The Field Zones option creates one zone for
each PeopleSoft field on the record, and applications can specify that they
want to access that particular zone in their searches.
Field Name
After you specify a record name, the fields in that record appear in
this grid. You need to select the following options for each field in
the record: Verity Field, Word Index, or Has Attachment (each option
is explained in the following sections).
Verity Field
Word Index
Has attachment
Enables you to index attachments that are referenced in the field as URIs.
Refer to the PeopleCode Developers Guide for a description of File
Attachments. If this field contains the URL to an attachment, select this
box. The indexer will download the attachment and index it as part of the
document. This item is ungreyed only if the corresponding Peoplesoft field
contains character data, as numeric fields cannot contain URLs.
To use this field, you need a record designed with this feature in mind. In the
record, each row has a text field that contains a URI or an empty string.
The text must be a valid FTP URI (including the login and password
string) of the following form:
ftp://user:pass@host/path/to/filename.doc
a valid record URI of the form record://RECORDNAME/path/to/file.doc
A string of the form <urlid name=A_URLID/>/path/to/file.doc.
The third form references an entry in the URL table (Utilities, Administration,
URLs). If the URLID named in the name attribute is valid, the entire URI
will be rewritten with the part in brackets replaced by the actual URI.
136
Chapter 7
ftp://anonymous:user@resumes.peoplesoft.com/path/to/file.d
and treated like any other FTP URI.
Rows of data with empty strings in the URI field are ignored with no error.
If the string is one of these three valid URI forms, and a document can be
retrieved at that URI, the document will be indexed with the same key
as the rest of the row of data and will be searchable.
To add Subrecords to the index, select the Subrecords tab, and insert the child records
that you want to include in the index.
137
Chapter 7
Specify the network file system path that contains the documents to
index. Ensure that the local application server has the proper access
to the file systems you include in the list.
For Windows NT this means the drive mappings must be set up
from the applications server. For UNIX this means the correct NFS
mappings must be set on the application server.
To add a system path to the list, use the plus button. To remove
a file system, use the minus button.
Do not use.
138
Chapter 7
If you are interested in indexing only a certain MIME type, select this option
and specify the file type in the MIME Type list. Multiple MimeTypes
can be specified by separating them with a space.
MIME/Types Allowed
Add a list of MIME types separated by spaces if you checked Index only
these MIME Types or Exclude These MIME types above..
Filenames
Index all filenames
If you are interested in indexing only a certain file type, select this option
and specify the file type in the Pathname list.
If you want to exclude a set of file types, such as temporary files, but you want
to index all others, select this option and specify the file types to exclude.
139
Chapter 7
Add the files that you want to incorporate into your index. Separate the
entries with spaces. You can use wild-card characters * to denote a
string and ? to denote a single character. For example, the string *.doc
19??.excel would mean select all files that end with the .doc suffix
and excel files that start with 19 followed by two characters.
140
Depending on the level of detail that you want to index within a certain
site, you set this value accordingly. If you set this value to 1, the Vspider
program starts at the homepage and then follows each link on that page
and indexes all the data on the target pages. After that it stops. If you
Chapter 7
were set the value to 2, Vspider follows the links on the previous pages
and indexes one more level into the website.
As you increase the number, the number of links followed increases
geometrically. It is important to make sure that you do not set this
value too high, as it can impact performance negatively. PeopleSoft
recommends that you do not set this value to exceed 10.
List http://URLs to spider
You can add multiple URLs to spider. To add more to the list, use
the plus button. To remove a URL from the list, use the minus
button. If you forget to include the http:// (scheme) portion of the
URL, the system automatically includes it.
Stay in Domain
Stay in Host
Enables you to further limit spidering within a single server. If you select
this option, the collection contains references to content only on the current
web server, or host. Links to content on other web servers within the
domain are ignored. For example, if you are spidering www.peoplesoft.com
and you selected Stay in Host, you would be able to index documents
on www.peoplesoft.com, but not on www1.peoplesoft.com.
Enables you to specify a host and port for vspider to use. Enter
the same settings that you would use in your web browser if you
need a proxy to access the internet.
141
Chapter 7
You set the search index location at the application server level in the application server configuration file,
PSAPPSRV.CFG. This enables you to specify alternate search index locations for an application server, if
necessary. You will also need to set this property in the process scheduler configuration file, PSPRCS.CFG
to point to the same location as specified in the application server configuration file.
Note. You must manually edit the file to include the locations. You do not add
search index locations using PSADMIN.
To add a search index location on the application server:
1. Open the PSAPPSRV.CFG file for the appropriate application server domain.
2. Locate the [Search Indexes] configuration section.
For example,
[Search Indexes]
;=========================================================================
; Search index settings
;=========================================================================
: Search indexes can be given alternate locations if there is an entry here.
; Entries look like: IndexName=fs location (ie EMPLOYEE=c:\temp)
3. Add an entry for each search index location that you want to specify for an application
server using the following syntax:
<Index Name>=<location>
For example, if you wanted to specify the location for search INDEX_A and INDEX_B,
your entries would look similar to the following:
[Search Indexes]
;=========================================================================
; Search index settings
;=========================================================================
: Search indexes can be given alternate locations if there is an entry here.
; Entries look like: IndexName=fs location (ie EMPLOYEE=c:\temp)
INDEX_A=c:\temp
INDEX_B=n:\search
Note. Make sure your entries are not commented out with a semi-colon (;) appearing before them.
4. Save the PSAPPSRV.CFG file.
Note. The previous procedure assumes that youve already used the Search Index Designer to define,
build, and store the search indexes you specify in the PSAPPSRV.CFG file.
5. Repeat the process with PSPRCS.CFG for process scheduler.
142
Chapter 7
Index
Shows the name of the index so that you can identify specific indexes. To
select a particular index, select the check box to the left of the index name.
Store Index at
Edit Properties
Click this link to go to the interface for changing the index location
and to build indexes to support additional languages.
Schedule
Note. If you attempt to delete a scheduled index, you may see SQL errors on DB2 or Sybase database platforms.
Edit Properties
Select PeopleTools, Search Engine, Administration, Edit Properties.
Enables you to specify custom locations for your collections if you decide
to move them to another location within your system.
143
Chapter 7
Language Code
Language to Map
Currently disabled.
Build
Note. Style files are located in the style subdirectory of the index. If you want to make
style changes, apply them to the files in this directory.
Schedule Administration
Select PeopleTools, Search Engine, Administration, Schedule.
Scheduling Builds
Type of Build
144
Server Name
Specify the Process Scheduler server on which you want the build program
to run. Your PeopleSoft Process Scheduler system needs to be installed and
configured before you can schedule the collection build program to run as a job.
Chapter 7
Use an external program such as FTP or SCP (Secure Copy) to copy all the files and directories
in the index home location from the process scheduler host (after the index has been built)
to the application server host so that it is available for searching.
145
Chapter 7
2. Select whether to build the search index for All Installed Languages or not.
The default is to not build the index for all installed languages. Change this setting if necessary.
3. Select the Language Code for which you want to build the search index.
The language code defaults to the base language.
4. Click Run to launch the build process.
When you click Run, PeopleSoft Process Scheduler initiates an Application Engine program
named PORTAL_INDEX. You can click the Process Monitor hyperlink to view the status of the
index build, and you can click Report Monitor to review output (if any).
Fieldname and the SQL statement support single and double quotes, as well as no quotes
at all (in which case only the first word is considered part of the option). Using double
quotes for the SQL statement is recommended.
The SQL statement must return only one column. Multiple rows are ignored. Trying to return
more than one column results in a collection-build-time error.
Currently the only tag style supported is <tag/> with the / (slash) at the end.
The VdkVgwKey can include any amount of literal text interspersed with the tags. This will be
copied into the VdkVgwKey that goes into the BIF file, unmodified.
Fieldnames are automatically set in uppercase.
146
Chapter 7
Style files are located in the style subdirectory of the index. If you want to make style
changes, apply them to the files in this directory.
You can have only one language per collection.
147
148
Chapter 7
CHAPTER 8
149
Chapter 8
The appropriate PSDBGSRV Listener Port is specified in the PeopleCode Debugger section of PSADMIN.
At least two PSAPPSRV processes configured to boot in the domain with the Service
Timeout parameter set to 0 (zero).
Enter y for Yes at the "Enable PSDBGSRV Server Process" prompt at the end of the PSADMIN interface.
150
Chapter 8
The following example shows a sample PSAPPSRV section properly configured for debugging PeopleCode:
Values for config section - PSAPPSRV
Min Instances=2
Max Instances=2
Service Timeout=0
Recycle Count=0
Allowed Consec Service Failures=0
Max Fetch Size=5000
Do you want to change any values (y/n)? [n]:
151
Chapter 8
In most cases, the administrators use the system help page to aid in troubleshooting. If a user is having
trouble accessing a particular application, the system administrator can instruct the user to provide the
system information displayed in the help page so that the administrator can immediately identify the
current application server, database, software version, operating system, and so on.
152
Description
The browser version and type, as in Internet Explorer or
Netscape.
Chapter 8
Item
Description
Operating System
Browser Compression
Tools Release
Application Release
Service Pack
Page
Component
Menu
User ID
Database Name
153
Chapter 8
Item
Description
Database Type
Application Server
Depending on your sites policy, you may not want the User ID, Database Name, Database
Type, or Application Server information readily available. You use the Connectioninformation
parameter in the configuration.properties file on the web server to determine what appears
when a user or administrator presses CTRL+J.
If Connectioninformation is set to true, as in
Connectioninformation=true
then all information appears in the system help page. Alternatively, if you set this parameter to false, the
User ID, Database Name, Type, and Application Server name do not appear in the help page.
154
Chapter 8
The following example illustrates the relationship between the components and, most importantly, their
respective port numbers. When you are configuring the Jolt Internet Relay system, it is very important to
make sure that you specify the correct port numbers through which each component receives messages and to
which port number they send messages. Any inconsistency will result in a failed connection.
Note. Using Jolt Internet Relay is intended for use with the Web Client (an internet solution from previous
releases), however, you can also use it with PIA. Using Jolt Relay with PIA is not recommended for
performance reasons. For use with PIA, you must specify that the page servlet connect to the JRLY
Listener port on the web server as opposed to specifying the JSL on the application server.
In the example, assume that the web server and the application server reside on separate machines.
The following list describes what takes place within each numbered step.
1. When the Web Client connects to a URL, PeopleSoft HTML and Java applets will be
downloaded to the supported browser. Contained in the downloaded HTML is the port
number used to connect to Joltin this case 9000.
2. After downloading the HTML, the Web Client reconnects to port 9000 on the web server machine.
Port 9000 reflects the JRLY Listener. The JRLY Listener passes the Java message to the JRLY
Connect process. For security reasons, the Web Client must always reconnect to the same
machine from which it downloads the HTML. Keep in mind that the Web Client reconnects only
to the same machinenot to the web server process on the machine.
3. The JRLY Connect process uses the machine IP Address and port number to connect to the Jolt
Relay Adapter (JRAD) process on the application server machine.
4. JRAD passes the request on to the Jolt Station Listener, which initiates the transaction.
The return message to the Web Client follows the same path in reverse.
155
Chapter 8
When you implement Jolt Internet Relay, the JRLY Listener must match the port number specified in
the downloaded HTML. However, the Jolt Listener port on the application server may or may not match
the port number specified in the HTML. For instance, in our example the JRLY Listener must be set to
9000 to match the port number specified in the HTML, but the JSL on the application server is set to
9020. The JSL could also be set to 9000 or any other valid port number. On the other hand, when the
web server and application server are on the same machine and JRLY is not required, the JSL on the
application server machine must match the port number specified in the downloaded HTML.
Note. A firewall may separate (and probably does in most cases) the web server and the application server.
Remember that if you are planning to support Web Clients connecting through JRLY and Web Clients
connecting directly to the JSL on the application server, the JRLY Listen port must equal the JSL port.
The JRLY Listener must match the port number specified in the HTML.
JRLY Connect must match the JRAD Listener.
JRAD Connect is set automatically by PeopleSoft to connect to the JSL.
156
Chapter 8
Note that in <joltrelay>/relay, the following two files were installed: jrly.config and jrly. These are the
only two files used in configuring and starting Jolt Relay and are discussed in the next section.
To install JRLY on Windows NT:
1. Insert the CD-ROM into the CD-ROM drive.
2. Using Windows Explorer, navigate to the CD-ROM directory
3. Change directory to Jrelay\winnt and execute setup.exe
4. The installation program presents you with a series of dialog boxes, and, for the most part, they
are intuitive, however make sure you make note of the following items:
On the BEA Jolt User Registration dialog box enter the appropriate information for your site.
On the Jolt Installation Selection dialog box, select the Jolt Relay Front-End check box and clear all
the other check boxes. Also, use the Browse button to specify the desired installation directory.
5. Using Windows Explorer, examine the Jolt Relay installation directory.
Note that in <joltrelay>\udataobj\jolt\relay, the following two files were installed:
jrly.config and jrly.exe. These are the only two files used in configuring and starting Jolt
Relay and are discussed in the following section.
Description
LOGDIR is the directory where JRLY will create
access and error log files. This directory must
existthe JRLY program will not start if it cannot
find this directory. The path specified for LOGDIR
should be an absolute path (starting from / on UNIX
systems, starting from <DRIVE>: on Windows NT
systems). The JRLY will accept relative path names
but then the LOGDIR will be relative to the directory
from which the JRLY program is started.
157
Chapter 8
Parameter
158
Description
ACCESS_LOG=JRLY_access_log
ERROR_LOG=JRLY_error_log
Chapter 8
Parameter
LISTEN=sp-ibm02:9000
Description
The LISTEN key word specifies the host and port on
the current machine (that is, the machine where you
are installing Jolt Relay). JRLY will listen for client
connections. The following formats are acceptable:
LISTEN=192.9.100.100:9000
LISTEN=//192.9.100.100:9000
LISTEN=sp-ibm02:9000
LISTEN=//sp-ibm02:9000
159
Chapter 8
Note. Jolt Relays Connect port must match JRADs Listener port.
To configure JRAD:
1. Launch PSADMIN, and navigate to the PeopleSoft Domain Administration menu
and select 4) Configure this domain.
2. Follow the prompts until you reach the Jolt Relay Adapter section.
3. Enter the appropriate port number for the Listener Port. The Listener Port must
match the Jolt Relay Connect port.
4. Later in the series of PSADMIN prompts you must specify that you want JRAD configured; enter y to do so.
You must specify y to this prompt if you plan to implement JRAD. This will start the JRAD
Listener service each time you boot the application server. Even if you manually edit the
PSAPPSRV.CFG file, you still need to launch PSADMIN, specify that you do not want to make
any changes to the configuration parameters, and enter y at this prompt.
\apps\jrelay
JRLY.CONFIG
/apps/jrelay
jrly.config
&
160
Chapter 8
JRLY.EXE and its corresponding JRLY.CONFIG file must exist in the same directory. To start
multiple Jolt Relays on a machine, copy JRLY.EXE and JRLY.CONFIG into each subdirectory,
modify the parameters in the JRLY.CONFIG file, and start Jolt Relay.
You can start the JRLY process before or after you start JRAD. The JRLY will attempt to connect to JRAD on
the client request. If the JRLY is unable to connect to the JRAD, the client is denied access and disconnected.
If you are installing Jolt Relay on UNIX and anticipate a large number of concurrent connected clients,
PeopleSoft recommends increasing the file descriptors limit before running the JRLY executable.
At runtime, if you get the following message:
[FRi JUNl 6 20:25:11 1997] JRLY:accept():accept failed, err no: 23, strerror: File
table overflow
PeopleSoft recommends that you increase the MaxUSERS kernel parameter and regenerate the kernel.
If you are unable to connect, make sure that you check the following items:
- Port numbers do not match. Print out the JRLY.CFG file and the PSAPPSRV.CFG file
and compare the port numbers you have specified.
- Make sure the application server is running.
- Make sure JRLY is running.
- Make sure the port numbers in the HTML are correct.
Make sure that JRAD is running on the application server and that in the PSADMIN
interface you have opted to configure JRAD.
161
162
Chapter 8
CHAPTER 9
SQL Alter
The primary purpose of PeopleSoft Application Designers SQL Alter function is to bring SQL tables into
accordance with PeopleTools record definitions. You can run SQL Alter in an audit-only mode that alerts
you to discrepancies between your record definitions and SQL tables, but that doesnt actually perform an alter.
To audit tables or views:
1. In Application Designer, choose the record(s) you want to audit.
You have the option of auditing the active record definition, selected records in the project
workspace, or all the records in the current project.
2. Select the Build menu and select the appropriate option for the records you want to audit.
If youre auditing an open record definition, choose Build, Current Object. If you have one or
more records selected in the project workspace, you can select Build, Selected Objects. If you
want to audit all records in the current project, select Build, Project.
The Build Scope shows a list of all the records that will be affected, or audited in the case.
3. Select Alter tables as your Build Option and select Build script file as your Build Execute option.
4. Click Settings and choose the Alter tab in the Build Settings dialog.
5. In the Alter Any group box, select the situations for which you want an Alter performed.
6. Select the Scripts tab.
163
Chapter 9
You use the Scripts tab to specify your output for the build scriptsin one file, in two
files, where the file will be generated, and so on.
7. Select Write Alter comments to script.
Performing Alters with this option enabled will add comments to the SQL script
about what fields are being manipulated.
8. Choose your other script file options.
9. Click OK, to close the Build Settings dialog and return to the Build dialog.
10. Press Build, on the Build dialog.
SQL Description
Character
CHAR
Long character
LONGVAR
Date
DATE
SMALLINT
INTEGER
DECIMAL
164
Chapter 9
DDDAUDIT
The Database Audit Report (DDDAUDIT) finds inconsistencies between PeopleTools record
and index definitions and the database objects. This Audit consists of nine queries: four
on tables, two on views, and three on indexes.
Note. This SQR refers to the Data Designer, the PeopleTool that allowed you to create record definitions
in the PeopleTools releases prior to release 7. Now, all of the development tools are incorporated into
one integrated development environment called the PeopleSoft Application Designer.
To run DDDAUDIT:
1. Using Windows Explorer navigate to PS_HOME\sqr and locate DDDAUDIT.SQR.
2. Double-click it.
3. Type in the Database name, Username, and Password.
Youll probably need to use the database Access ID and password to execute the DDDAUDIT properly.
4. Verify the Report arguments and click OK.
The f argument indicates where the system writes the .LIS file.
5. At the Command Prompt, press ENTER.
At the end of a successful run, youll be prompted to press Enter again.
When you run DDDAUDIT.SQR, its results are written to a file called DDDAUDIT.LIS in your \TEMP folder.
After running DDDAUDIT, view the .LIS file using any text editor. Heres a sample excerpt of this file:
DDDAUDIT Queries
The following table lists the names of each query that DDDAUDIT performs on your PeopleSoft
system, what it means if rows are returned, and how to resolve the inconsistency.
Note. The query names in this table are arranged alphabetically, and are not necessarily in
they order in which they appear in DDDAUDIT.LIS.
Query
Resolution
INDEX-1
INDEX-2
165
Chapter 9
Query
Resolution
INDEX-3
See INDEX-1.
TABLE-1
TABLE-2
TABLE-3
TABLE-5
VIEWS-1
166
Chapter 9
Query
VIEWS-2
TRIGGER-1
Resolution
SYSAUDIT
The System Audit (SYSAUDIT) identifies orphaned PeopleSoft objects and other inconsistencies
within your system. An example of an orphaned object would be a module of PeopleCode that
exists, but which does not relate to any other objects in the system.
Select PeopleTools, Utilities, Audit, Perform System Audit.
If checked, the System Audit option checkboxes do the following in your PeopleSoft system:
Audit AE Integrity
Audit Optimization
Integrity
167
Chapter 9
To run SYSAUDIT:
1. Select PeopleTools, Utilities, Audit, Perform System Audit.
2. When prompted, enter a new Run Control ID and click OK.
3. Select the desired Integrity Audit options.
4. Click Run.
5. Select the appropriate settings on the Process Scheduler Request page, and click OK..
168
Chapter 9
Query
AE-01
Description
AE programs without any sections
Resolution
If the affected program was
delivered by PeopleSoft and has
not been modified, contact the GSC.
If the affected program was
converted as part of an upgrade,
this may be a symptom that the
conversion failed. Contact the GSC.
Otherwise, use the Application
Engine designer to either create
valid sections for the program
or remove the program. It is not
possible to recover the missing
sections.
AE-02
AE-03
169
Chapter 9
Query
AE-04
Description
AE state records without record
definitions
Resolution
If the affected record was delivered
by PeopleSoft, contact the GSC.
If the affected program was
converted as part of an upgrade,
this may be a symptom that the
conversion failed. Contact the GSC.
Otherwise, using PeopleTools
Application Designer remove
invalid records from the program
definition or create record
definitions.
AE-05
AE-06
170
Chapter 9
Query
AE-07
Description
Resolution
AE-08
AE-09
171
Chapter 9
Query
AE-10
Description
AE TempTables attached to Invalid
AE programs
Resolution
If the affected temp table was
delivered by PeopleSoft, contact the
GSC.
If the affected program was
converted as part of an upgrade,
this may be a symptom that the
conversion failed. Contact the GSC.
Otherwise, ignore the warnings or
restore the program from a backup.
It is not possible to recover the
missing programs.
AE-11
Orphaned AE PeopleCode
AE-12
AE-13
AE-14
AE-15
172
Chapter 9
Query
Description
Resolution
SYSCLRLIST-01
Entries in PSACTIVITYDEL
and PSACTIVITYDEFN are not
mutually exclusive
SYSCLRLIST-02
SYSCLRLIST-05
SYSCLRLIST-06
SYSCLRLIST-07
Entries in PSHOLIDAYDEL
and PSHOLIDAYDEFN are not
mutually exclusive
SYSCLRLIST-09
SYSCLRLIST-10
SYSCLRLIST-11
SYSCLRLIST-12
SYSCLRLIST-13
SYSCLRLIST-14
Entries in PSPRCSRUNCDEL
and PSPRCSRUNCNTL are not
mutually exclusive
173
Chapter 9
Query
Description
Resolution
SYSCLRLIST-15
SYSCLRLIST-16
SYSCLRLIST-17
SYSCLRLIST-18
SYSCLRLIST-19
SYSCLRLIST-20
Entries in PSTOOLBARDEL
and PSTOOLBARDEFN are not
mutually exclusive
SYSCLRLIST-21
SYSCLRLIST-22
SYSCLRLIST-23
SYSCLRLIST-24
174
Chapter 9
Query
Description
Resolution
ECINMPFL-1
ECINMPFL-2
ECINMPFD-1
ECINMPFD-2
ECINMPRC-1
ECINMPRC-2
ECINMPRF-1
ECINMPRF-2
175
Chapter 9
Query
176
Description
Resolution
ECINMPRF-4
A related record in
PS_ECINMAPRECFLD was
not found in PSRECDEFN
ECINMPRF-5
An EC Related Record in
PS_ECINMAPRECFLD does
not have a valid EC Related Row ID
from PS_ECINMAPREC
ECINMPRF-6
ECOTMPRC-1
ECOTMPRC-2
ECOTMPRC-3
ECOTMPRC-4
ECOTMPFD-1
Chapter 9
Query
Description
Resolution
ECOTMPFD-2
SYSECMGR-1
Field Integrity
The following table contains the audits and resolutions for this area.
Query
Description
Resolution
FIELD-3
FIELD-4
FIELD-5
FIELD-06
Menu Integrity
The following table contains the audits and resolutions for this area.
Query
MENU-01
MENU-02
Description
Resolution
177
Chapter 9
Query
Description
Resolution
MENU-03
MENU-04
MENU-05
Security Integrity
The following table contains the audits and resolutions for this area.
Query
SEC-01
SEC-2
Description
Resolution
178
Chapter 9
Query
SEC-4
Description
Incomplete permission list: Orphan
process profiles:
(Verifies existence of permission
lists owning process profiles)
Resolution
Delete the extra process profiles.
If this is a permission list that
should exist, recreate it through
PeopleTools Security
DELETE FROM PSPRCSPRFL
WHERE CLASSID=x
SEC-5
SEC-6
SEC-7
SEC-8
SEC-9
Page Integrity
The following table contains the audits and resolutions for this area.
Query
PAGE-01
Description
Page definitions page field count
is not equal to the count of its page
fields in the PageField table, and
there is at least one row in the
PageField table for that page.
Resolution
Enter the following SQL: SELECT
COUNT(*) FROM PSPNLFIELD
WHERE PNLNAME = x;
UPDATE PSPNLDEFN SET
FIELDCOUNT = count WHERE
PNLNAME = x;
179
Chapter 9
Query
180
Description
Resolution
PAGE-02
PAGE-03
PAGE-04
PAGE-05
PAGE-06
PAGE-07
PAGE-08
PAGE-09
PAGE -10
PAGE-11
Chapter 9
Optimization Integrity
The following table contains the audits and resolutions for this area.
Query
OPTZN-01
Description
Problem Type Records that do not
have matching record definitions.
Resolution
Execute the following SQL:
DELETE FROM PSOPTREC
WHERE RECNAME = <RECORD
NAME>;
DELETE FROM PSOPTFIELD
WHERE RECNAME = <RECORD
NAME>;
OPTZN-02
OPTZN-03
OPTZN-04
OPTZN-05
181
Chapter 9
Query
182
Description
Resolution
OPTZN-06
OPTZN-07
OPTZN-08
OPTZN-09
OPTZN-10
Chapter 9
Query
Description
Resolution
OPTZN-11
OPTZN-12
OPTZN-13
OPTZN-14
OPTZN-15
PSOPTSOLVERCODE table is
empty for following problem types:
OPTZN-16
PeopleCode Integrity
The following table contains the audits and resolutions for this area.
183
Chapter 9
Query
184
Description
Resolution
PEOPLECODE-1
PEOPLECODE-2
Chapter 9
Query
Description
Resolution
PEOPLECODE-3
UPDATE PSPCMPROG A
SET A.NAMECOUNT =
(SELECT COUNT(*)FROM
PSPCMNAME C WHERE
C.OBJECTID1 = A.OBJECTID1
AND C.OBJECTVALUE1 =
A.OBJECTVALUE1 AND
C.OBJECTID2 = A.OBJECTID2
AND C.OBJECTVALUE2 =
A.OBJECTVALUE2 AND
C.OBJECTID3 = A.OBJECTID3
AND C.OBJECTVALUE3 =
A.OBJECTVALUE3 AND
C.OBJECTID4 = A.OBJECTID4
AND C.OBJECTVALUE4 =
A.OBJECTVALUE4 AND
C.OBJECTID5 = A.OBJECTID5
AND C.OBJECTVALUE5 =
A.OBJECTVALUE5 AND
C.OBJECTID6 = A.OBJECTID6
AND C.OBJECTVALUE6 =
A.OBJECTVALUE6)
PEOPLECODE-4
PEOPLECODE-5
PEOPLECODE-6
Process Scheduler
The following table contains the audits and resolutions for this area.
185
Chapter 9
Query
PRCSSCHED-01
Description
Resolution
PRCSSCHED-03
Process Definitions
(PS_PRCSDEFN) where the
OUTDESTTYPE should be set to
NONE
PRCSSCHED-04
Process Definitions
(PS_PRCSDEFN) where the
API AWARE should be set to true.
186
Process Definitions
(PS_PRCSDEFN) where
Process Type was not found
in the Process Type Definition
(PS_PRCSTYPEDEFN)
Chapter 9
Query
Description
Resolution
PRCSSCHED-06
PRCSSCHED-07
Query Integrity
The following table contains the audits and resolutions for this area.
Query
QUERY-01
Description
Resolution
187
Chapter 9
Query
Description
Resolution
QUERY-02
QUERY-03
QUERY-04
QUERY-05
QUERY-06
QUERY-07
QUERY-08
188
Chapter 9
Query
Description
Resolution
QUERY-09
QUERY-10
QUERY-11
QUERY-11A
QUERY-12
QUERY-13
QUERY-14
QUERY-15
QUERY-16
QUERY-17
QUERY-18
189
Chapter 9
Query
Description
Resolution
QUERY-19
QUERY-20
QUERY-22
QUERY-23
QUERY-24
Record Integrity
The following table contains the audits and resolutions for this area.
Query
RECORD-1
RECORD-2
Description
Resolution
Either
RECORD-3
190
Chapter 9
Query
Description
Resolution
RECORD-4
RECORD-5
RECORD-6
RECORD-7
RECORD-8
RECORD-9
RECORD-11
RECORD-12
191
Chapter 9
Query
SYSLANG-01
Description
Base Language Records found in the
PSRECDEFNLANG table
Resolution
Run the following SQL from the
your SQL tool.
DELETE FROM PSRECDEFN
FROM PSRECDEFN LANG
WHERE Language_cd = (select
b.language_cd from psoptions)
SYSLANG-02
SYSLANG-03
192
SYSLANG-04
SYSLANG-05
Chapter 9
Query
Description
Resolution
SYSLANG-07
SYSLANG-08
SYSLANG-09
SYSLANG-10
SYSLANG-11
SYSLANG-12
SYSLANG-13
193
Chapter 9
Query
Description
Resolution
SYSLANG-14
SYSLANG-15
194
Chapter 9
SQL Integrity
The following table contains the audits and resolutions for this area.
Query
SQL-01
Description
SQL text without a base definition
Resolution
Can be fixed with:
DELETE FROM PSSQLTEXT
DEFN WHERE SQLID NOT IN
(SELECT DISTINCT S QLID
FROM PSSQLDEFN)
SQL-02
SQL-03
SQL-04
SQL-05
195
Chapter 9
Query
SQL-06
Description
AE SQL thats not referenced
Resolution
This reveals an Application Engine
SQL object that is not being
referenced by an AE program. This
indicates that the AE program was
deleted but the associated SQL was
not. The orphaned SQL will not
cause issues other than consuming
disk space.
If the orphaned SQL was delivered
by PeopleSoft, open an incident with
GSC to make sure that it is not a
symptom of a larger problem such as
a corrupted AE application.
SQL-07
SQL-08
Tree Integrity
The following table contains the audits and resolutions for this area.
196
Chapter 9
Query
Description
Resolution
TREE-01
TREE-02
TREE-03
TREE-04
TREE-05
TREE-06
TREE-07
TREE-08
TREE-09
TREE-10
TREE-11
197
Chapter 9
Query
Description
Resolution
TREE-12
TREE-13
TREE-14
TREE-15
TREE-16
198
Chapter 9
Query
TREE-17
Description
Tree Definition Node count does not
match record count in Tree Node
table
Resolution
Set the count in the Tree Definition
table to reflect the actual number of
the records in the PSTREENODE
table for this tree branch.
SELECT COUNT(*) FROM
PSTREENODE WHERE
TREE_NAME = tree_name
AND SETID = setid AND EFFDT
= effdt AND TREE_BRANCH =
tree_branch_name;
UPDATE PSTREEDEFN SET
NODE_COUNT = $count WHERE
TREE_NAME = tr ee_name AND
SETID = setid AND EFFDT =
effdt TREE_BRANCH = tree_b
ranch_name;
TREE-18
TREE-19
TREE-20
199
Chapter 9
Query
TREE-21
Description
Resolution
TREE-22
TREE-23
TREE-24
TREE-25
200
Chapter 9
Query
TREE-26
Description
Tree Leaf ranges not valid in Tree
Definition table
Resolution
Finds records in the PSTREELEAF
table where RANGE_FROM is less
than RANGE_TO.
Use Tree Manager to open the tree
and correct the invalid range values
TREE-27
TREE-28
TREE-29
TREE-30
TREE-31
TREE-32
TREE-33
201
Chapter 9
Query
Description
Resolution
TREE-34
TREE-35
202
Chapter 9
Translate Integrity
The following table contains the audits and resolutions for this area.
Query
Description
Resolution
XLATT-1
XLATT-3
PSLOCK Integrity
The following table contains the audits and resolutions for this area.
Query
Manager-< XXX >
Where XXX is the associated
three-letter code of the object type.
Description
Resolution
203
204
Chapter 9
CHAPTER 10
PeopleTools Utilities
This chapter discusses how to use:
Administration utilities.
Audit utilities.
Debug utilities.
International utilities.
Optimization utilities.
Administration Utilities
The following section covers the utilities under the Administration menu.
PeopleTools Options
Use this page to set a number of options that affect multiple PeopleTools and Applications,
such as Language Options and Change Control Settings.
205
PeopleTools Utilities
Chapter 10
Language Settings
Base Language Code
206
Chapter 10
PeopleTools Utilities
General Options
Disconnect Cursors After
XX Seconds
Multi-Company
Organization
Multi-Currency
Typically, you turn on this trace only during periods in which you are
collecting detailed performance metrics. When you are not tuning your
performance, the DB Optimizer trace should be turned off.
Grant Access
When adding a new operator using Security Administrator, the system will
automatically grant the new operator select-level access to the three
PeopleTools SQL tables they need to log on. If you are using a SQL
security package and do not want PeopleTools Security Administrator
to perform any SQL grants, turn off Grant Access.
207
PeopleTools Utilities
Platform Compatibility
Mode
Chapter 10
The value that you specify in the Temp Table Instances (Total) edit box,
controls the total number of physical temporary table instances that
Application Designer creates for a temporary table record definition
when you perform the Build process.
This value indicates the total number of undedicated temporary table instances.
The maximum number of temporary table instances that you can specify is 99.
208
Enter the available online instance values. When you invoke a process
online, PeopleTools randomly allocates a single temporary table instance
number to programX for all its dedicated temp table needs. The higher
the number of online instances defined, the less likely it will be for
two online processes to get the same value.
Chapter 10
PeopleTools Utilities
There is practical limit to how large a message can be. Enter the
maximum message size, this does not set individual message definition,
but defines the size for all application messages.
Although you can display time data a number of different ways, PeopleSoft
databases store all times relative to a system-wide base time zone. You can
adjust the display of the time that an end user sees using the Use Local
Time Zone (LTZONE) setting in PeopleTools, Personalizations.
This base time zone is the one used by the database server. In order
for PeopleSoft to properly manage time data, the system needs to
know which time zone that is. Set the Base Time Zone to the time
zone used by your database servers clock.
Note. After changing this setting, you should reboot any application
servers connected to the database. It is critical for the correct operation
of the system that this time zone match the time zone in which your
database is operating. Any discrepancy in the base time zone as
defined in this page and the time zone in which the database system is
operating will lead to inaccurate time processing.
209
PeopleTools Utilities
Chapter 10
Controls the size of the file attachments you store in the database.
The default is 28000 kilobytes.
Sets the limit on how many rows can be modified by an upgrade project
before the system issues a COMMIT statement.
Branding Application
Package
Branding Application Class The main branding application class that generates header, footer, and menu
pagelet icons. The default is the standard PeopleTools branding, BrandingBase.
For Enterprise Portal, a different branding application class from a different
branding application package is used. It generates different header, footers ,
and menu pagelet icons dynamically, based on the user role or security.
Help Options
FI Help URL
210
Chapter 10
PeopleTools Utilities
The Ctrl+F1 URL allows you to provide an alternate location for help.
For example, you may set the main F1 Help URL to the PeopleBook
and the Ctrl+F1 for your companys help site.
Message Catalog
You add and maintain system messages using the Message Catalog page.
PeopleSoft error messages are stored in the Message Catalog, and organized by message set number. Each
message set consists of a category of messages, ranging from PeopleTools Message Bar Items and PeopleCode
Runtime Messages to PeopleSoft Payroll and PeopleSoft General Ledger application messages.
PeopleTools uses some messages, but the applications use the other messages, which get called by the
Error, Warning, Message Box, MsgGet, and MsgGetText built-in PeopleCode functions.
Note. You can add your own messages and message sets to support new or customized functionality in
your system. You can also edit the messages that PeopleSoft delivers. In both of these cases, remember
that PeopleSoft reserves all message set numbers up to 20,000. If youve added a message set or edited a
message set with a number less than 20,000, it may be overwritten in future upgrades.
Description
Short Description
Message Number
211
PeopleTools Utilities
Severity
Chapter 10
You assign each message a Severity, which determines how the message
is displayed and how the component processor responds after the user
acknowledges message. The severity levels are:
Cancel This severity should be reserved for the most severe of messages, as
when a critical error occurs and the process must be aborted or a machine
needs to be shut down. To indicate how rarely this severity level is appropriate,
of all PeopleTools messages only five or so have a severity level of Cancel. In
almost all cases, you will use one of the other severity levels.
Error. Processing stopped and data can not be saved until the Error is corrected.
Message. This is an informational message and processing continues normally.
Warning. User can decide to either stop or continue processing despite the error.
Message Text
In the Message Text edit box, youll see the message text. Any
reference to the characters %n, as in %1 or %2, will be replaced by
parameter values provided by the system.
Explanation
212
Chapter 10
PeopleTools Utilities
Access the system level dictionary by selecting PeopleTools, Utilities, Administration, System Dictionary.
Select the All Languages tab to enter words that are valid across all languages. Select the Language
Specific tab for those words that are valid to a specific language.
213
PeopleTools Utilities
Chapter 10
SCLANG stores the dictionary language for which the word is considered valid. If the system
administrator chooses to store the word for all languages, this field is left blank.
SCWORD stores the actual word, with a maximum length of 40 characters.
Translate Values
You use the Translate Values interface to maintain the values in the translate table. If
allowed by your site security administrators, power users can now learn to add their own
pick lists (translate values) to an application.
Value
Effective Date
Status
Long Name
Short Name
See Also
PeopleSoft Application Designer, Creating Field Definitions, Using the Translate Table
214
Chapter 10
PeopleTools Utilities
215
PeopleTools Utilities
Chapter 10
Note. Shared caching can be used without running the LOADCACHE program, however you
would still need to load the cache through some other mechanism. If you do not pre-load the cache
then shared caching is equivalent to having no file cache at all. PeopleSoft strongly recommends
using the LOADCACHE program to load your file cache.
216
Run Control ID
Report Manager/Process
Monitor
After you invoke the program, you can use these links to monitor
the progress of the program run.
Output Directory
Specify a directory for the program to cache the metadata. The output
directory should be a temporary, or staging, directory, as in c:\temp. The
program creates the cache file in a cache\stage directory structure beneath
the specified temporary directory, and creates the cache file within it.
Chapter 10
PeopleTools Utilities
217
PeopleTools Utilities
Chapter 10
Database Name
Enter the database name into which you want to add the space.
Comment
Enter any internal documentation required to identify the space and its purpose.
Add
Enter or lookup the name of the SQL space you want to delete.
Delete
Enter or lookup the name of the SQL space you want to rename.
Comment
Enter any internal documentation required to identify the space and its purpose.
Rename
218
Chapter 10
PeopleTools Utilities
Platform ID
Sizing Set
Copy
219
PeopleTools Utilities
Chapter 10
Statement Type
The four statement types are CREATE TABLE, CREATE INDEX, CREATE
UNIQUE, and it looks like running update statistics. Some platforms have
all the statements, some do not. For example DB2 has all four statements.
SQLServer only has CREATE TABLE and CREATE INDEX.
Model SQL
Parameter Count
DDL Parm
The DDL Parm value is a value that the user can change.
The DDL Parameter value is a value that the user can change. Here you
can override the DDL parameter default values with your own for the
selected statement type. The statement type you want to change must be
open and have the focus in the Application Designer.
For example if you want to change the DDL Parm Values for Indexes,
set the statement type to Index, then open the record where the index
is located in Application Designer, and then change the DDL Parm
Value for the index in the chosen record.
Using the DDL Model Defaults page, you can maintain DDL model statements and default parameters for
Data Mover. The options you select on this page also apply to the Build function in Application Designer.
Using this utility, you can:
Scroll through all the statement types and platforms defined in the PSDDLMODEL table.
Change DDL model statements.
Add, delete, or change DDL parameters and values.
The Platform IDs are as follows:
Number
220
Platform
DB2
Oracle
Informix
DB2/UNIX
Sybase
Chapter 10
PeopleTools Utilities
Number
Platform
Microsoft
Note. There is no validation performed on the Model SQL statement, the DDL Parm syntax,
or the relationship between the statement and the parameters.
Strings Table
Select PeopleTools, Utilities, Administration, Strings Table.
The Strings Table page enables you to customize the column headings in your SQR reports.
String Source
String ID
Use the browse button to select the string ID to be used for your
column heading in your SQR report.
Default Label
The default label will be enabled if you select the RFT Long or RFT Short
string source, otherwise, the checkbox will be disabled.
221
PeopleTools Utilities
Chapter 10
Remember that fields can have multiple labels. Select the Default
Label option to ensure that the default label is used. If you do not use
the fields default label, you must select which of the fields labels
to use using the label properties button.
String Text
Enter the text for the custom column heading, This is the text that will
be displayed if you set the string source to Text.
Width
The Width defaults to the current width of the string you entered or selected.
Be sure to update the width based on the actual space available on your
report layout to avoid limiting a translator to an artificially short length,
which is likely to degrade the quality of their translation.
See Also
TableSet IDs
Select PeopleTools, Utilities, Administration, TableSet IDs.
Use this utility to create Set IDs. Before doing this:
Add the SETID field (as a key field) to the record definition for that table.
Define a Set Control Field as the field controlling the assignment of table sets.
SetID
222
Chapter 10
Description/Comments
PeopleTools Utilities
Description
Short Description
This will override alternate SetIDs entered so that the default will be used.
Record Description
TableSet Control
The following pages are used to control table sets.
223
PeopleTools Utilities
Chapter 10
Default SetID
This is the Set ID the system will use as you add additional record
definition groups to be shared within this table set.
SetID
Tree Page
Select PeopleTools, Utilities, Administration, TableSet Control, Tree.
Used to share Trees as well as tables and views.
Default SetID
The Default Set ID you assigned this field value is automatically displayed. If
you created another tableset for sharing trees, you can change this value.
Tree Name
Use the browse button to select from a list of only the tree definitions
that are defined with the same Set Control Field.
SetID
224
Chapter 10
PeopleTools Utilities
Scope Page
PeopleTools, Utilities, Administration, Convert Panels to Pages, Scope.
This utility helps you update panels you have developed for previous PeopleSoft releases
to reflect the pages used for the internet architecture.
Project List
Insert projects, containing panels you wish to convert, into this scroll. In
addition, if you are using the Apply Panel Group Defaults option, any panel
group that is contained in projects in this scroll will be processed. Note that
exceptions may be defined see the task titled, Project Exceptions.
Page List
Insert panels, that you want to convert to pages, into this scroll.
Project Exceptions
Page Exceptions
Options Page
PeopleTools, Utilities, Administration, Convert Panels to Pages, Scope.
Specify the options for your conversion process.
225
PeopleTools Utilities
Chapter 10
If you select this option, scroll to scroll area conversions will take
place for panels with scroll bars. If this is unchecked, no scroll to
scroll area conversion will take place.
Some scroll bars may exist with scroll action buttons already defined.
This option determines whether these scrolls should be converted or
ignored. If they are converted, the scroll action buttons are removed
before the scroll bar is converted to a scroll area.
If you select this option, scrolls with scroll action buttons will be converted. If
this options is not checked, scrolls with scroll action buttons will be ignored.
226
If you select this option, level 1 scrolls will be converted to scroll areas.
If you select this option, level 2 scrolls will be converted to scroll areas.
If you select this option, level 3 scrolls will be converted to scroll areas.
Max # Scrolls
Chapter 10
PeopleTools Utilities
If you select this option, the style sheet associated with a panel is updated
with a blank value, so that the panels style sheet will default from
PSOPTIONS.STYLESHEETNAME (PSSTYLEDEF).
Apply
Frame/Horz?GrpBox
Styles
If you select this option, the conversion process looks for frames, group
boxes, and horizontal rules that have no styles associated with them,
and that appear to be associated with a specific scroll area by virtue of
their position within a scroll area. It then assigns level-specific styles,
based on the occurs level of the scroll area.
Convert Frames to
Horizontal
Horizontal lines are a new page object for PeopleSoft 8. If you select
this option, the conversion process looks for frames on the panel
with upper and lower coordinates less than 9 grid units apart. These
frames are then converted to Horizonal Lines.
If you select this option, the process removes all frames on the converted panel.
Note. If Convert Frames to Horizontal and Delete All Frames are
both checked, the conversion from frame to horizontal will take place
first, then any remaining frames are deleted.
This applies to grids on a panel being converted. If you select this option, the
conversion process determines if grids on the panel have their Odd/Even Style
turned on. If it is not turned on, the conversion process will turn this option on.
This option applies to edit box fields that are not invisible and are not
display-only. If you select this option, the conversion process turns on the
Show Prompt Button option for edit box fields that have it turned off.
Used to apply standard defaults to component definitions. The defaults that are
set are dependent on the Use characteristics of the component. See Application
Designer, Component Properties/Use and Component Properties/Internet tabs.
Turn Off Show Grid Lines Turns off the Show Grid Lines option for grids that have it checked on.
Language Code
Enables you to convert panels whose language code differs from that in
PSOPTIONS. Select a language code from the drop down menu.
Update Utilities
The Update utilities enable you to keep track of the PeopleSoft updates youve applied to your database.
227
PeopleTools Utilities
Chapter 10
Updates By Update ID
The update ID refers to the patch or project name you applied to your system. The update
ID is typically the report ID for a TPRD incident.
228
Name
Database Type
Description
Server
Database
Local Connect
One connection must defined as the Local Connect for the current PeopleSoft
instance (the local database). Check this to specify which database is your local.
Chapter 10
PeopleTools Utilities
DB Server Port
User ID
Password
Test Connection
Connection Type
For Oracle database type only. TNS Names or Specific. TNS Names represent
a preconfigured file (tnsnames.ora) that consists of previously defined
database connection information. Enter Specific if you want to setup a
database that does not already have a TNS Entry defined.
TNS Entry
URL Maintenance
PeopleTools, Utilities, Administration, URLs.
Use the URL Table to store URL addresses and to simplify specifying and updating URLs.
URLs saved here can be referenced from page controls such as a push button/hyperlink. The
associated URL can be either an internet or intranet hyperlink.
Description
229
PeopleTools Utilities
Chapter 10
URL
Comments
230
Chapter 10
PeopleTools Utilities
When you want to copy the file attachment archive from one location to
another, enter the record or directory where the files are currently stored.
Destination
Copy
Query Monitor
The Query Monitor is used to track the queries that users execute in your system. It enables you perform
such tasks as identify queries that need to have logging turned off or need to be tuned.
Sync ID Utilities
The Sync ID Utilities are used exclusively with the PeopleSoft Mobile Applications technology.
231
PeopleTools Utilities
Chapter 10
See Also
PeopleTools Mobile Agent PeopleBook, Understanding PeopleTools Mobile Agent, Data Synchronization
Audit Utilities
This section covers the utilities used for auditing your systems integrity.
232
Chapter 10
PeopleTools Utilities
PeopleCode referring
to this
See Also
Chapter 9, Data Integrity Tools, SYSAUDIT, page 167
See Also
Chapter 11, Database Level Auditing, Understanding Database Level Auditing, page 243
233
PeopleTools Utilities
Chapter 10
Debug Utilities
This section describes the testing utilities.
You use the Remote Call Test button to test your Remote Call configuration.
The Delivered Class File button tests java PeopleCode integration. It tests to
see that java is being executed correctly through PeopleCode. The Delivered
Class File button tests a java class that is shipped with PeopleSoft 8.
FTP Site
Enter the full path and password for your test file. For example:
FTP://YourFTPUser:YourFTPPassword@YourComputerName
/YourDirectory/Path
Attached File
234
Click this button to attach the file whose path you indicated in the FTP Site.
Chapter 10
PeopleTools Utilities
File Path
Enter the full file path for where you want the crash dump file to be saved.
Enter the name of the crash dump file, so that you can identify it later.
Comments
Replay
Click this button to replay the crash dump file. You can only replay the
crash dump file when you are signed on to the system using a three-tier
Windows client, not while logged into the internet architecture.
Trace PeopleCode
You use this page to change your PeopleCode tracing options while online. This page does not affect
trace options set in Configuration Manager. Use Trace PeopleCode to create a file displaying information
about PeopleCode programs processed from the time you start the trace.
Note. The Trace PeopleCode utility has largely been made obsolete by the introduction of the PeopleCode
debugger. For reasons of upgrade compatibility, Trace PeopleCode is still in place.
235
PeopleTools Utilities
Chapter 10
Select this checkbox to show the starting and ending points of the program.
Select this checkbox to show the calls to PeopleTools built in function calls.
Show Assignments to
Variables
Show Stack
Note. The Trace PeopleCode Utility decreases system performance due to the overhead that occurs
during the monitoring and recording of all PeopleCode actions.
The checkboxes on this page correspond to the options on the Trace tab in Configuration
Manager. However, the selections that appear on this page do not necessarily reflect those made
in Configuration Manager. While the Configuration Manager settings are stored in the Windows
registry and used each signon, the settings in the Utilities page only apply to the current online
session, and, once set, they override the Configuration Managers settings.
The benefit of using this page to control PeopleCode tracing is that you can turn it on and off without
having to restart PeopleTools, and without resetting your Configuration Manager settings. Keep in
mind, though, your selections are not enabled until you save the page.
To enable/disable PeopleCode tracing while on line
1. Select PeopleTools, Utilities, Debug, Trace PeopleCode.
The Trace PeopleCode page appears.
2. Select/deselect the desired Options.
3. Save the page.
If you selected any of the checkboxes, the system will start writing to the trace file.
Trace SQL
You use this page to change your SQL tracing options while online. Your Configuration
Manager settings will not be affected.
236
Chapter 10
PeopleTools Utilities
Shows Bind values for SQL statements that have parameter markers.
Low level tracing at the database API (ODBC, ct-lib, and so on.)
The checkboxes on the Trace SQL page correspond to options on the Trace tab in the Configuration Manager.
However, the selections showing in this page do not necessarily reflect those made in the Configuration
Manager. The displayed page selections are not enabled until you save the page.
To enable/disable SQL tracing while on line:
1. Select/deselect the desired trace options.
2. Save the page.
If you selected any of the checkboxes, the system will start writing to the trace file.
Trace Page
This page is no longer actively used or maintained.
237
PeopleTools Utilities
Chapter 10
International Utilities
The following sections cover the utilities used in your Globalization efforts.
Preferences
Used to override the language selected when you signed onto the database.
Language Preference
Enter the field size to expand (or contract) the field size for foreign fields.
See Also
PeopleTools Global Technology, Controlling Currency Display Format, Resizing Currency
Fields Using the International Field Size Utility
Time Zones
This utility has been extensively documented in the Globalization PeopleBook.
238
Chapter 10
PeopleTools Utilities
Manage Languages
Use the Manage Installed Languages page as a central utility to manage language
information for the currently enabled languages.
Use the browse button to select the language code from the XLATTABLE
table. The language description will appear to the right of the code field.
Installed
Character Set
This field is required. Use the browse button to select the character
set from the PSCHARSETS table.
Verity Locale
Enables you to match the installed language with the appropriate Verity
locale to enable proper search capabilities within the browser.
Optimization Utilities
The Optimization utilities are documented extensively in the Optimization Framework PeopleBook.
PeopleSoft Ping
The PeopleSoft Ping feature collects timestamps by sending a specific page to different tiers of the PeopleSoft
systemstarting at the browser, then going to the web server, the application server, the database and back. The
timestamps collected are total time elapsed for the round trip, and arrival and departure time at each of the tiers.
239
PeopleTools Utilities
Chapter 10
To use the PeopleSoft Ping feature, select PeopleTools, Utilities, PeopleSoft Ping. Enter a new
or existing Test Case Identifier to show the following page.
After you have specified a test case identifier, enter a value for Repeat Time Interval.To avoid
creating unnecessary traffic and overhead to the PeopleSoft system, set the Repeat Time
Interval to a relatively high value such as 600 1800 second during normal operations. You
may need to increase the Session Timeout value accordingly.
To delete a ping page test case, select PeopleSoft Ping Delete. Select the appropriate checkbox.
240
Chapter 10
PeopleTools Utilities
The Delete page lists the test case identifiers. Select the checkbox next to the desired
test case identifiers to delete a test case.
241
PeopleTools Utilities
242
Chapter 10
CHAPTER 11
The base record is the record that you want to monitor, or audit, as in
PS_ABSENCE_HIST. Presumably, the base record contains fields that you
want to monitor. PeopleSoft recommends limiting the auditing of tables to
the application tables and avoid auditing PeopleTools tables.
243
Chapter 11
Audit Record
The audit record is a custom record that you create with PeopleSoft
Application Designer. It stores the audit information for the fields on the base
record that the trigger collects. Audit records begin with an AUDIT_ prefix.
Trigger
The trigger is the mechanism that a user invokes upon making a change
to a specified field. The trigger stores the audit information in the audit
table. PeopleSoft enables you to create triggers. A sample name for a
trigger might me PS_ABSENCE_HIST_TR.
Note. If you modify the record definition of the base record, then you must modify to
the audit record and recreate the associated trigger.
244
Purpose
Identifies the user who caused the system to trigger the
auditseither by performing an add, change, or delete to
an audited field.
Chapter 11
Purpose
AUDIT_STAMP
AUDIT_ACTN
The audit table does not have to include all the columns of the base table. In fact, for performance
reasons, its best to only include those fields in your audit record that are deemed "sensitive"
or significant. When adding fields to your audit record, PeopleSoft recommends that you
conform to the order that they appear in the base record.
Note. This functionality allows SQL Server requirement of not including ntext, text columns in the
trigger syntax. Oracle also has a requirement to exclude longs from audit records.
The following example compares the base table to the audit table, showing the audit-specific
fields and the fields that are to be audited in the audit table.
Base Table PS_ABSENCE_HIST
EMPLID
EMPLID
ABSENCE_TYPE
ABSENCE_TYPE
BEGIN_DT
RETURN_DT
DURATION_DAYS
DURATION_HOURS
245
Chapter 11
PAID_UNPAID
EMPLOYER_APPROVED
COMMENTS
Note. Text and image fields are not allowed for the Comments field. For Microsoft SQL Server 7
the AUDIT_OPRID field should be defined to accept NULL values.
Once you save the record definition, you need to run the SQL Build procedure to
build the SQL table in your RDBMS.
The following is an example of a SQL script for an audit record that would audit the PS_ABSENCE_HIST table:
-- WARNING:
--- This script should not be run in Data Mover.
-- SQL query tool included with your database engine to process this script.
-USE PT8A
go
SET IMPLICIT_TRANSACTIONS ON
go
IF EXISTS (SELECT X FROM SYSOBJECTS WHERE TYPE = U AND NAME =
PS_AUDIT_ABSENCE) DROP TABLE PS_AUDIT_ABSENCE
go
CREATE TABLE PS_AUDIT_ABSENCE (AUDIT_OPRID CHAR(8) NULL,
AUDIT_STAMP PSDATETIME NOT NULL,
AUDIT_ACTN CHAR(1) NOT NULL,
AUDIT_RECNAME CHAR(15) NOT NULL,
EMPLID CHAR(11) NOT NULL,
246
Chapter 11
COMMENTS TEXT NULL) Text and Image Fields are not allowed
go
COMMIT
Go
If COMMENTS is not allowed during the actual creation of the audit table you should drop the
column or not choose the column when creating the audit table definition.
PeopleSoft recommends that you delete the generated index script. Deleting the index eliminates
the possibility of the duplicates causing trigger to fail.
Use the Browse button to search the PSRECDEFN table. The Audit
name must exist before a trigger can be created.
Trigger name
Audit Options
247
Chapter 11
Click this button when you have completed the previous fields to
generate the Trigger Statement.
248
If you select this checkbox, the Application Engine writes the Create Trigger
statement to a file for every row in PSTRIGGERDEFN.
Create Triggers on
Specify the particular table that the Trigger statement should be created for.
Chapter 11
AUDIT_ACTN EMPLID
ABSENCE_TYPE BEGIN_
GORD
CNF
1981-
BARNEY07
8001
CNF
1981-
2000-01-11 16:25:36.123
249
Chapter 11
09-12 00:00:00.000
BARNEY07
2000-01-11 16:25:36.123
03-02 00:00:00.000
8001
CNF
1983-
BARNEY07
2000-01-11 16:25:36.123
08-26 00:00:00.000
8001
CNF
1983-
BARNEY07
2000-01-11 16:25:36.133
09-12 00:00:00.000
8001
VAC
1981-
BARNEY07
2000-01-11 16:25:36.133
03-02 00:00:00.000
8001
VAC
1983-
BARNEY07
2000-01-11 16:25:36.133
08-26 00:00:00.000
8001
VAC
1983-
BARNEY07
2000-01-11 16:25:40.790
09-12 00:00:00.000
GORD
CNF
1981-
RETURN_DT
PAID_UNPAID
1981-09-26 00:00:00.000
P
14
.0
1981-09-26 00:00:00.000
P
14
.0
1983-03-07 00:00:00.000
P
.0
1983-09-10 00:00:00.000
P
13
2.0
1981-09-26 00:00:00.000
P
14
.0
1983-03-07 00:00:00.000
P
.0
1983-09-10 00:00:00.000
P
13
2.0
1981-09-26 00:00:00.000
P
14
.0
None
EMPLOYER_APPROVED COMMENTS
----------------- ----------------------------Y
250
Chapter 11
Y
Y
Y
This is an update
This is an update
This is an update
Note. For Microsoft SQL Server 7 the AUDIT_OPRID field value will be NULL.
251
Chapter 11
Query Criteria
Query SQL
252
Chapter 11
Query Results
Query Criteria
Set up a prompt for User ID against the PSOPRDEFN table. That way when you run the query you
can specify a particular User ID. In this case, the query focuses on User ID VP1.
253
Chapter 11
Specifying a User ID
Query Criteria
254
Chapter 11
The subquery selects distinct User ID from PSOPRDEFN. The SQL for the query should look like the following.
Query SQL
Query Results
Query Criteria
255
Chapter 11
The prompts for the AUDIT_STAMP need to have the type changed from date/time to date. This enables
the query to take advantage of the calendar control as a prompt mechanism.
The results of the query are as follows.
Query Results
256
Chapter 11
Note. For Microsoft SQL Server, Image and Text Columns in tables cant be selected
from the trigger tables INSERTED and DELETED.
257
Chapter 11
SET @XTYPE = I
END
END
-- Transaction is a Delete
IF (@XTYPE = D)
BEGIN
INSERT INTO PS_AUDIT_ABSENCE
(AUDIT_OPRID,AUDIT_STAMP,AUDIT_ACTN,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED)
SELECT @OPRID,getdate(),D,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED FROM deleted
END
-- Transaction is a Insert
IF (@XTYPE = I)
BEGIN
INSERT INTO PS_AUDIT_ABSENCE
(AUDIT_OPRID,AUDIT_STAMP,AUDIT_ACTN,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED)
SELECT @OPRID,getdate(),I,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED FROM inserted
END
-- Transaction is a Update
IF (@XTYPE = U)
BEGIN
-- Before Update
INSERT INTO PS_AUDIT_ABSENCE
(AUDIT_OPRID,AUDIT_STAMP,AUDIT_ACTN,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED)
258
Chapter 11
SELECT @OPRID,getdate(),B,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED FROM deleted
-- After Update
INSERT INTO PS_AUDIT_ABSENCE
(AUDIT_OPRID,AUDIT_STAMP,AUDIT_ACTN,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED)
SELECT @OPRID,getdate(),A,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED FROM inserted
END
259
Chapter 11
END
IF EXISTS (SELECT * FROM INSERTED)
BEGIN
IF (@XTYPE = D)
BEGIN
SET @XTYPE = U
END
ELSE
BEGIN
SET @XTYPE = I
END
END
-- Transaction is a Delete
IF (@XTYPE = D)
BEGIN
INSERT INTO PS_AUDIT_ABSENCE
(AUDIT_OPRID,AUDIT_STAMP,AUDIT_ACTN,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED,COMMENTS)
SELECT @OPRID,getdate(),D,
A.EMPLID,A.ABSENCE_TYPE,A.BEGIN_DT,A.RETURN_DT,A.DURATION_DAYS,
A.DURATION_HOURS,A.REASON,A.PAID_UNPAID,A.EMPLOYER_APPROVED,
FROM deleted A
END
-- Transaction is a Insert
IF (@XTYPE = I)
BEGIN
INSERT INTO PS_AUDIT_ABSENCE
(AUDIT_OPRID,AUDIT_STAMP,AUDIT_ACTN,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED,COMMENTS)
SELECT @OPRID,getdate(),I,
260
Chapter 11
A.EMPLID,A.ABSENCE_TYPE,A.BEGIN_DT,A.RETURN_DT,A.DURATION_DAYS,
A.DURATION_HOURS,A.REASON,A.PAID_UNPAID,A.EMPLOYER_APPROVED,B.COMMENTS
FROM inserted A, PS_ABSENCE_HIST B
WHERE A.EMPLID = B.EMPLID
AND A.ABSENCE_TYPE = B.ABSENCE_TYPE
AND A.BEGIN_DT = B.BEGIN_DT
END
-- Transaction is a Update
IF (@XTYPE = U)
BEGIN
-- Before Update
INSERT INTO PS_AUDIT_ABSENCE
(AUDIT_OPRID,AUDIT_STAMP,AUDIT_ACTN,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED,COMMENTS)
SELECT @OPRID,getdate(),B,
A.EMPLID,A.ABSENCE_TYPE,A.BEGIN_DT,A.RETURN_DT,A.DURATION_DAYS,
A.DURATION_HOURS,A.REASON,A.PAID_UNPAID,A.EMPLOYER_APPROVED,
FROM deleted A
-- After Update
INSERT INTO PS_AUDIT_ABSENCE
(AUDIT_OPRID,AUDIT_STAMP,AUDIT_ACTN,
EMPLID,ABSENCE_TYPE,BEGIN_DT,RETURN_DT,DURATION_DAYS,
DURATION_HOURS,REASON,PAID_UNPAID,EMPLOYER_APPROVED,COMMENTS)
SELECT @OPRID,getdate(),A,
A.EMPLID,A.ABSENCE_TYPE,A.BEGIN_DT,A.RETURN_DT,A.DURATION_DAYS,
A.DURATION_HOURS,A.REASON,A.PAID_UNPAID,A.EMPLOYER_APPROVED,B.COMMENTS
FROM inserted A, PS_ABSENCE_HIST B
WHERE A.EMPLID = B.EMPLID
AND A.ABSENCE_TYPE = B.ABSENCE_TYPE
AND A.BEGIN_DT = B.BEGIN_DT
END
261
Chapter 11
Returns the type or types of triggers defined on the specified table for the current database.
sp_help TRIGGERNAME
Reports information about a database object (any object listed in the sysobjects table), a user-defined
data type, or a data type supplied by Microsoft SQL Server.
To Remove a Trigger
To remove a trigger:
drop trigger TRIGGERNAME
To Disable a Trigger
To disable a trigger:
ALTER TABLE table
{ALL | trigger_name[,...n]}
{ENABLE | DISABLE } TRIGGER - Specifies that trigger_name is enabled or disabled. When a trigger
is disabled it is still defined for the table; however, when INSERT, UPDATE or DELETE statements are
executed against the table, the actions in the trigger are not performed until the trigger is reenabled.
ALL. Specifies that all triggers in the table are enabled or disabled.
trigger_name. Specifies the name of the trigger to disable or enable.
262
Chapter 11
263
Chapter 11
264
Chapter 11
Reports information about a database object (any object listed in the sysobjects table), a user-defined
data type, or a data type supplied by Microsoft SQL Server.
To Remove a Trigger
To remove a trigger:
drop trigger TRIGGERNAME
To Disable a Trigger
To disable a trigger:
ALTER TABLE table
{ENABLE | DISABLE } TRIGGER specifies that trigger_name is enabled or disabled. When a trigger
is disabled it is still defined for the table; however, when INSERT, UPDATE or DELETE statements are
executed against the table, the actions in the trigger are not performed until the trigger is enabled.
ALL. Specifies that all triggers in the table are enabled or disabled.
trigger_name. Specifies the name of the trigger to disable or enable.
Oracle
This section describes Oracle triggers syntax and maintenance:
The triggers generated on the Oracle platform reference a function that PeopleSoft delivers to
obtain the PS_OPRID. This function must be installed into the Oracle database schema for the
PeopleSoft database prior to creating the trigger. This function can be installed by executing
the following SQL as the PeopleSoft database owner ID:
$PS_HOME\scripts\getpsoprid.sql
*/
*/
/*
*/
265
Chapter 11
/*
*/
/*
*/
*/
*/
/* Date: 2000-04-07
*/
begin
if ( length(v_client_info) IS NULL ) then
return(!NoOPRID);
end if;
if ( substr(v_client_info,1,1) = , ) then
return(!NoOPRID);
end if;
i := 1;
while ( (substr(v_client_info,i,1)) <> , and i < 10) loop
i := i + 1;
end loop;
if ( i > 9 ) then
return(!NoOPRID);
else
i := i - 1;
return (substr (v_client_info, 1, i));
end if;
end GET_PS_OPRID;
/
grant execute on GET_PS_OPRID to public
/
/* If Transaction is an Insert Or Update
*/
/*
*/
*/
/*
*/
266
Chapter 11
:NEW.EMPLID
:NEW.ABSENCE_TYPE
:NEW.BEGIN_DT
:NEW.RETURN_DT
:NEW.DURATION_DAYS
:NEW.DURATION_HOURS
:NEW.REASON
:NEW.PAID_UNPAID
:NEW.EMPLOYER_APPROVED
);
ELSE
IF :NEW.EMPLID IS NULL
THEN
INSERT INTO PS_AUDIT_ABSENCE
VALUES (
GET_PS_OPRID(V_AUDIT_OPRID) ,
SYSDATE
267
Chapter 11
:OLD.EMPLID
:OLD.ABSENCE_TYPE
:OLD.BEGIN_DT
:OLD.RETURN_DT
:OLD.DURATION_DAYS
:OLD.DURATION_HOURS
:OLD.REASON
:OLD.PAID_UNPAID
:OLD.EMPLOYER_APPROVED
);
ELSE
INSERT INTO PS_AUDIT_ABSENCE
VALUES (
GET_PS_OPRID(V_AUDIT_OPRID) ,
SYSDATE
:OLD.EMPLID
:OLD.ABSENCE_TYPE
:OLD.BEGIN_DT
:OLD.RETURN_DT
:OLD.DURATION_DAYS
:OLD.DURATION_HOURS
:OLD.REASON
:OLD.PAID_UNPAID
:OLD.EMPLOYER_APPROVED
);
INSERT INTO PS_AUDIT_ABSENCE
VALUES (
GET_PS_OPRID(V_AUDIT_OPRID) ,
268
SYSDATE
Chapter 11
:NEW.EMPLID
:NEW.ABSENCE_TYPE
:NEW.BEGIN_DT
:NEW.RETURN_DT
:NEW.DURATION_DAYS
:NEW.DURATION_HOURS
:NEW.REASON
:NEW.PAID_UNPAID
:NEW.EMPLOYER_APPROVED
);
END IF;
END IF;
END PS_ABSENCE_HIST_TR;
/
Null?
Type
-------------------------------
--------
----
TRIGGER_NAME
NOT NULL
VARCHAR2(30)
TRIGGER_TYPE
VARCHAR2(16)
269
Chapter 11
TRIGGERING_EVENT
VARCHAR2(26)
TABLE_OWNER
NOT NULL
VARCHAR2(30)
TABLE_NAME
NOT NULL
VARCHAR2(30)
REFERENCING_NAMES
VARCHAR2(87)
WHEN_CLAUSE
VARCHAR2(4000)
STATUS
VARCHAR2(8)
DESCRIPTION
VARCHAR2(4000)
TRIGGER_BODY
LONG
ALL_TRIGGERS
SQL> desc all_triggers;
Name
Null?
Type
-------------------------------
--------
----
OWNER
NOT NULL
VARCHAR2(30)
TRIGGER_NAME
NOT NULL
VARCHAR2(30)
TRIGGER_TYPE
VARCHAR2(16)
TRIGGERING_EVENT
VARCHAR2(26)
TABLE_OWNER
NOT NULL
VARCHAR2(30)
TABLE_NAME
NOT NULL
VARCHAR2(30)
REFERENCING_NAMES
VARCHAR2(87)
WHEN_CLAUSE
VARCHAR2(4000)
STATUS
VARCHAR2(8)
DESCRIPTION
VARCHAR2(4000)
TRIGGER_BODY
LONG
DBA_TRIGGERS
SQL> descr dba_triggers;
270
Name
Null?
Type
-------------------------------
--------
----
OWNER
NOT NULL
VARCHAR2(30)
TRIGGER_NAME
NOT NULL
VARCHAR2(30)
TRIGGER_TYPE
VARCHAR2(16)
TRIGGERING_EVENT
VARCHAR2(26)
Chapter 11
TABLE_OWNER
NOT NULL
VARCHAR2(30)
TABLE_NAME
NOT NULL
VARCHAR2(30)
REFERENCING_NAMES
VARCHAR2(87)
WHEN_CLAUSE
VARCHAR2(4000)
STATUS
VARCHAR2(8)
DESCRIPTION
VARCHAR2(4000)
TRIGGER_BODY
LONG
The new column, BASE_OBJECT_TYPE, specifies whether the trigger is based on DATABASE, SCHEMA,
table, or view. The old column, TABLE_NAME, is null if the base object is not table or view.
The column ACTION_TYPE specifies whether the trigger is a call type trigger or a PL/SQL trigger.
The column TRIGGER_TYPE includes two additional values: BEFORE EVENT and
AFTER EVENT, applicable only to system events.
The column TRIGGERING_EVENT includes all system and DML events.
Trigger_Body
To Remove a Trigger
To remove a trigger:
drop trigger TRIGGERNAME
To Disable a Trigger
By default, triggers are enabled when first created. Disable a trigger using the ALTER
TRIGGER statement with the DISABLE option.
For example, to disable the trigger named REORDER of the INVENTORY table, enter the following statement:
ALTER TRIGGER Reorder DISABLE;
271
Chapter 11
All triggers associated with a table can be disabled with one statement using the ALTER TABLE
statement with the DISABLE clause and the ALL TRIGGERS option. For example, to disable all
triggers defined for the INVENTORY table, enter the following statement:
ALTER TABLE Inventory
DISABLE ALL TRIGGERS;
CEEENTRY AUTO=WORKSIZE,MAIN=YES,PLIST=OS
USING WORKAREA,R13
*
LR
R6,R1
LA
R10,XIFCA
LA
R9,XWQAL
USING IFCA,R10
USING WQAL,R9
XC
0(LXIFCA,R10),0(R10)
XC
0(LXWQAL,R9),0(R9)
MVC
IFCAID,=CL4IFCA
*
*
272
EYE CATCHER
Chapter 11
MVC
MVC
IFCAOWNR,=CL4PSOFT
MVC
MVC
WQALLEN,=AL2(WQALLN5)
MVC
WQALACE,=XL45C
MVC
RETALEN,=F32004
MVC
AIFICMD,=A(READSCMD) BUILD
LA
R3,XIFCA
ST
R3,AIFCA
LA
R4,RETAREA
ST
R4,ARETAREA
MVC
AIFCID,=A(XIFCID)
LA
R5,XWQAL
READS
ST
R5,AWQAL
FOR
OI
AWQAL,X80
LA
R1,IFIPARMS
R15,=V(DSNWLI)
BALR
R14,R15
MVC
OPRIDLEN,=H16
MVC
OPRIDIND,=H0
CLC
IFCARC1,=F0
BNE
AUDIT30
CLC
IFCABM,=F0
BE
AUDIT35
LENGTH
THE
PARMLIST
FOR
THE
IFI
IFCID=147
*
PARMLIST FOR READS CALL
273
Chapter 11
*
LA
R4,4(,R4)
USING QWIW,R4
CLC
QWIWLEN,=H0
BE
AUDIT40
DROP
R4
LA
R4,4(0,R4)
*
ADDRESS SELF DEFINING SECTION
USING QWA0,R4
CLC
QWA01PSO,=F0
BE
AUDIT50
R4,QWA01PSO
DROP
R4
R4,=F4
USING QWHS,R4
CLC
QWHSLEN,=H0
BE
AUDIT60
NO
MVC
HDRTYPE,QWHSTYP
CLI
QWHSTYP,QWHSHS01
BNE
AUDIT65
NO
AH
R4,QWHSLEN
DROP
R4
USING QWHC,R4
CLC
QWHCLEN,=H0
COORELATION HEADER
BE
AUDIT70
NO
MVC
HDRTYPE,QWHCTYP
CLI
QWHCTYP,QWHSHC02
274
Chapter 11
BNE
AUDIT75
NO
MVC
OPRIDVAL,QWHCEUID
DROP
R4
EQU
*
AUDIT20
L
R5,4(,R6)
R6,0(,R6)
MVC
0(18,R6),OPRID
RESULT IS VARCHAR(16)
MVC
0(2,R5),OPRIDIND
*
CEETERM
RC=0
*
AUDIT30
EQU
MVC
MVC
MVC
MVC
B
*
OPRIDVAL(4),=CL4RC1=
OPRIDVAL+4(4),IFCARC1
OPRIDVAL+8(4),=CL4RC2=
OPRIDVAL+12(4),IFCARC2
AUDIT20
*
AUDIT35
EQU
MVC
AUDIT40
AUDIT20
EQU
*
OPRIDVAL,=CL16QWIWLEN=0
AUDIT20
EQU
MVC
AUDIT60
OPRIDVAL,=CL16IFCABM=0
MVC
AUDIT50
OPRIDVAL,=CL16QWA11PSO=0
AUDIT20
EQU
MVC
275
AUDIT65
Chapter 11
AUDIT20
EQU
MVC
MVC
B
AUDIT70
OPRIDVAL+14(1),HDRTYPE
AUDIT20
EQU
MVC
AUDIT75
*
OPRIDVAL,=CL16NO QWHC COOR HDR
AUDIT20
EQU
MVC
MVC
B
OPRIDVAL+14(1),HDRTYPE
AUDIT20
*
*******************************************************************
*
*******************************************************************
YREGS
PPA
CEEPPA
READSCMD DC
CL8READS
XIFCID
AL2(XIFCIDL)
XIFCIDL
DC
DC
H0
RESERVED
DC
H147
EQU
*-XIFCID
LTORG ,
*
WORKAREA DSECT
ORG
*+CEEDSASZ
*
OPRID
276
DS
0F
OPRIDLEN DS
LENGTH
OPRIDVAL DS
CL16
Chapter 11
OPRIDIND DS
*
HDRTYPE
DS
DS
X
3X
*
IFIPARMS DS
0F
AIFICMD
DS
A(READSCMD)
READS COMMAND
AIFCA
DS
A(XIFCA)
ARETAREA DS
A(RETAREA)
AIFCID
DS
A(XIFCID)
AWQAL
DS
A(XWQAL)
XIFCA
DS
XL(IFCEND-IFCA)
XWQAL
DS
XL(WQALEND-WQAL)
RETAREA
DS
0C
RETALEN
DS
RETRECS
DS
XL32000
WORKSIZE EQU
*-WORKAREA
*
DSNDIFCA ,
MAPPING OF IFI-COMM-AREA
DSNDWQAL ,
MAPPING OF IFCID-QUAL-AREA
DSNDQWIW ,
MAPPING OF IFI-WRITER-HEADER
DSNDQWA0 ,
DSNDQWHS ,
DSNDQWHC ,
CEEDSA ,
CEECAA ,
END
AUDIT01
277
//PROC
Chapter 11
JCLLIB ORDER=(PSHLQ.PPVVV.PROCLIB)
//AUDIT01
EXEC PSASM,PSLIST=*,MEM=AUDIT01,
//
PSCOPY= PSHLQ.PPVVV.COPYLIB,
//
Source Code
PSSRCE= PSHLQ.PPVVV.SOURCE,
//
PSLOAD=SYS2.WLMDSND.LOAD,
the subsystem
//
MACLIB2=CEE.SCEEMAC,
//
MACLIB3=DSN610.SDSNMACS,
//
LKEDLIB=CEE.SCEELKED,
//
LKEDLIB2=DSN610.SDSNLOAD
//*
//ASM.SYSLIB
DD
DISP=SHR,DSN=&MACLIB
//
DD
DISP=SHR,DSN=&MACLIB2
//
DD
DISP=SHR,DSN=&MACLIB3
//
DD
DISP=SHR,DSN=&PSCOPY
//LKED.SYSLIB DD DISP=SHR,DSN=&LKEDLIB
//
DD DISP=SHR,DSN=&LKEDLIB2
//LKED.SYSLIN DD
//
DD
//LKED.SYSIN
DD *
DDNAME=SYSIN
INCLUDE SYSLIB(DSNRLI)
ENTRY AUDIT01
NAME AUDIT01(R)
/*
AUDIT01
Description:
Upon invoked from the trigger, it makes IFI READS call to get an
operator ID and pass the information back to the caller.
Note:
Module Type:
278
Chapter 11
AUDIT01
None
Output:
Operator ID
Ext Serv:
AUDIT01
STARTED
0 WLMDSND
If the function is not in Started status, you can start it using the Command:
-START FUNCTION SPECIFIC(PSOFT.AUDIT01)
279
AFTER
Chapter 11
INSERT ON PS_ABSENCE_HIST
280
Chapter 11
FROM SYSIBM.SYSTRIGGERS
To Remove a Trigger
To remove a trigger:
drop trigger TRIGGERNAME restrict
281
Chapter 11
See a complete definition in DB2 UDB for OS/390 V6.1 Books Online.
282
This element defines rules for granting paid time off for valid absences, such as sick
time, vacation, and maternity leave. An absence entitlement element defines the
entitlement amount, frequency, and entitlement period.
absence take
This element defines the conditions that must be met before a payee is entitled
to take paid time off.
account
accounting class
accounting date
The accounting date indicates when a transaction is recognized, as opposed to the date
the transaction actually occurred. The accounting date and transaction date can be the
same. The accounting date determines the period in the general ledger to which the
transaction is to be posted. You can only select an accounting date that falls within an
open period in the ledger to which you are posting. The accounting date for an item
is normally the invoice date.
accounting entry
accounting split
The accounting split method indicates how expenses are allocated or divided among
one or more sets of accounting ChartFields.
accumulator
You use an accumulator to store cumulative values of defined items as they are
processed. You can accumulate a single value over time or multiple values over
time. For example, an accumulator could consist of all voluntary deductions, or all
company deductions, enabling you to accumulate amounts. It allows total flexibility
for time periods and values accumulated.
action reason
activity
allocation rule
283
Glossary
from the current node to the root node, checking each node for plans that contain
allocation rules.
284
alternate account
A feature in PeopleSoft General Ledger that enables you to create a statutory chart
of accounts and enter statutory account transactions at the detail transaction level, as
required for recording and reporting by some national governments.
application agent
An application agent is an online agent that is loaded into memory with a PeopleSoft
page. It detects when a business rule has been triggered and determines the appropriate
action.
asset class
An asset group used for reporting purposes. It can be used in conjunction with the asset
category to refine asset classification.
attachment
background process
benchmark job
In PeopleSoft Workforce Analytics, a benchmark job is a job code for which there is
corresponding salary survey data from published, third-party sources.
branch
A tree node that rolls up to nodes above it in the hierarchy, as defined in PeopleSoft
Tree Manager.
An account used by the system only and not by users; this type of account does
not accept transactions. You can only budget with this account. Formerly called
system-maintained account.
budget check
budget control
budget period
The interval of time (such as 12 months or 4 quarters) into which a period is divided
for budgetary and reporting purposes. The ChartField allows maximum flexibility to
define operational accounting time periods without restriction to only one calendar.
business event
catalog item
category
ChartField
A field that stores a chart of accounts, resources, and so on, depending on the
PeopleSoft application. ChartField values represent individual account numbers,
department codes, and so forth.
ChartField balancing
You can require specific ChartFields to match up (balance) on the debit and the credit
side of a transaction.
Glossary
The process of editing journal lines for valid ChartField combinations based on
user-defined rules.
ChartKey
One or more fields that uniquely identify each row in a table. Some tables contain only
one field as the key, while others require a combination.
child
Class ChartField
A ChartField value that identifies a unique appropriation budget key when you
combine it with a fund, department ID, and program code, as well as a budget period.
Formerly called sub-classification.
clone
collection
To make a set of documents available for searching in Verity, you must first create
at least one collection. A collection is set of directories and files that allow search
application users to use the Verity search engine to quickly find and display source
documents that match search criteria. A collection is a set of statistics and pointers
to the source documents, stored in a proprietary format on a file server. Because a
collection can only store information for a single location, PeopleSoft maintains a set
of collections (one per language code) for each search index object.
compensation object
compensation structure
configuration parameter
catalog
configuration plan
content reference
Content references are pointers to content registered in the portal registry. These are
typically either URLs or iScripts. Content references fall into three categories: target
content, templates, and template pagelets.
context
corporate account
cost profile
A combination of a receipt cost method, a cost flow, and a deplete cost method. A
profile is associated with a cost book and determines how items in that book are
valued, as well as how the material movement of the item is valued for the book.
cost row
285
Glossary
data acquisition
data elements
Data elements, at their simplest level, define a subset of data and the rules by which
to group them.
For Workforce Analytics, data elements are rules that tell the system what measures to
retrieve about your workforce groups.
286
data row
Contains the entries for each field in a table. To identify each data row uniquely,
PeopleSoft applications use a key consisting of one or more fields in the table.
data validation
DAT file
This text file, used with the Verity search engine, contains all of the information from
documents that are searchable but not returned in the results list.
delivery method
distribution
If youre working with Japanese or other Asian employees, you can enter the
employees name using double-byte characters. The standard double byte character set
name format in PeopleSoft applications is: [last name] space [first name].
dynamic tree
A tree that takes its detail valuesdynamic detailsdirectly from a table in the database,
rather than from a range of values entered by the user.
edit table
A table in the database that has its own record definition, such as the Department table.
As fields are entered into a PeopleSoft application, they can be validated against an
edit table to ensure data integrity throughout the system.
effective date
EIM job
EIM ledger
equipment
Glossary
event
Events are predefined points either in the application processor flow or in the program
flow. As each point is encountered, the event activates each component, triggering any
PeopleCode program associated with that component and that event. Examples of
events are FieldChange, SavePreChange, and OnRouteSubscription. In PeopleSoft
Human Resources, event also refers to incidents that affect benefits eligibility.
external system
In PeopleSoft, any system that is not directly compiled with PeopleTools servers.
fact
In PeopleSoft applications, facts are numeric data values from fields from a source
database as well as an analytic application. A fact can be anything you want to measure
your business by, for example, revenue, actual, budget data, or sales numbers. A
fact is stored on a fact table.
filter
group
Any set of records associated under a single name or variable in order to run
calculations in PeopleSoft business processes. In PeopleSoft Time and Labor, for
example, employees are placed in groups for time reporting purposes.
homepage
Users can personalize the homepage, or the page that first appears when they access
the portal.
incentive object
incentive rule
In PeopleSoft Sales Incentive Management, the commands that act on transactions and
turn them into compensation. A rule is one part in the process of turning a transaction
into compensation.
key
One or more fields that uniquely identify each row in a table. Some tables contain only
one field as the key, while others require a combination.
learner group
learning activity
See activity.
learning history
learning plan
ledger mapping
You use ledger mapping to relate expense data from general ledger accounts to
resource objects. Multiple ledger line items can be mapped to one or more resource
IDs. You can also use ledger mapping to map dollar amounts (referred to as rates)
to business units. You can map the amounts in two different ways: an actual amount
that represents actual costs of the accounting period, or a budgeted amount that can be
used to calculate the capacity rates as well as budgeted model results. In PeopleSoft
Enterprise Warehouse, you can map general ledger accounts to the EW Ledger table.
287
Glossary
288
level
library section
linked section
linked variable
load
The feature that initiates a process to automatically load information into a PeopleSoft
applicationfor example, populating the PeopleSoft Benefits database with plan-level
election information.
local functionality
In PeopleSoft HRMS, the set of information that is available for a specific country.
You can access this information when you click the appropriate country flag in the
global window, or when you access it by a local country menu.
location
Locations enable you to indicate the different types of addressesfor a company, for
example, one address to receive bills, another for shipping, a third for postal deliveries,
and a separate street address. Each address has a different location number. The
primary locationindicated by a 1is the address you use most often and may be different
from the main address.
market template
material
message definition
meta-SQL
Meta-SQL constructs expand into platform-specific SQL substrings. They are used in
functions that pass SQL strings, such as in SQL objects, the SQLExec function, and
PeopleSoft Application Engine programs.
metastring
Metastrings are special expressions included in SQL string literals. The metastrings,
prefixed with a percent (%) symbol, are included directly in the string literals. They
expand at run time into an appropriate substring for the current database platform.
multibook
Processes in PeopleSoft applications that can create both application entries and
general ledgers denominated in more than one currency.
multicurrency
The ability to process transactions in a currency other than the business units base
currency.
objective
override
pagelet
Each block of content on the homepage is called a pagelet. These pagelets display
summary information within a small rectangular area on the page. The pagelet provide
users with a snapshot of their most relevant PeopleSoft and non-PeopleSoft content.
Glossary
parent node
A tree node linked to lower-level nodes or details that roll up into it. A node can be a
parent and a child at the same time, depending on its location within the tree.
participant
participant object
payout
PeopleCode
PeopleCode event
An action that a user takes upon an object, usually a record field, that is referenced
within a PeopleSoft page.
PeopleSoft Internet
Architecture
performance measurement
period context
In PeopleSoft Enterprise Learning Management, the cost per learner, based on the
total activity costs divided by either minimum attendees or maximum attendees.
Organizations use this cost to price PeopleSoft Enterprise Learning Management
activities.
plan
plan context
plan section
plan template
In PeopleSoft Enterprise Incentive Management, the base from which a plan is created.
A plan template contains common sections and variables that are inherited by all plans
that are created from the template. A template may contain steps and sections that
are not visible in the plan definition.
portal registry
289
Glossary
defines both the structure and content of a portal through a hierarchical, tree-like
structure of folders useful for organizing and securing content references.
private view
A user-defined view that is available only to the user who created it.
process
process definition
process instance
A unique number that identifies each process request. This value is automatically
incremented and assigned to each requested process when the process is submitted to
run.
process job
You can link process definitions into a job request and process each request serially
or in parallel. You can also initiate subsequent processes based on the return code
from each prior request.
process request
A single run request, such as an SQR, a COBOL program, or a Crystal report that you
run through PeopleSoft Process Scheduler.
product category
publishing
record definition
record field
record group
A set of logically and functionally related control tables and views. Record groups
help enable TableSet sharing, which eliminates redundant data entry. Record groups
ensure that TableSet sharing is applied consistently across all related tables and views.
Abbreviation for record input value-added tax flag. Within PeopleSoft Purchasing,
Payables, and General Ledger, this flag indicates that you are recording input VAT
on the transaction. This flag, in conjunction with the record output VAT flag, is used
to determine the accounting entries created for a transaction and to determine how a
transaction is reported on the VAT return. For all cases within Purchasing and Payables
where VAT information is tracked on a transaction, this flag is set to Yes. This flag
is not used in PeopleSoft Order Management, Billing, or Receivables, where it is
assumed that you are always recording only output VAT, or in PeopleSoft Expenses,
where it is assumed that you are always recording only input VAT.
290
reference data
In PeopleSoft Sales Incentive Management, system objects that represent the sales
organization, such as territories, participants, products, customers, channels, and so on.
reference object
reference transaction
Glossary
role user
A PeopleSoft Workflow user. A persons role user ID serves much the same purpose as
a user ID does in other parts of the system. PeopleSoft Workflow uses role user IDs
to determine how to route worklist items to users (through an email address, for
example) and to track the roles that users play in the workflow. Role users do not need
PeopleSoft user IDs.
role
Describes how people fit into PeopleSoft Workflow. A role is a class of users who
perform the same type of work, such as clerks or managers. Your business rules
typically specify what user role needs to do an activity.
roll up
routing
run control
A run control is a type of online page that is used to begin a process, such as the
batch processing of a payroll run. Run control pages generally start a program that
manipulates data.
run control ID
A unique ID to associate each user with his or her own run control table entries.
run-level context
search query
You use this set of objects to pass a query string and operators to the search engine.
The search index returns a set of matching results with keys to the source documents.
section
security event
self-service application
Self-service refers to PeopleSoft applications that are accessed by end users with a
browser.
session
session template
291
Glossary
Learning Management activitycharacteristics such as days of the week, start and end
times, facility and room assignments, instructors, and equipment. A session pattern
template can be attached to an activity that is being scheduled. Attaching a template
to an activity causes all of the default template information to populate the activity
session pattern.
setup relationship
sibling
A tree node at the same level as another node, where both roll up into the same parent.
A node can be a sibling, parent, and child all at the same time, depending on its
location in the tree.
single signon
With single signon, users can, after being authenticated by a PeopleSoft application
server, access a second PeopleSoft application server without entering a user ID or
password.
source transaction
SpeedChart
A user-defined shorthand key that designates several ChartKeys to be used for voucher
entry. Percentages can optionally be related to each ChartKey in a SpeedChart
definition.
SpeedType
SQR
statutory account
step
Structured Query Report (SQR) A type of printed or displayed report generated from data extracted from a PeopleSoft
SQL-based relational database. PeopleSoft applications provide a variety of standard
SQRs that summarize table information and data. You can use these reports as is,
customize them, or create your own.
292
Summary ChartField
You use summary ChartFields to create summary ledgers that roll up detail amounts
based on specific detail values or on selected tree nodes. When detail values are
summarized using tree nodes, summary ChartFields must be used in the summary
ledger data record to accommodate the maximum length of a node name (20
characters).
summary ledger
summary tree
A tree used to roll up accounts for each type of report in summary ledgers. Summary
trees enable you to define trees on trees. In a summary tree, the detail values are really
nodes on a detail tree or another summary tree (known as the basis tree). A summary
tree structure specifies the details on which the summary trees are to be built.
Glossary
table
The underlying PeopleSoft data format, in which data is stored by columns (fields) and
rows (records, or instances).
TableSet sharing
Specifies control table data for each business unit so that redundancy is eliminated.
target currency
The value of the entry currency or currencies converted to a single currency for budget
viewing and inquiry purposes.
template
A template is HTML code associated with a Web page. It defines the layout of the
page and also where to get HTML for each part of the page. In PeopleSoft, you use
templates to build a page by combining HTML from a number of sources. For a
PeopleSoft portal, all templates must be registered in the portal registry, and each
content reference must be assigned a template.
territory
TimeSpan
A relative period, such as year-to-date or current period, that can be used in various
PeopleSoft General Ledger functions and reports when a rolling time frame, rather
than a specific date, is required. TimeSpans can also be used with flexible formulas in
PeopleSoft Projects.
transaction allocation
transaction state
transaction type
Translate table
A system edit table that stores codes and translate values for the miscellaneous fields in
the database that do not warrant individual edit tables of their own.
tree
The graphical hierarchy in PeopleSoft systems that displays the relationship between
all accounting units (for example, corporate divisions, projects, reporting groups,
account numbers) and determines roll-up hierarchies.
unclaimed transaction
uniform resource locator (URL) In PeopleSoft, the term URL refers to the entire query string. The
following is an example of a URL: http://serverx/InternetClient
/InternetClientServlet?ICType=Script&ICScriptProgramName=WEBLIB_BEN_
401k.PAGES.FieldFormula.iScript_Home401k
universal navigation header
Every PeopleSoft portal includes the universal navigation header, intended to appear at
the top of every page as long as the user is signed on to the portal. In addition to
293
Glossary
providing access to the standard navigation buttons (like Home, Favorites, and signoff)
the universal navigation header can also display a welcome message for each user.
294
URL
variable
warehouse
A PeopleSoft data warehouse that consists of predefined ETL maps, data warehouse
tools, and DataMart definitions.
worksheet
workflow
The background process that creates a list of administrative actions based on selection
criteria and specifies the procedure associated with each action.
worklist
The automated to-do list that PeopleSoft Workflow creates. From the worklist, you
can directly access the pages you need to perform the next action, and then return to
the worklist for another item.
zero-rated VAT
Abbreviation for zero-rated value-added tax. A VAT transaction with a VAT code
that has a tax percent of zero. Used to track taxable VAT activity where no actual
VAT amount is charged.
Index
A
additional documentation xiv
Application Engine
SYSAUDIT resolutions 168
application fundamentals xiii
Application Server
administering a domain 17
booting a domain 18
checking domain status 18
configuration templates 2
configuring a domain 20
creating a domain 23
deleting a domain 23
executables 11
loading cache 214
PSADMIN 1, 17
replaying crash 235
shutting down a domain 18
APPSRV.LOG
editing 22
Audit
utilities 232
audit records 244
queries 251
audit triggers
working with 247
Auditing
database level 243
audits
viewing information 249
Audits
column 164
DDDAUDIT 165
DDDAUDIT.LIS 165
SYSAUDIT 167
C
Caching
application server 42
Column audits 164
Command Line
Process Scheduler 26
PSADMIN 3
commands 3
syntax 3
comments, submitting xvii
common elements xvii
configuration files
web server 58
Configuration Templates 2
Consolidated Publications Incorporated
(CPI) xiv
contact information xvii
country-specific documentation xvi
cross-references xvi
Customer Connection Website xiv
D
database level auditing 243, 249
Microsoft SQL Server information
OS/390 272
queries 251
records 244
Sybase 263
triggers 247
Database Level Auditing
utilities 233
DDDAUDIT
.LIS 165
running 165
DDL Model Defaults 219
Debugging
utilities 234
documentation
country-specific xvi
printed xiv
related xiv
updates xiv
Domain
parameters 31
settings 37
Domains
booting 15
configuring 12, 20
creating 4
loading configuration 14
quick configure 10
stopping 15
256
295
Index
Messaging Server
processes 48
Microsoft SQL Server
database level auditing
EDI Manager
SYSAUDIT resolutions 174
F
failover
Jolt 78
File attachments
utilities 230
Forced shutdown
N
Normal shutdown
notes xvi
Optimization Framework
SYSAUDIT resolutions 181
OS/390
database level auditing 272
283
I
installNTservicePIA.cmd
interface driver 50
International Settings
field size 238
84
J
java executables 55
Java heap size
WebSphere 109
Jolt
compression threshold 35
Internet Relay
starting 160
stopping 160
Windows NT 157
JOLT Listener 34
JOLT Relay Adapter 36
JRAD 36
configuring 160
JVM heap size
WebLogic 101
L
Load Cache
running 214
M
Menus
SYSAUDIT resolutions 177
Message Catalog 211
Message sets
adding 212
Messages
adding 212
296
18
18
G
glossary
256
P
PeopleBooks
ordering xiv
PeopleCode
SYSAUDIT resolutions 183
PeopleCode, typographical
conventions xv
PeopleSoft application fundamentals xiii
PeopleTools
Utilities 205, 219, 236
Record Cross Reference 232
PeopleTools Utilities
administration 205
audits 232
converting panels (upgrade) 224
file attachments 230
international 238
Message Catalog 211
record groups 223
software updates 227
strings 221
table set IDs 222
table spaces 217
translate values 214
PIA
transmitting requests 57
web server administration 55
prerequisites xiii
printed documentation xiv
Process Scheduler
command line options 26
configuring 23
PSADMIN menu 23
SYSAUDIT resolutions 185
Index
PSQRYSRV 47
PSSAMSRV
configuring 45
PSTOOLS 51
PSTUXCFG 12
Q
Quick Configure
10
R
Record Cross Reference panel 232
Records
groups 223
SYSAUDIT resolutions 190
related documentation xiv
Related Language
SYSAUDIT resolutions 191
Remote Call 43
S
Security
PSADMIN 33
SYSAUDIT resolutions 178
Server-cfg.xml 113
Service Setup
configuration 26
reference 28
servlet engine 55
servlets
multiple servlets 57
SMTP
application server settings 49
settings 49
Spawn Threshold 37
spell check
case sensitivity 213
system dictionary 212
word storage for dictionaries 213
SQL
SYSAUDIT resolutions 195
SQL Alter 163
SSL 96
WebSphere 119
startPIA.cmd 84
Startup 31
stopPIA.cmd 84
stopPIA.sh 85
String Table 221
suggestions, submitting xvii
297
Index
Sybase
database level auditing 263
SYSAUDIT 167
Application Engine resolutions 168
EDI Manager resolutions 174
menu resolutions 177
optimization framework
resolutions 181
output 168
PeopleCode resolutions 183
Process Scheduler resolutions 185
Query resolutions 187
related language resolutions 191
running 168
security resolutions 178
SQL resolutions 195
tree resolutions 196
XLATT resolutions 203
system dictionary 212
xv
U
UBBGEN.EXE 11
Upgrade
converting panels to pages
update utilities 227
URL
adding new entry 230
maintenance 229
Utilities_UTILITIES 205
224
V
Validate Signon with Database
visual cues xvi
33
T
Table audits 164
Table Space 217
managing 218
Tables
altering 163
TableSet
controlling 223
TableSet IDs 222
terms 283
TMBOOT.EXE 11
TMLOADCF.EXE 11
tmshutdown 18
tmshutdown -k TERM -c 18
TMSHUTDOWN.EXE 11
Trace SQL 236
TraceAE 41
TracePC 39
TracePCMask 39
TracePPR 39
TracePPRMask 39
TraceSQL 39
TraceSQLMask 39
Tracing
PSADMIN 39
SQL 236
Translate Values 214
Trees
SYSAUDIT resolutions 196
triggers
298
defining 247
deleting 249
scripts 248
typographical conventions
warnings xvii
web applications
understanding 81
web server
administration 55
components 55
configuration files 58
transmitting requests 57
WebSphere 105
web.xml 117
WebLogic 81
adjusting heap size 101
domain 81
installing additional sites 85
logging 103
multiple PeopleSoft versions 86
proxy servers 86
server console 82
SSL 96
starting 83
stopping 84
working with 81
WebLogicAdmin Server 82
WebSphere
console 106
default settings 106
proxy servers 117
running different PeopleTools
versions 112
Index
SSL 119
starting 105
stopping 105
uninstalling 107
working with 105
Workstation Listener 33
299
Index
300