Appendix: BEA WebLogic Managed Server Architecture

In the current release, the PIA configuration of BEA WebLogic Server has been expanded to take advantage of WebLogic’s managed server architecture. This appendix provides overviews of web applications in PIA, WebLogic domain types, WebLogic domain directory structure and files, and PIA install and reinstall options, and discusses:

See Also

Working with BEA WebLogic

Click to jump to parent topicWeb Applications in PIA

PIA is packaged as a J2EE Enterprise Archive and is comprised of five J2EE web applications, commonly referred to as webapps. The five webapps are as follows.

PORTAL

PeopleSoft Portal

PSIGW

PeopleSoft Integration Broker

PSOL

PeopleSoft On-line Library

PSEMHUB

PeopleSoft Environment Management Framework

PSINTERLINKS

PeopleSoft Business Interlinks

In addition to the PeopleSoft webapps, three more webapps are added when you install PIA on a WebLogic server machine. These three webapps are not added as part of the PeopleSoft Enterprise Archive, but instead are defined as individual webapps provided by BEA. These three webapps are as follows.

HttpProxyServlet

Reverse Proxy Server – Proxy to a single content server per URL. Each URL can provide unique content.

HttpClusterServlet

Reverse Proxy Server – Proxy to multiple WebLogic servers. All content servers provide access to the same content for load balancing.

Console

BEA’s administrative console for WebLogic Server.

Click to jump to parent topicWebLogic Domain Types

This section provides an overview of Weblogic domain types and discusses:

Click to jump to top of pageClick to jump to parent topicUnderstanding WebLogic Domain Types

During PIA setup, you can choose between two different WebLogic domain configurations: a single-server domain and a multi-server domain. In addition, a multi-server domain can be expanded across multiple machines using the distributed managed server option. Each of these domain configurations has a specific purpose but is fully customizable beyond that purpose.

Click to jump to top of pageClick to jump to parent topicSingle-Server Domain

The single-server domain configuration consists of a single WebLogic server instance, with the WebLogic administration application and all of the web components of PeopleSoft Internet Architecture deployed to use it. This configuration is very similar in design to the WebLogic domain provided in previous PeopleTools releases.

This configuration is intended for single-user or very small scale, non-critical production environments. It can be used as a starting point for you to familiarize yourself with BEA WebLogic Server.

In this configuration, the resources used to administer WebLogic Server and your PeopleSoft application are not isolated from one another, therefore leaving the applications vulnerable to possible resource starvation. The low resource requirements of this configuration make it ideal for small scale and non-production usage.

This configuration creates the following server:

PIA

A server for WebLogic domain administration with PeopleSoft J2EE applications deployed.

Single-Server Webapp Deployment

Some of the webapps deployed in a single-server domain configuration must be accessed using a modified URL:

http://server:port/webapp_name/...

The single-server domain configuration deploys webapps as follows:

Application

Deployed to Server

Webapp Name in URL

PORTAL

PIA

(not needed)

PSIGW

PIA

PSIGW

PSOL

PIA

PSOL

PSEMHUB

PIA

PSEMHUB

PSINTERLINKS

PIA

PSINTERLINKS

Console

PIA

console

HttpProxyServlet

Defined but not deployed.

(not needed)

HttpClusterServlet

Defined but not deployed.

(not needed)

Single-Server Domain Specific Settings

To configure the single-server domain specific settings, launch the WebLogic Server Console.

In the console, navigate to Servers, PIA, Configuration, General to configure the PIA server. The default web application for the PIA server is PORTAL. The single-server domain specific default settings for the PIA server are as follows:

Setting

Default Value

IP address.

* (all local IPs).

HTTP Listen port.

80 (set during PIA setup).

SSL.

Enabled with demonstration self-signed digital certificates.

HTTPS Listen port.

443 (set during PIA setup).

Note. To configure SSL, you must also define SSL certificates.

See Implementing WebLogic SSL Keys and Certificates.

Click to jump to top of pageClick to jump to parent topicMulti-Server Domain

The multi-server domain configuration consists of seven server definitions, a WebLogic cluster, and the web components of PIA split across multiple servers. This configuration takes advantage of WebLogic’s administration server and managed server architecture.

This configuration is intended for production environments.

A production application warrants process and resource pool isolation for greater stability and optionally tighter security controls, which this configuration provides. In this configuration, the resources used for WebLogic domain administration and monitoring are isolated from similar resources used to support the PIA application. A server process named WebLogicAdmin performs nothing but WebLogic administration, which includes domain administration and monitoring. Continuing that separation, the individual web applications of PIA might be, and usually are, isolated from each other. The PIA applications are targeted and deployed across a portion of the six remaining server definitions, all of which are classified as managed servers, which are delivered in the multi-server configuration.

This configuration creates the following servers:

WebLogicAdmin

Administration server for WebLogic domain administration.

PIA

Server for the PeopleSoft Portal, integration gateway, and PeopleSoft Business Interlinks applications.

PIA1

Server for the PeopleSoft Portal, integration gateway, and PeopleSoft Business Interlinks applications.

PIA2

Server for the PeopleSoft Portal, integration gateway, and PeopleSoft Business Interlinks applications.

PSOL

Server for the PeopleSoft Online Library (PeopleBooks) application.

PSEMHUB

Server for the PeopleSoft Environment Management Framework application.

RPS

Server for WebLogic reverse proxy server applications.

The multi-server domain configuration deploys webapps as follows:

Multi-Server Webapp Deployment

Some of the webapps deployed in a multi-server domain configuration must be accessed using a modified URL:

http://server:port/webapp_name/...

The multi-server domain configuration deploys webapps as follows:

Application

Deployed to Server, Cluster (members)

Webapp Name in URL

PORTAL

PIA, PeopleSoftCluster (PIA1, PIA2)

(not needed)

PSIGW

PIA, PeopleSoftCluster (PIA1, PIA2)

PSIGW

PSOL

PSOL

PSOL

PSEMHUB

PSEMHUB

PSEMHUB

PSINTERLINKS

PIA, PeopleSoftCluster (PIA1, PIA2)

PSINTERLINKS

Console

WebLogicAdmin

console

HttpProxyServlet

RPS

(not needed)

HttpClusterServlet

Defined but not deployed.

(not needed)

Multi-Server Domain Specific Default Settings

To configure the multi-server domain specific settings, launch the WebLogic Server Console.

In the console, navigate to Environments, WebLogicAdmin, Configuration, General to configure the WebLogicAdmin server. The WebLogicAdmin server has no default web application. The domain specific default settings for the WebLogicAdmin server are as follows:

WebLogicAdmin Setting

Default Value

IP address

* (all local IPs)

HTTP Listen port

9999

SSL

Disabled

In the console, navigate to Environments, PIA, Configuration, General to configure the PIA server. The default web application for the PIA server is PORTAL. The domain specific default settings for the PIA server are as follows:

PIA Setting

Default Value

IP address

* (all local IPs)

HTTP Listen port

80 (set during PIA setup)

SSL

Enabled with demonstration self-signed digital certificates.

HTTPS Listen port

443 (set during PIA setup)

In the console, navigate to Environments, PIA1, Configuration, General to configure the PIA1 server. The default web application for the PIA1 server is PORTAL. The domain specific default settings for the PIA1 server are as follows:

PIA1 Setting

Default Value

IP address

Locally determined hostname.

HTTP Listen port

80 (set during PIA setup)

SSL

Enabled with demonstration self-signed digital certificates.

HTTPS Listen port

443 (set during PIA setup)

In the console, navigate to Environments, PIA2, Configuration, General to configure the PIA2 server. The default web application for the PIA2 server is PORTAL. The domain specific default settings for the PIA2 server are as follows:

PIA2 Setting

Default Value

IP address

127.0.0.1

HTTP Listen port

80 (set during PIA setup)

SSL

Enabled with demonstration self-signed digital certificates.

HTTPS Listen port

443 (set during PIA setup)

In the console, navigate to Environments, PSOL, Configuration, General to configure the PSOL server. The default web application for the PSOL server is PSOL. The domain specific default settings for the PSOL server are as follows:

PSOL Setting

Default Value

IP address

* (all local IPs)

HTTP Listen port

6001

SSL

Disabled

In the console, navigate to Environments, PSEMHUB, Configuration, General to configure the PSEMHUB server. The default web application for the PSEMHUB server is PSEMHUB. The domain specific default settings for the PSEMHUB server are as follows:

PSEMHUB Setting

Default Value

IP address

* (all local IPs)

HTTP Listen port

8001

SSL

Disabled

In the console, navigate to Environments, RPS, Configuration, General to configure the RPS server. The default web application for the RPS server is HttpProxyServlet. The domain specific default settings for the RPS server are as follows:

RPS Setting

Default Value

IP address

* (all local IPs)

HTTP Listen port

8080 (set during PIA setup)

SSL

Enabled with demonstration self-signed digital certificates.

HTTPS Listen port

8443 (set during PIA setup)

Note. To configure SSL, you must also define SSL certificates.

See Implementing WebLogic SSL Keys and Certificates.

Click to jump to top of pageClick to jump to parent topicDistributed Managed Server

The distributed managed server configuration, although listed alongside the single-server and multi-server domain types, is not a true domain type. It's an optional extension for an existing multi-server configuration that's used to extend a WebLogic domain configuration across multiple machines in a heterogeneous network. For example, on one machine you perform a PIA install and create a multi-server domain. On a second machine you again perform a PIA install but select to create a distributed managed server. You stop, start, and administer the distributed managed server on the second machine just as if it was a managed server local to the primary server’s machine.

As with the multi-server domain type, this configuration takes advantage of WebLogic’s managed server architecture.

Note. Only one managed server can be run per distributed managed server domain directory. If you intend to run multiple distributed managed servers on a single machine, perform the PIA install and create unique distributed managed server domain directories, one for each distributed managed server that you intend to run on that machine.

This configuration is intended for production environments that encompass multiple machines.

A distributed managed server configuration provides the same benefits as a multi-server configuration with the added benefit of hardware isolation. This option requires a multi-server installation to be performed to some other location, which will contain the configuration for this distributed managed server.

Distributed Managed Server Specific Defaults

The server configuration settings for a distributed managed server are maintained via that domain’s administration server and are stored locally on that administration server. Configuration settings are replicated to a managed server during its startup, but are only maintained as a read-only backup copy for that individual managed server in the event that the administration server isn't available the next time this particular managed server needs to be started.

Click to jump to top of pageClick to jump to parent topicCommon Default Settings

Single-server and multi-server domain configurations have many settings in common.

Domain Defaults

Many of these common settings can be configured in the WebLogic Server Console, but some are configured in other environments. Default values are listed when available.

Setting

Default Value

Where To Configure

SSL functionality

Enabled with demonstration self-signed digital certificates.

Console: Environments, server name, Configuration, Keystores & SSL.

Command line: pskeymanager.

Server logs

Weblogic domain\logs\server name_*.log

Console: Servers, server name, Logging, Server.

HTTP access log

Disabled

Console: Servers, server name, Logging, HTTP.

HTTP keep-Alive

30 seconds

Console: Servers, server name, Protocols, HTTP.

HTTPS keep-Alive

60 seconds

Console: Servers, server name, Protocols, HTTP.

Low JVM memory monitoring

On

Console: Servers, server name, Configuration, Tuning.

Stuck thread seconds interval

600

Console: Servers, server name, Configuration, Tuning.

Domain administration port

Disabled

Console: Servers, server name, Configuration, General.

PORTAL webapp HTTP session monitoring

On (applies only to servers running PORTAL)

Console: Deployments, Applications, peoplesoft, PORTAL, Monitoring.

System administrator user ID

system (set during PIA setup)

Console: Security, Realms, myrealm, Users.

System administrator password

password (set during PIA setup)

Console: Security, Realms, myrealm, Users.

System operator user ID

operator

Console: Security, Realms, myrealm, Users.

System operator password

password

Console: Security, Realms, myrealm, Users.

System monitor user ID

monitor

Console: Security, Realms, myrealm, Users.

System monitor password

password

Console: Security, Realms, myrealm, Users.

Script and Environment Defaults

Modify these settings by editing a setEnv script or applying command line parameter overrides to WebLogic control scripts.

The following settings specify the names and structure of various directories on the web server machine.

Setting

Default Value

Description/Override

PS_HOME

(none)

PeopleSoft home directory (set during PIA setup).

BEA_HOME

(none)

BEA home directory (set during PIA setup).

WL_HOME

(none)

WebLogic home directory (set during PIA setup).

DOMAIN_NAME

peoplesoft

Name of this WebLogic domain (set during PIA setup).

JAVA_HOME

(Depends on the OS platform.)

Location of Java. Set during PIA setup or with a call to WebLogic's CommEnv script.

Note. You configure Java VM options including JVM memory size using the JAVA_OPTIONS_OSplatform parameter, during PIA setup.

The following are miscellaneous settings.

Setting

Default Value

Description/Override

HOSTNAME

Local hostname

Set during PIA setup.

PRODUCTION_MODE

TRUE

Enable WebLogic production mode (set during PIA setup).

DISCOVERY_MODE

FALSE

Disable auto detection of unregistered applications.

Script: setEnv

WLS_USER

Operator

Use to stop WebLogic with stop scripts and run it as a Windows service.

WLS_PW

Password

Use to stop WebLogic with stop scripts and run it as a Windows service.

ADMINSERVER_PROTOCOL

HTTP

Protocol used for managed server to connect to administration server (not used in single-server domain).

ADMINSERVER_HOSTNAME

Single-server: local hostname.

Multi-server: local hostname.

Distributed server: (none — set manually).

Administration server’s hostname that managed servers attempt to connect to by default when started. Set during PIA setup (except distributed server).

ADMINSERVER_PORT

Single-server: HTTP port of PIA server.

Multi-server: 9999.

Distributed server: (none — set manually).

Administration server’s Listen port that managed servers attempt to connect to by default when started. Set during PIA setup (except distributed server).

ADMINSERVER_SERVERNAME

Single-server: PIA.

Multi-server: WebLogicAdmin.

Distributed server: WebLogicAdmin.

WebLogic server instance name of this domain's administration server, used for stopping and starting the server.

WL_VERSION

Detected major WebLogic version.

 

WL_SERVICEPACK

Detected minor WebLogic version.

 

WL_PATCH

Detected WebLogic patch version.

 

BACKGROUND_PROCESS

TRUE

Run WebLogic server as a background process. On UNIX you can force foreground execution using the start script’s –foreground option.

The following are debugging output settings.

Setting

Default Value

Description/Override

SET CAPTURE_STDOUT_STDERR

FALSE

(Windows only) Capture standard output and standard error of a WebLogic server running as a foreground process. You can also set this with the start script’s –capture option.

ENABLE_JDPA_DEBUG

FALSE

(PeopleSoft development only) Enable JDPA debug support. You can also set this with the start script’s –debug option.

ENABLE_VERBOSE_GC

FALSE

Enable verbose output of Java’s garbage collector. You can also set this with the start script’s –verbose:gc option.

ENABLE_VERBOSE_SSL

FALSE

Enable SSL debug support. Produces verbose SSL output. You can also set this with the start script’s –verbose:ssl option.

ENABLE_VERBOSE_WL

FALSE

Enable verbose output for the core WebLogic server (not verbose output of PIA). You can also set this with the start script’s –verbose:wl option.

MAX_FILE_DESCRIPTORS

4096

The number of open file descriptors set for any Weblogic server process.

The following are HTTP forward proxy support settings.

Setting

Default Value

Description/Override

ENABLE_HTTP_PROXY

FALSE

Enable the use of the forward http proxy.

HTTP_PROXY_HTTPHOST

(none)

IP address or hostname of the forward HTTP proxy server for HTTP requests.

HTTP_PROXY_HTTPPORT

(none)

HTTP Port number of the forward HTTP proxy server for HTTP requests.

HTTP_PROXY_HTTPSHOST

(none)

IP address or hostname of the forward HTTP proxy server for HTTPS requests.

HTTP_PROXY_HTTPSPORT

(none)

HTTP Port number of the forward HTTP proxy server for HTTPS requests.

HTTP_PROXY_NONPROXY_HOSTS

localhost, local hostname, and domainname.

Host names and domain names of content servers that will not be proxied.

Click to jump to top of pageClick to jump to parent topicSingle-Server and Multi-Server/Distributed Server Analogy

In a production environment it is highly recommended to use a multi-server or distributed server configuration. The multi-server selection provides an initial WebLogic domain configuration that consists of multiple server definitions: one administration server and multiple managed servers, each with a specific purpose. The distributed server option augments a multi-server configuration by expanding the domain configuration across multiple machines.

An analogy that can describe the differences between the single-server configuration and a multi-server or distributed server configuration uses the example of two common beverage distribution models: a single lemonade stand, and a large chain of coffee shops.

Single-Server Model — The Lemonade Stand

With a lemonade stand you have yourself, one table, one collection of resources and ingredients, and a single recipe. If any of these are ruined, your lemonade stand is out of business. Similarly, in a single-server configuration you have one server process, one machine, one collection of resources and program files, and a single domain configuration file. If any of those is ruined, your web server is out of business. Throughput can also be an issue for both a lemonade stand and a single-server configuration. For example, if the weather is warm and you receive a rush of thirsty customers, your throughput will reach a maximum at either the rate you accept new orders, ring up cashier transactions, or prepare drinks. If you accept orders and ring up transactions in half the time that you prepare drinks, adding a second bartender would double your throughput, but in this configuration you can't do that because it's only you. Likewise, the single-server configuration is constrained to provide server configuration and all web server based portions of PIA on a single process. The multi-server model enables you to overcome these limitations.

Multi-Server Model — The Coffee Shop Chain

Within the same analogy, a large chain of coffee shops has multiple employees, multiple cashier stations, multiple coffee prep stations, and recipes archived and known to multiple employees. Similarly, in a multi-server configuration you can have multiple machines, multiple collections of resources and program files, multiple web server processes, and a replicated domain configuration file. In this model, if any of those resources is ruined, work simply shifts to the next instance of that resource. In addition, throughput can be maintained. For example, if the coffee house received a rush of parched customers, additional cashiers and beverage engineers could be added to maintain throughput. Likewise, in the multi-server configuration, an increase in PeopleSoft Portal usage can easily be accommodated by configuring an additional WebLogic server instance to also serve the PeopleSoft Portal application. In this way, the multi-server model supports extendibility and resource independence.

The fundamental benefits of a multi-server configuration are:

Click to jump to top of pageClick to jump to parent topicDomain Topology

A WebLogic domain can be as small and simple as the Single-server configuration or as broad and complex as the Multi-server configuration with distributed managed servers. In no way exhausting the possibilities, following are three sample layouts depicting each domain configuration.

Single server — one machine

In a single-server configuration, the WebLogic domain’s administration console and the J2EE components of PIA are all provided on a single instance of WebLogic Server.

Multi-server — one machine

In a multi-server configuration, multiple instances of WebLogic server are used, each contributing a specific function. The WebLogic console is provided on the domain’s administration server, WebLogicAdmin, and the J2EE components of PIA are provided on individual or shared WebLogic managed servers.

Multi-server with distributed managed servers — multiple machines

In a Multi-server configuration with distributed managed servers, multiple instances of WebLogic server are used, each providing a specific function. The WebLogic console is provided on the domain’s administration server, WebLogicAdmin, and the J2EE components of PIA are provided on individual or shared WebLogic managed servers. The only differentiating factor from the initial Multi serve configuration is that in this configuration two or more actual machines are used.

Click to jump to parent topicWebLogic Domain Directory Structure and Files

This section discusses:

Click to jump to top of pageClick to jump to parent topicWebLogic Domain Directory Structure

File and directory layout of PIA on WebLogic does differ from that on prior versions of WebLogic. At a high level, the first difference is that the WebLogic domains are installed within your PS_HOME directory structure, rather than into WebLogic’s directory structure as with prior versions of WebLogic Server.

The default home directories for PIA on different versions of WebLogic are as follows:

WebLogic Version

PIA Home Directory

WebLogic 5.1

weblogic_home\myserver\

WebLogic 6.1

bea_home\wlserver6.1\config\peopelsoft\

WebLogic 8.1

ps_home\webserv\peoplesoft\

WebLogic 9.2

ps_home\webserv\peoplesoft\

This change was performed because managing the WebLogic configuration and PIA configuration similarly to the PeopleSoft application server and PeopleSoft Process Scheduler provided a clearer and more extendable architecture.

File and directory layout of PIA on WebLogic differs from that of prior versions of PIA. The following illustration clarifies the directory structure layout of a PIA install on WebLogic Server.

WebLogic — PeopleSoft directory structure

Click to jump to top of pageClick to jump to parent topicWebLogic Domain File Listing by Type

Following are listings of all WebLogic domain files installed by the PIA setup, organized by file type. Where necessary, each table includes columns that indicate whether a given file is used in a single-server, multi-server, or distributed server configuration.

This listing does not include java classes or PIA configuration files. On UNIX an equivalent Bourne shell script is provided where a Windows script is listed.

The following table lists WebLogic server administration scripts. All the life cycle scripts are stored in \bin folder under <ps_home>/webserv/<domain>.

Script

Single-Server

Multi-Server

Distributed Server

Description

setEnv.cmd

X

X

X

Use this script to set required environment variables for the WebLogic server, for example: CLASSPATH, PATH, UNIX Library Path, and JVM options.

startPIA.cmd

X

   

Use this script to start the WebLogic domain’s administration server (the PIA server) in a single-server configuration.

On Windows this starts WebLogic as a foreground process. On UNIX this starts WebLogic as a background process.

Run the script with –help for usage.

startWebLogicAdmin. cmd

 

X

 

Use this script to start the WebLogic domain’s administration server (the WebLogicAdmin server) in a multi-server configuration.

On Windows this starts WebLogic as a foreground process. On UNIX this starts WebLogic as a background process.

Run the script with –help for usage.

startManagedWebLogic.cmd

 

X

X

Use this script to start a WebLogic managed server. All WebLogic servers in a WebLogic domain other than the administration server are WebLogic managed servers.

Run the script with –help for usage.

stopPIA.cmd

X

   

Use this script to stop the WebLogic PIA server.

Run the script with –help for usage.

stopWebLogic.cmd

 

X

X

Use this script to stop WebLogic servers.

Run the script with –help for usage.

InstallNTservicePIA.cmd

X

   

(Windows only) Use this script to install the WebLogic PIA server as a Windows service. The service name is WebLogic_domain-PIA.

Run the script with –help for usage.

InstallNTservice.cmd

 

X

X

(Windows only) Use this script to install a WebLogic server as a Windows service. The service name is WebLogic_domain-server_name.

Run the script with –help for usage.

uninstallNTServicePIA.cmd

X

   

(Windows only) Use this script to uninstall the WebLogic PIA server Windows service.

Run the script with –help for usage.

uninstallNTService.cmd

 

X

X

(Windows only)Use this script to uninstall a WebLogic server Windows service.

Run the script with –help for usage.

pskeymanager.cmd

X

X

X

Use this script to manage the JKS keystore used by WebLogic Server, which is in WebLogic_domain\keystore\pskey. SSL certificates for WebLogic Server are stored in this keystore. PeopleSoft Integration Gateway can also share this keystore.

Run the script with –help for usage.

startWebLogicBuilder.cmd

X

X

X

Use this script to start WebLogic Builder, which is used to change local application deployment descriptors.

createThreadDump.cmd

X

X

X

Use this script to create a JVM Thread dump.

Run the script with –help for usage.

The following table lists WebLogic server configuration files. All the life cycle scripts are stored in \config folder under <ps_home>/webserv/<domain>.

File

Single-Server

Multi-Server

Distributed Server

Description

config.xml

X

X

 

This file stores the WebLogic domain configuration, including information about server names, ports, IP addresses, webapps, and SSL. Edit these settings using the WebLogic administration console: http://webserver:port/console.

msi-config.xml

 

X

X

This is a version of config.xml that's copied for use with a distributed managed server configuration. It's automatically replicated from the original config.xml after a managed server successfully starts.

boot.properties

X

X

X

THis file contains the WebLogic system ID and password used for administering the WebLogic domain.

fileRealm.properties

X

X

X

This file is used by WebLogic's internal LDAP server for system administration.

DefaultAuthenticatorInit.ldift

X

X

X

This file is used by WebLogic's internal LDAP server for system administration.

DefaultRoleMapperInit.ldift

X

X

X

This file is used by WebLogic's internal LDAP server for system administration.

SerializedSystemIni.dat

X

X

X

This file is used by WebLogic's internal LDAP server for system administration.

The following table lists PeopleSoft J2EE application scripts, which are all used with PeopleSoft Integration Broker, and can be used with every WebLogic server configuration.

Script

Description

BatchProjectExecutor.bat

Use this script for PeopleSoft Integration Broker batch EIP testing.

HashKeyGenerator.bat

Use this script to generate a hash key used for Integration Gateway playback.

MessageExport.bat

Use this PeopleSoft Integration Broker script for extracting transaction data from request and response data.

PSCipher.bat

Use this script for encrypting PeopleSoft Integration Broker passwords.

StartSendMaster.bat

This is a PeopleSoft Integration Broker test utility.

The following table lists miscellaneous files, which can be used with every WebLogic server configuration.

File

Description

Businterlink.txt

This file is used by PeopleSoft’s Business Interlinks servlet for loading PeopleSoft libraries when needed.

piaInstallLog.xml

This is the PIA install log.

See Also

Enterprise PeopleTools 8.49 PeopleBook: PeopleSoft Integration Broker

Click to jump to top of pageClick to jump to parent topicJ2EE Application Files

In addition to WebLogic domain configuration files, application descriptors are installed with the PeopleSoft J2EE enterprise application. The following table lists these descriptor files. The path shown for each file is relative to PS_HOME\webserv\WebLogic_domain\applications\.

File

Description

peoplesoft\META-INF\MANIFEST.MF

Use this script to set required environment variables for the WebLogic server, for example: CLASSPATH, PATH, UNIX Library Path, and JVM options.

peoplesoft\META-INF\application.xml

This file contains a list of the webapps that comprise the PeopleSoft J2EE enterprise application.

peoplesoft\PORTAL\WEB-INF\web.xml

This file is the web application descriptor for the PORTAL webapp. It lists all of the servlets deployed as part of that application.

peoplesoft\PORTAL\WEB-INF\weblogic.xml

This file is the PORTAL web application extension descriptor. It specifies, among other things, the HTTP session cookie name, optional cookie domain, and context path of this application.

peoplesoft\PSIGW\WEB-INF\web.xml

This file is the web application descriptor for the PeopleSoft Integration Gateway (PSIGW) webapp. It lists all of the servlets deployed as part of that application.

peoplesoft\PSIGW\WEB-INF\weblogic.xml

This file is the PSIGW web application extension descriptor. It specifies the context path of this application.

peoplesoft\PSEMHUB\WEB-INF\web.xml

This file is the web application descriptor for the PeopleSoft Environment Framework (PSEMHUB) webapp. It lists all of the servlets deployed as part of that application.

peoplesoft\PSEMHUB\WEB-INF\weblogic.xml

This file is the PSEMHUB web application extension descriptor. It specifies the context path of this application.

peoplesoft\PSOL\WEB-INF\web.xml

This file is the web application descriptor for the PeopleSoft Online Library (PSOL) webapp (PeopleBooks). It lists all of the servlets deployed as part of that application.

peoplesoft\PSOL\WEB-INF\weblogic.xml

This file is the PSOL web application extension descriptor. It specifies the context path of this application.

peoplesoft\PSINTERLINKS\WEB-INF\web.xml

This file is the web application descriptor for the PeopleSoft Business Interlinks (PSINTERLINKS) webapp. It lists all of the servlets deployed as part of that application.

peoplesoft\PSINTERLINKS\WEB-INF\weblogic.xml

This file is the PSINTERLINKS web application extension descriptor. It specifies the context path of this application.

HttpProxtServlet\WEB-INF\web.xml

This file is the web application descriptor for the BEA WebLogic Server Reverse Proxy Server (RPS) webapp that's used to proxy content from a single WebLogic server. It lists all of the servlets deployed as part of that application.

HttpProxyServlet\WEB-INF\weblogic.xml

This file is the single-server RPS web application extension descriptor. It specifies the context path of this application.

HttpClusterServlet\WEB-INF\web.xml

This file is the web application descriptor for the BEA WebLogic Server Reverse Proxy Server (RPS) webapp that's used to proxy content from a cluster of WebLogic servers. It lists all of the servlets deployed as part of that application.

HttpClusterServlet\WEB-INF\weblogic.xml

This file is the multi-server RPS web application extension descriptor. It specifies the context path of this application.

Click to jump to parent topicPIA Install and Reinstall Options

The PeopleSoft Internet Architecture (PIA) installer enables you to create a new WebLogic server domain or update a valid existing WebLogic domain. A valid domain is a domain built by the PIA installer in the PS_HOME directory that you specify.

Depending on which option you select, you're prompted for additional information relevant to that selection. When creating a new domain, you're prompted to select from three configuration types: Single-server, multi-server and distributed managed server. If you select to update an existing domain, you're prompted to indicate which domain you would like to update and what type of update you would like to perform, which are as follows:

Click to jump to parent topicAdministering a WebLogic Server Life Cycle

This section provides an overview of the WebLogic server life cycle and discusses how to:

See Also

Starting BEA WebLogic

Stopping BEA WebLogic

Click to jump to top of pageClick to jump to parent topicUnderstanding the WebLogic Server Life Cycle

You control a WebLogic server’s life cycle primarily using a collection of scripts provided in that server’s WebLogic domain directory. Each instance of a WebLogic server runs in an isolated Java Runtime Environment (JRE), regardless of whether you're testing with a single-server configuration or implementing a multi-server configuration for production. All scripts must be launched from the WebLogic domain directory; and provide usage syntax if run with –help.

Click to jump to top of pageClick to jump to parent topicStarting and Stopping Single-Server Processes

In a single-server configuration, there's only one server to administer: PIA. You can control the life cycle of the PIA server using scripts or in the WebLogic console.

Scripts

For all platforms:

startPIA

Use this script to start the WebLogic server locally.

stopPIA

Use this script to connect to a locally running WebLogic server and issue a shutdown command through WebLogic APIs.

Note. When you shut down the server, a warning is displayed since the shutdown command uses a non-SSL http connection to connect to the WebLogic Server. This shutdown command can be changed to use the SSL connection by editing the stopPIA.sh script. To use the SSL connection the shutdown command will be the following.

For Windows only:

installNTservicePIA

Use this script to register the PIA WebLogic server as a Windows service that runs as a background process. the service is named as WebLogicDomainName-PIA, for example: peoplesoft-PIA.

uninstallNTservicePIA

Use this script to deregister the PIA Windows service.

WebLogic Console

A WebLogic server can also be shut down from its administration console. To shut down a WebLogic server in the WebLogic Server Console, sign in to the console at http://webserver:port/console and perform either of the following.

Note. Before you perform any action in the WebLogic console, you have to click the Lock and Edit button and then the activate Changes button after the changes are done.

See http://edocs.bea.com/wls/docs92/intro/console.html#wp1122447

In the navigation tree on the left, expand your domain, click Envrironment, Servers. Click PIA and select the Control tab. .Select the check box for the server that you would like to shutdown, and click Shutdown. You have these options:

When work completes

This option enables transactions in progress to complete before shutting down the server. To terminate all HTTP sessions immediately, you can first select Ignore Sessions During Shutdown.

Force Shutdown Now

Immediately terminate all HTTP sessions and transactions in progress, and shut down the server.

Click to jump to top of pageClick to jump to parent topicStarting and Stopping Multi-Server Processes

In a Multi-server configuration, as the title implies there are multiple servers to administer. Controlling the life cycle of these servers can be done via scripts, the WebLogic console and the WebLogic Node Manager.

Scripts

For all platforms:

startWebLogicAdmin

Use this script to start the WebLogicAdmin server.

startManagedWebLogic

Use this script to start a WebLogic managed server. All of the servers defined in a multi-server domain, except the WebLogicAdmin server, are controlled as managed servers. For example, to start PIA1 as a managed server run startManagedWebLogic PIA1.

stopWebLogic

Use this script to connect to a locally running WebLogic server and issue a shutdown command using WebLogic APIs. A remote distributed managed server can be shut down using a local administration server.

For Windows only:

installNTservice.cmd

Use this script to register a WebLogic server as a Windows service that runs as a background process. The service is named as WebLogicDomainName-ServerName. For example, to define the PIA1 managed server as a Windows service, run installNTservice PIA1. To define the WebLogicAdmin server as a Windows service, simply run installNTservice.

UninstallNTservice.cmd

Use this script to deregister a WebLogic server that's defined as a Windows service.

Following are some important managed server considerations for scripts:

WebLogic Server Console

A WebLogic server can also be shut down from its administration console. The procedure for mutli-server environments is the same for single server environments.

WebLogic Node Manager

The WebLogic Node Manager provides the ability to start a WebLogic managed server from the WebLogic Server Console. In addition, the console provides a way to automatically restart a failed server. As with all WebLogic servers, the WebLogic Node Manager runs isolated in its own JRE, and on Windows it can also run as a Windows service. The WebLogic Node Manager binds to a unique IP address and port at startup and accepts lifecycle commands from a WebLogic administration server.

See http://e-docs.bea.com/wls/docs92/server_start/nodemgr.html

Multiple WebLogic domains running on a singe machine can have its managed servers administered by a shared WebLogic Node Manager, as long as each WebLogic domain uses the same version of WebLogic.

The following table lists the WebLogic Node Manager files that are provided with WebLogic server, not the PIA install. These files are located in BEA_HOME\weblogic92\server\bin\, not your PeopleSoft created WebLogic domain directory.

File

Description

startNodeManager.cmd

Use this script to start the WebLogic Node Manager as a foreground process.

installNodeMgrSvc.cmd

Use this script to define the WebLogic Node Manager as a Windows service that runs as a background process. The service is called BEA WebLogic Platform NodeManager.

uninstallNodeMgrSvc.cmd

Use this script to uninstall the WebLogic Node Manager as a Windows service.

nodemanager.properties

This is the WebLogic Node Manager configuration file.

Note. BEA_HOME\weblogic92\common\nodemanager\NodeManagerLogs\ is the default logs directory for WebLogic Node Manager.

Note. All other configuration files are located in WL_HOME\common\nodemanager.

See http://e-docs.bea.com/wls/docs92/server_start/nodemgr.html#wp1100601

To start a local WebLogic Managed server from the WebLogic Node Manager:

  1. Start the WebLogic domain’s WebLogic administration server.

  2. Start the Node Manager of that domain’s local BEA_HOME.

    If you're attempting to start a distributed managed server, you must start the Node manager on that distributed machine, otherwise the administration server, Node Manager and managed server are all on one machine.

  3. Sign on to the WebLogic Server Console by entering the following URL in a browser:

    http://webserver:9999/console

    Where webserver is the hostname of the WebLogic server.

  4. Traverse the following in the navigation tree on the left:

    1. Click Environment.

    2. Click Servers in the right hand window.

  5. Select the check box for the managed server that you would like to shutdown, and click on shutdown button.

A WebLogic Managed server started from the WebLogic Node Manager doesn't use Java options defined in setEnv, such as Java heap size. If you opt to use the WebLogic Node Manager, you should confirm or adjust the Java options in the WebLogic console of the administration server.

To adjust the Java options:

  1. Expand your WebLogic domain (for example, peoplesoft).

  2. Click Environment, Servers.

  3. Select the managed server that you would like to modify.

  4. Select the first level Star Server tab

  5. Update the Arguments field.

  6. Click Save.

Click to jump to top of pageClick to jump to parent topicStarting and Stopping a Distributed Managed Server

In a multi-server configuration, a distributed managed server is simply a managed server that isn't started from the same physical location as its domain’s administration server. You can control the life cycle of these servers using scripts, the WebLogic Server Console and the WebLogic Node Manager.

See Starting and Stopping Multi-Server Processes.

Click to jump to parent topicTuning Performance and Monitoring Resources

Monitoring the performance of a WebLogic instance is primarily performed at the WebLogic console. This section discusses how to:

See Also

Using WebLogic Server Console to Monitor PeopleSoft Sessions

Click to jump to top of pageClick to jump to parent topicManaging JVM Heap Size

One main resource to monitor and tune with regards to WebLogic Server is the JVM memory heap size.

Monitoring JVM Heap

The JVM heap size is the amount of memory that a particular JRE (Java Runtime Environment) gives to the JVM (Java Virtual Machine) that it creates. The java.exe command on Windows, java on UNIX and beasvc.exe when running WebLogic as a Windows service is the JRE and the JVM exists within the JRE’s memory space. The two primary sources for monitoring the amount of memory that is in use within a JVM are the WebLogic console and the WebLogic logs.

To monitor the amount of the JVM heap size available and in use:

  1. Sign on to the WebLogic Server Console by entering the following URL in a browser:

    http://webserver:9999/console

    Where webserver is the hostname of the WebLogic server.

  2. Traverse the following in the navigation tree on the left:

    1. Expand your WebLogic domain (for example, peoplesoft).

    2. Expand Servers.

  3. Click the server you intend to monitor (for example, PIA).

  4. Select the first level Monitoring tab.

  5. Select the second level Performance tab.

For more information on these statistics on this page, click on “More info” link provided on this page. Also this page provides two buttons: Garbage Collect and Dump thread Stacks. The Garbage Collect button calls the JVM’s System.gc() method to perform garbage collection. The JVM implementation then decides whether or not the request actually triggers garbage collection. Dump thread Stacks prints the thread stack for all the active threads for the WLS process.

Changing the JVM Heap Size

If you need to adjust any of the Java options, most commonly the JVM heap size, you must manually edit that WebLogic domain’s local setEnv script. The two parameters, -Xms and -Xmx, control the JVM memory minimum and maximum heap size respectively.

Following are examples of the JVM heap size as specified in setEnv using the JAVA_OPTIONS_OSplatform environment variable. You only need to set the variables that correspond to the OS where the WebLogic server is running.

Note. If you do adjust any of the Java options, most commonly the JVM heap size, you must restart WebLogic for these changes to take effect.

If you're running WebLogic Server as a Windows service you must rerun the installNTservice script to propagate this change into the Windows registry.

The WebLogic Node Manager does not use the Java options set in setEnv, but instead uses Java options set from the WebLogic console.

To modify the Java options for a WebLogic instance started via the WebLogic Node Manager:

  1. Sign on to the WebLogic Server Console by entering the following URL in a browser:

    http://webserver:9999/console

    Where webserver is the hostname of the WebLogic server.

  2. Expand your WebLogic domain (for example, peoplesoft) and click Environment, then Servers.

  3. Select the managed server you intend to modify.

  4. Select the first level Configuration tab.

  5. Select the second level Server Start tab.

  6. Update the Arguments field.

  7. Click Save.

See Also

Adjusting the JVM Heap Size

Click to jump to top of pageClick to jump to parent topicMonitoring HTTP Session Count for PeopleSoft Portal

In addition to memory and thread usage, it's also possible to monitor the number of established HTTP sessions used in conjunction with the PeopleSoft PORTAL application. This number, although not necessarily directly related to current performance, is an indicator of the following performance factors:

To monitor the total number of HTTP sessions:

  1. Sign on to the WebLogic Server Console.

  2. Traverse the following in the navigation tree on the left:

    1. Click Deployments.

    2. Click PeopleSoft.

  3. Select the Monitoring tab.

See Also

Configuring Web Profiles

Click to jump to top of pageClick to jump to parent topicUsing WebLogic Console to Monitor PeopleSoft Sessions

WebLogic console can display a list of established HTTP sessions for that instance ofWebLogic Server. Session Monitoring is automatically enabled in WebLogic Server 9.2.

Note. The following describes how to monitor the single server configuration of PIA. When in production, a multi server configuration would be used to perform these steps to the server instance that you intend to monitor, such as PIA1 or PIA2, or both.

To monitor PeopleSoft sessions:

  1. Start the PIA server.

    Start the PIA server either via startPIA.cmd(.sh) or if installed as a Windows service, " NET START peoplesoft-PIA".

  2. Log on to PeopleSoft.

    Log on to your PeopleSoft application. If possible, log on from a couple different workstations using different PeopleSoft IDs. For the purpose of this test, do not log off.

  3. Log on to the WebLogic Server Administrative Console.

    In a new browser, access the WebLogic Server console at http://WebLogicHost:port/console, and specify the WebLogic administrative ID you specified during the PIA installation. The default ID and password are system/password, respectively.

  4. Monitor established HTTP sessions for the PORTAL web application.

  5. In the left side menu, use the following navigation to view the list of established HTTP sessions for the PORTAL web application:

    1. Click Deployments. You will see the list of deployments, in the right hand window.

    2. Click on PeopleSoft applications.

    3. Click on the Ccontrol tab.

    4. Select PORTAL application module where the context root of the module is ‘/’.

    5. Click the Monitoring tab.

    6. Click the Sessions tab.

Also you can customize the list of fields that you want to monitor by using the Customize this table option.

Click to jump to parent topicChanging Configuration Settings

This section provides an overview of the WebLogic server configuration files, and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding the WebLogic Server Configuration Files

WebLogic server configuration settings are stored in a collection of files, primarily the setEnv script, config.xml, and the web.xml and weblogic.xml for each webapp.

Click to jump to top of pageClick to jump to parent topicChanging the WebLogicAdmin Server’s Listen Ports

In the multi-server configuration, several parameters are set based on the environment detected and on delivered defaults. One such parameter is the HTTP port of the WebLogicAdmin server. By default the WebLogicAdmin server’s HTTP listen port is 9999.

To change this value:

  1. Start the WebLogicAdmin server via the startWebLogicAdmin script

  2. Sign on to the WebLogic Server Console by entering the following URL in a browser:

    http://webserver:9999/console

    Where webserver is the hostname of the WebLogic server.

  3. Navigate to Servers, WebLogicAdmin, Configuration, General.

  4. Modify the value of the Listen Port field.

  5. Click Apply.

  6. Restart the WebLogic server.

Note. If you can't initially start the server due to a port conflict, you can manually edit the value of the ListenPort parameter in that domain’s config.xml file. Creating a backup of config.xml is recommended before manually changing this file.

After changing the ListenPort value in your domain’s config.xml, either directly or using the console, you must also update your setEnv script. Update the ADMINSERVER_PORT environment variable to reflect the new HTTP port. This setting is used by the stopWebLogic and startManagedWebLogic scripts as the default administration server HTTP port.

Click to jump to top of pageClick to jump to parent topicChanging Application and Server Deployment Targets

With WebLogic, J2EE applications are targeted to any combination of WebLogic servers and WebLogic clusters. A WebLogic cluster is a logical grouping of servers, generally all providing the same application, though that's not a requirement. To change the servers or clusters that an application is targeted and deployed to, sign on to the WebLogic Server Console and update the application's target assignments. You can view and modify application and server target assignments on the Deployments, Applications tabs, and on the Targets tab for each server.

Following is an example of how to change the target assignments of the PeopleSoft Integration Gateway (PSIGW) web application so it’s the only application targeted to the PIA server, and is the sole application on that instance.

To change the target assignments of the PeopleSoft Integration Gateway web application:

  1. Sign on to the WebLogic Server Console.

  2. Traverse the following in the navigation tree on the left:

    1. Expand peoplesoft.

    2. Expand Deployments.

    3. Expand Applications.

    4. Expand peoplesoft.

  3. Select PSIGW.

  4. Select the Targets tab.

  5. In the Clusters section, clear the peoplesoftCluster check box.

  6. Click Apply.

  7. In the navigation tree, select PORTAL.

  8. Select the Targets tab.

  9. In the Independent Servers grid, clear the check box for targeting the PORTAL webapp to this server.

  10. Click Apply.

  11. Repeat steps 7 to 10 for the PSEMHUB, PSINTERLINKS and PSOL web applications.

To deploy an application to a cluster, target the server to the cluster and target the application to the cluster.