Oracle Utilities Customer Care and Billing: Operations and Configuration Guide Ver 2.3.1 E18371-01
Oracle Utilities Customer Care and Billing: Operations and Configuration Guide Ver 2.3.1 E18371-01
Oracle Utilities Customer Care and Billing: Operations and Configuration Guide Ver 2.3.1 E18371-01
August 2010
Oracle Utilities Customer Care And Billing Operations and Configuration Guide, Ver 2.3.1
E18371-01
Copyright 2007 - 2010 Oracle. All rights reserved.
The Programs (which include both the software and documentation) contain proprietary information; they
are provided under a license agreement containing restrictions on use and disclosure and are also
protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering,
disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability
with other independently created software or as specified by law, is prohibited.
The information contained in this document is subject to change without notice. If you find any problems
in the documentation, please report them to us in writing. This document is not warranted to be error-free.
Except as may be expressly permitted in your license agreement for these Programs, no part of these
Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for
any purpose.
If the Programs are delivered to the United States Government or anyone licensing or using the Programs
on behalf of the United States Government, the following notice is applicable:
U.S. GOVERNMENT RIGHTS
Programs, software, databases, and related documentation and technical data delivered to U.S.
Government customers are commercial computer software or commercial technical data
pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental
regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs,
including documentation and technical data, shall be subject to the licensing restrictions set forth
in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set
forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle
USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
The Programs are developed for general use in a variety of information management applications. They
are not developed or intended for use in any inherently dangerous applications including applications
which may create a risk of personal injury. If you use the Programs in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy and other measures to ensure
the safe use of the Programs. Oracle disclaims any liability for any damages caused by use of the
Programs in dangerous applications.
The Programs may provide links to Web sites and access to content, products, and services from third
parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites.
You bear all risks associated with the use of such content. If you choose to purchase any products or
services from a third party, the relationship is directly between you and the third party. Oracle is not
responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the
agreement with the third party, including delivery of products or services and warranty obligations related
to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you
may incur from dealing with any third party.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.
Table of Contents
Introduction ................................................................................................................................4
Updates to This Documentation.......................................................................................... 4
Other Documentation .......................................................................................................... 4
Architecture................................................................................................................................5
Roles and Features............................................................................................................. 6
Concepts....................................................................................................................................9
Environment ........................................................................................................................ 9
Administration User Id and Group....................................................................................... 9
Directory Structure ............................................................................................................10
Environment Variables ...................................................................................................... 14
Common Application Logs ................................................................................................ 17
Attaching to an Environment............................................................................................. 18
Utilities .....................................................................................................................................20
splenviron Set Environment variables............................................................................ 20
configureEnv Setup Environment settings..................................................................... 22
spl Start/Stop Environment ............................................................................................ 22
genappvieweritems generate AppViewer ...................................................................... 24
genoasdeploy Deploy on ORACLE Application Server ................................................. 25
genoc4jdeploy Deploy on OC4J .................................................................................... 26
genupdatewar Generate J2EE WAR and EAR files ...................................................... 26
genwasdeploy Deploy on WebSphere........................................................................... 27
genwasstubs.sh Generate WebSphere Stubs for business application server ............. 28
initialSetup Reset configuration to template .................................................................. 29
Common Operations ...............................................................................................................31
Starting an Environment.................................................................................................... 31
Stopping an Environment.................................................................................................. 35
Monitoring ................................................................................................................................39
Monitoring Regimes .......................................................................................................... 39
Monitoring Client Machines............................................................................................... 40
Monitoring Web/business Application Server ................................................................... 42
Configuration ...........................................................................................................................45
Configuration Files ............................................................................................................45
Web Browser Configuration .............................................................................................. 51
Web application server Configuration ............................................................................... 52
Business Application Server Configuration....................................................................... 65
Miscellaneous Operations And Configuration .........................................................................78
Enabling Email Logging from Log4j .................................................................................. 78
Installation of decoupled servers ...................................................................................... 79
Overriding the default Oracle database connection information....................................... 81
Automatic shunning of Child COBOL JVM's..................................................................... 82
Cache Management.......................................................................................................... 83
Page iii
Contents
Introduction
Architecture
Concepts
Utilities
Common Operations
Monitoring
Configuration
Miscellaneous Operations And Configuration
Introduction
Welcome to the Oracle Utilities Customer Care And Billing Operations and Configuration Guide for Ver
2.3.1. This guide outlines the technical concepts for operating and configuring the product on its platforms
as outlined in the product installation documentation.
Note: All examples and screen captures are used for publishing purposes only and may vary from the
actual values seen at your site.
Note: For publishing purposes the Oracle Utilities Customer Care And Billing product will be referred to as
"product" in this document.
Contents
Updates to This Documentation
Other Documentation
Other Documentation
This document is part of the product technical documentation. There are groups of manuals that should
also be read for additional specific advice and information:
Title
Content Summary
Location
http://edelivery.oracle.com
http://edelivery.oracle.com
http://edelivery.oracle.com
Page 4
Title
Content Summary
Location
Architecture
The product is a multi-layered product with distinct tiers. The diagram below illustrates the architecture of
the product:
Refer to the J2EE Web application server manuals for information on how to configure the HTTPS
protocol.
Page 5
Note: It is possible to use proxies to hide or translate the hostname and port numbers. Refer to the
documentation provided with your J2EE Web application server documentation for proxy support
instructions.
Web application server The product Web Application is housed in a J2EE compliant Web
application server (Refer to the Supported Platforms section of the installation guide for J2EE Web
application servers and versions supported) This server can be run on a variety of supported
Windows, Linux and Unix platforms (Refer to the Supported Platforms section of the guide for
operating systems and versions supported). Within the Web application server the pages for the
product are rendered using a combination of meta data and formatting rules to ensure a consistent
look and feel. These pages are written using a combination of J2EE Java script and Java. These
pages are cached on the Web Server and served to the client upon request. If the page requires
business rules to be invoked then business objects are called from this server.
Business application server As of V2.2 of the product, the business component of the
architecture can be installed as part of the Web application server or as a separate component. This
means the business application server is also housed in a J2EE compliant Web application server
(Refer to the Supported Platforms section of the installation guide for J2EE Web application servers
and versions supported). This server can be run on a variety of supported Windows, Linux and Unix
platforms (Refer to the Supported Platforms section of the installation guide for operating systems
and versions supported). Within the business application server the following components are
implemented:
Business Objects The business logic for each object in the system is expressed as a
COBOL or Java object. It contains all the SQL, programmatic rules and structures to manage
the data for the transactions. In some products, COBOL is supported for our legacy customers
and it is up to the site whether COBOL or Java is used for any extensions to the business
objects.
DB Connection Pool If any database access is required, we use an industry component
called Hibernate to manage and pool the connections to the database. This will reserve
connections and ensure efficient use of connections to the database.
To access the database product uses the networking client provided by the DBMS vendors to ensure
correct connection. For example, ORACLE provides SQL*NET, DB2 provides UDB Connect and
SQL Server uses .NET drivers. These clients are multi-protocol for maximum flexibility.
Database Server The RDBMS used for the implementation is implemented in the database
server. The product supports a number of databases (Refer to the Supported Platforms section of
the installation guide for databases and versions supported). The database server only stores and
retrieves the data for the product as all the business logic is in the business objects.
Page 6
Client
Web application server
business application server
Database Server
Client
The Browser User interface (BUI) is a combination of HTML and Java-script. AJAX, shorthand for
Asynchronous JavaScript and XML, is a Web development technique for creating interactive Web
applications. This makes web pages more responsive by exchanging small amounts of data with the
server, so that the entire page does not have to be reloaded each time the user makes a change. This
increases the Web page's interactivity, speed, and usability.
There are no ActiveX or Java components in the base product installation. This means that the
deployment of the browser client is relatively simple as the only required component to use the product is
a supported version of Internet Explorer on the client machine. If the implementation requires ActiveX
controls for extensions then you can add them.
Note: If your implementation chooses to use the graphing component zones, then the latest version of the
Macromedia
Flash
browser
component
must
be
installed.
Refer
to
http://www.adobe.com/products/flashplayer/
The Browser tier of the product is provided for the end users to access the product on a desktop. The
client provides the following roles in the architecture:
Screen Rendering and Caching All the screens are rendered using standard HTML and
JavaScript (not Java). The rendering is performed as the screen is served from the Web
Application server and stored in the local browser cache.
User Interaction The client provides the user with the screen interaction. After page is
rendered the user can interact (manipulate data and screen elements) as per their business
transaction. The browser client is responsible for ensuring that users can navigate and interact
with the screen elements (e.g. resizing, display correctly).
User Context The product is stateless and therefore the client stores the transactional context
locally and passes this to the transaction as required. The client records the context of the
transaction in the browser memory.
Screen Cookie Management After a user is authenticated by the Web application server, the
client is issued a JSR compliant cookie which is used as the credentials for all subsequent
transactions. This cookie is a session cookie, which means it is stored in memory and removed
when the browser is shutdown.
Authentication The Web application server software that houses the product provides
adapters to common security repositories. This means that security products interfaced to the
Web application server software can be used in conjunction (with configuration) with the product.
Page 7
Managing Client connections The Web application server software manages any client
connections (during and after they are authenticated) for processing and availability.
Page Server The major responsibility of the Web application server is to "serve" pages to the
client on demand. At startup time (or at the first request for a particular page) the product
generates the screens dynamically using metadata and rendering style sheets. These are cached
for reuse locally.
Cache management For performance reasons, the static data (usually metadata and
configuration data) is cached in memory on the Web application server.
No business logic is stored on the Web application server component. The Web application server
Component of the product is written in Java and JavaScript.
Authorization After authentication has been performed by the Web application server, the
Business Application server is responsible for determining which functions and which data can be
accessed.
Data Integrity The business application server contains the business logic to maintain
referential integrity for the product data.
Validation The business application server contains the business logic that contains all the
validation rules for the product data.
Business Rules The business application server contains the business logic that implements
business rules and performs calculations.
SQL The business application server contains all the SQL statements and formats and
processes results from those SQL statements.
The business application server Component of the product is written in Java and may contain COBOL for
backward compatibility.
Database Server
The product contains a database schema within a database management system. The database server
has the following roles in the architecture:
Data Storage The database is responsible for efficiently storing all data.
Data Retrieval The database is responsible for efficiently retrieving data using SQL provided by
the business application server.
Data Management The database is responsible for efficiently managing all data.
Page 8
Concepts
Before you attempt to configure or operate the product, there are important concepts that you should
understand. These concepts are addressed in this document as a basis for the other documents in the
technical documentation.
Contents
Environment
Administration User Id and Group
Directory Structure
Environment Variables
Common Application Logs
Attaching to an Environment
Environment
In a product implementation and post-implementation there will be a number of copies of the product
installed. Each copy of the product is known as an environment. Each environment will be created for a
specific purpose, according to your site plans, and accessible to a group of users deemed necessary for
that purpose. For example, there will be at least one testing environment where designated personnel will
perform their testing tasks.
For planning purposes an environment is a single instance of:
The business applications deployed in a J2EE Web application server. This can be the same
physical J2EE Web application server or another instance (such as a separate server).
A database containing the product schema. Physically, a schema can exist in an individual
database instance or shared within a database instance (i.e. you can install multiple schemas of
the product in the same database).
While there is no restriction on the number of environments it is recommended that the minimal number of
copies of the product be installed using the guidelines outlined in the "Environment Management"
document in the "Software Configuration Management" series on MetaLink (Refer to Other
Documentation).
It is the owner of the majority of the files installed for the product.
Page 9
It is the only user ID that should be used to run any of the administration tools provided with the
product.
It is the user ID that owns the UNIX resources used by the product. When the product is running,
this user ID owns the processes associated with running the base software.
The administration user ID should be protected from unauthorized use. If components of the responsibility
of administration need to be delegated to other users on the machine, we recommend not giving out the
administration user ID. Instead, an alternative solution should be sought (such as using sudo or similar
security tools).
The administration user ID should not be used for any of the following:
As a product end user. By default, the administration user ID does not have access to the
functionality of the product.
To manipulate data files exported from or imported into the product from any interfaces.
This technical document will refer to the administration user ID as cissys. If your site uses an
alternative user ID as the administration user ID, substitute that user ID value for cissys.
Implementation Tip. It is possible to implement a different owner per environment in the product. Why
would you want to do this? If you want to allow developers or testers to restart environments themselves,
you can give access only to appropriate environments to distribute the administration. This can be
achieved by installing the product with different userids. Note that you must log in and administrate each
environment with its account only.
Directory Structure
In an effort to facilitate upgrades and ease maintenance, the product installation process creates a very
specific directory hierarchy under the administration user ID of cissys (by default). The structure holds
all the code, system products, scripts and temporary files that are created by the product during
installation and operation.
Note. Every part of the product relies on the fact that this directory structure and the files within remain
intact as delivered.
Note. At no time should you modify any of the supplied programs or scripts without the express direction
of ORACLE.
There are two different directory structures that the product application uses:
Within each of the structures, there is a mount point and a subdirectory for each environment
<environment> installed on the machine. The base mount point <SPLDIR> contains the environment
directories that hold all of the application software for each particular environment. The application output
mount point <SPLDIROUT> contains the environment directories that hold temporary files (such as the
output from Doc 1) as well as batch log files. The default <SPLDIR> directory is /spl and the default
<SPLDIROUT> directory is /spl/sploutput.
Page 10
When a user logs on to a particular environment of the product either using the browser-based interface
or directly on UNIX/Windows, the environment is set up (i.e. environment variables, etc.) to point to the
appropriate directory structure under the mount point. The environment variable that points to an
environment directory under <SPLDIR> is $SPLEBASE (or %SPLEBASE% in Windows). The environment
variable that points to an environment directory under <SPLDIROUT> is $SPLOUTPUT (or %SPLOUTPUT%
on Windows). The SPLEBASE and SPLOUTPUT environment variables are two of the standard
environment variables used by the utilities provided with the product and runtime.
Implementation Tip. The actual location of the application directory <SPLDIR> and application output
directory <SPLDIROUT> is up to site standards. The product does not care where it is installed as it
internally uses the environment variables to access the correct locations.
The actual location for the mount points can differ per environment if you want. This is handy if you need
to vary the location because you do not have enough space for all your non-production environments.
Typically the number of environments during an implementation varies according to the level of access
and desired amount of testing and training. The only restriction is that there can only be one location for
SPLEBASE and SPLOUTPUT per environment.
Contents
Software Directory Structure
Output Structure
Runtimes for Components All the runtime executables for the base software.
Business Object Binaries All the binaries that contain the business logic.
Configuration Files All the configuration files for the business objects and runtimes
Scripts Any administration or runtime scripts that are supplied to the customer.
The following illustration depicts the layout of where the product code is placed upon installation into the
file system:
Page 11
Contents
bin
cobol
For products that support COBOL, a set of subdirectories that contain the source
and object code for any supplied COBOL based plug-ins. Any compile output is also
held in this structure. The source directory can be referenced by the environment
variable SPLSOURCE. The build directory can be referenced by the environment
variable SPLBUILD.
etc
logs\system
product
runtime
scripts
Page 12
Directory
Contents
services
Directory containing COBOL source service definitions for the development kit and
compilation
splapp
Under the splapp subdirectory for each environment there are a number of subdirectories:
Directory
Contents
applications
billView
businessapps
config
mpl
Location of the runtime and configuration for the Multi-Purpose Listener component
standalone
Location of common Java libraries and the batch component of the product
xai
Location of the Web services adapter configuration and Incoming service schemas
xmlMetaInfo
Warning: Under no circumstances should files be manually altered in these directories unless instructed
by ORACLE Support. The Oracle Utilities SDK will "deposit" files in the relevant locations in this structure
using the Packaging component of the SDK or using the Development tools directly.
Page 13
Output Structure
The product processes (batch and online) that produce output and logs place information in this directory
structure. The environment directories are referenced by the variable SPLOUTPUT. By default, this
directory is created as /spl/splapp, though an alternative may be used during the installation process.
Environment Variables
The product uses a number of environment variables to determine where information is stored and to be
placed for its internal operations. Becoming familiar with these variables will assist you in finding
information quickly and efficiently.
Note. If a custom script is written to access or write information to the product functionality, it is highly
recommended that the following variables be referenced in your scripts. This is to maximize the chance
that your script will remain functional across upgrades.
The following table outlines all the variables:
Variable
Usage
ANT_HOME
ANT_OPTS
appViewer
BEADIR
Logon profile
C3P0_JAR_DIR
Logon profile
CISTABFILE
CMPDB
Database Type
COBDIR
(/opt/SPLcobAS50)
DB2CODEPAGE
ENVFILE
help
Page 14
Variable
Usage
HIBERNATE_JAR_DIR
Logon profile
JAVA_HOME
Location of JDK
Logon profile
JROCKIT_HOME
Logon profile
OAS_HOME
Logon profile
ONLINEBILLINI
ONLINEDOCINI
ORACLE_SID
NLS_LANG
SPLADMIN
Administration user ID
SPLADMINGROUP
Administration group
SPLAPP
SPLBUILD
SPLCOBCPY
SPLCOMP
SPLDB
Database type
SPLEBASE
SPLENVIRON
Name of environment
SPLOUTPUT
Page 15
Variable
Usage
SPLRUN
SPLSDKROOT
SPLSOURCE
SPLSYSTEMLOGS
SPLVERSION
SPLVERSIONFILE
SPLWEB
SPLWAS
WAS_HOME
Logon profile
WEB_isExpanded
WEB_OASAPP
WEB_OC4J_instance
WEB_SVRNAME
WEB_WASAPP
WEB_WASUSER
WL_HOME
WLVERSION
Page 16
Variable
Usage
XAIApp
Note: If a custom script is written to access or write information to the product functionality, it is highly
recommended that the following variables be referenced in your scripts. This is to maximize the chance
that your script will remain functional across upgrades.
Note: HIBERNATE_JAR_DIR and C3P0_JAR_DIR are used for the installation process only. After
installation is complete the jar files located at the locations specified by these environment variables are
copied to the correct implementation locations.
Comments
<userid>
<pid>
<time>
[<transaction>]
Transaction/Class identifier
<type>
Type of message
(<class>)
Page 17
<message>
<message contents>
Examples:
19:03:16,390 [main] INFO (support.context.CacheManager) Registering cache
'MenuRepository'
- 19:02:37,812 [main] INFO (support.context.ContextFactory) 461 services
registered, time 11.742 ms
- 19:03:29,140 [Remote JVM:2 Thread 1] WARN (cobol.mem.CobolModeHelper)
Unspecified or unrecognized COBMODE (null) - inspecting JVM properties to determine
bit mode ...
19:03:40,875 [Thread-24] ERROR (web.dynamicui.MetaDataHolder) Unable to find UI xml
file '/an/generated/toDoSummaryListGrid.xml' for program 'toDoSummaryListGrid'
DEMO - 259992-101-1 19:17:38,750 [http-6500-5] INFO (support.context.CacheManager)
Registering cache 'UiMapInfoCache'
Attaching to an Environment
Before performing any command against a product environment, you must attach to the environment.
Attaching to an environment sets system and environment variables so that the correct runtime and code
is used in the execution of subsequent commands.
To attach to an environment:
Make sure that you are logged in using the administration account for the desired environment,
for example cissys.
<SPLDIR>/<environment>/bin/splenviron.sh e <environment>
Or
<SPLDIR>\<environment>\bin\splenviron.cmd e <environment>
Where <SPLDIR> is the mount point defined for the product and <environment> is the name of the
environment to access.
Note: This command must be run before any UNIX-based command (including running the product
background processes) to ensure that the correct environment is in place.
Note: If you are running multiple versions of the product, ensure that you run the correct version of the
splenviron.sh/splenviron.cmd utility for the environment by manually changing to the directory
where the splenviron.sh/splenviron.cmd utility exists for the desired environment prior to running
the command.
The following is an example of splenviron.sh execution:
$ /spl/DEMO/bin/splenviron.sh e DEMO
Version ................ (SPLVERSION)
Database Type ............... (SPLDB)
ORACLE_SID ............. (ORACLE_SID)
NLS_LANG ................. (NLS_LANG)
Environment Name ....... (SPLENVIRON)
Environment Code Directory (SPLEBASE)
App Output Dir - Logs ... (SPLOUTPUT)
Page 18
:
:
:
:
:
:
:
V2.2.0
oracle
DEMODB
AMERICAN_AMERICA.WE8ISO8859P15
DEMO22
/spl/DEMO
/spl/sploutput/DEMO
The above example summary of the command illustrates that important environment variables and their
values are set. Use this information to confirm that you have successfully attached to the correct
environment.
Page 19
Utilities
The product includes several command scripts to aid with its configuration and operation. This section
provides information about these utilities.
Contents
splenviron Set Environment variables
configureEnv Setup Environment settings
spl Start/Stop Environment
genappvieweritems generate AppViewer
genoasdeploy Deploy on ORACLE Application Server
genoc4jdeploy Deploy on OC4J
genupdatewar Generate J2EE WAR and EAR files
genwasdeploy Deploy on WebSphere
genwasstubs.sh Generate WebSphere Stubs for business application server
initialSetup Reset configuration to template
Windows:
splenviron.cmd -e <environment> [-c <command>] [-q] [-h]
-e <environment>
-c <command>
-q
Quiet Mode. Do not show output from command. Any output from the c
command will be shown.
-h
Show usage.
Examples:
splenviron.sh e DEMO
splenviron e DEV
splenviron.sh e DEMO c "cat file.lst"
Page 20
Change to ALL environments on machine - If your integration is common across all environments
then you can set or alter environment variables using the following technique:
o
Create a script in a central location on the machine that sets or alters the appropriate
environment variables. Ensure that the product administrator user ID has read/execute
access to the location and the script.
Set the CMENV environment variable with the location and name of the script to execute
prior to running the splenviron.sh/splenviron.cmd utility (for example, in your
logon profile).
Page 21
Windows:
configureEnv.cmd -e <environment> [-h]
-e <environment>
-h
Show usage.
Examples:
configureEnv.cmd e DEMO
Refer to ENVIRON.INI - Environment Configuration File for more information on the output of this
command.
Page 22
The spl.sh/spl.cmd utility is used to start up and shut down an environment or individual
components (web server or multi-purpose listener) of an environment. Usage of this utility is
optional as described in the sections Contents
Starting an Environment
Stopping an Environment
Starting an Environment and Stopping an Environment.
Use the command without a parameter to start up, reboot or shut down all components of an environment
(note that the action must still be used). To start up or shut down an individual component, use the option
that specifies that applies to that specific component.
Command Usage:
Linux/Unix:
spl.sh [-h | -w | -m ] <action>
Windows:
spl.cmd [-h | -w | -m ] <action>
-h
Show usage.
-w
-m
<action>
Comments
Environment is unavailable
Environment is available
Page 23
Example
Action
Linux/Unix Command
Windows Command
To start an environment
spl.sh start
spl start
To stop an environment
spl.sh stop
spl stop
spl.sh reboot
spl reboot
spl.sh m start
spl m start
Windows:
genappvieweritems.cmd
Examples:
genappvieweritems.cmd
Application Viewer is delivered with the system including cobol source code
and xml services. This script will extend Application Viewer capabilities
on site by generating additional items.
The Following Programs will be ran
F1-AVALG
Generate XML file(s) for
F1-AVMO
Generate XML file(s) for
F1-AVTBL
Generate XML file(s) for
F1-AVTD
Generate XML file(s) for
F1-AVBT
Generate XML file(s) for
Algorithm data
Maintenance Object data
Table data
To Do Types XML
Batch Control Types XML
Calling F1-AVALG
program F1-AVALG got a 0 response code
Calling F1AVMO
program F1-AVMO got a 0 response code
Page 24
Calling F1-AVTBL
program F1-AVTBL got a 0 response code
Calling F1AVTD
program F1-AVTD got a 0 response code
Calling F1-AVABT
program F1-AVABT got a 0 response code
If you received a non response code 0 above, you should consult the logfiles
Note: For platforms that use EAR/WAR files, the genappvieweritems utility will automatically rebuild
the EAR/WAR files ready for deployment (deployment will need to be performed if WEB_isAppViewer is
set to true).
This generates the HTML files to be included in the appViewer application. This will only generate the
necessary files from the current environment. To deploy the appViewer, the relevant gendeploy*
command must be executed.
Windows:
genoasdeploy.cmd
Examples:
genoasdeploy.sh
Page 25
Examples:
genoc4jdeploy.cmd
Page 26
The genupdatewar.sh/genupdatewar.cmd utility builds the WAR and EAR files used by the product.
This script is used to reflect changes in the product WAR/EAR files from configuration changes, code
based customizations and/or base code changes (from patches and upgrades). This utility uses ANT
(http://ant.apache.org/) to build the WAR/EAR files.
For a description of the WAR or EAR format, refer to http://en.wikipedia.org/wiki/EAR_(file_format),
http://en.wikipedia.org/wiki/WAR_(Sun_file_format) or
http://java.sun.com/javaee/5/docs/tutorial/doc/bnaby.html#indexterm-47.
Command Usage:
Linux/Unix:
genupdatewar.sh
Windows:
genupdatewar.cmd
Examples:
genupdatewar.sh
080807.12:39:33 <info>
12:39:33 PST 2008
080807.12:39:33 <info>
080807.12:39:33 <info>
080807.12:40:36 <info>
080807.12:40:42 <info>
Environment DEMO
Update war with the latest environment configuration.
Build servicebean jar
Build ear files
Page 27
Note: If the product is already deployed on the target IBM WebSphere Web application server instance
then this script will also undeploy the application prior to redeployment.
Command Usage:
Windows:
genwasdeploy.sh
Examples:
genwasdeploy.sh
Examples:
genwasstubs.sh
Page 28
initialSetup
Configuration Files
Configuration Files
Configuration Files
Configuration Files
ENVIRON.INI
Command Usage:
Linux/Unix:
initialSetup.sh
Windows:
initialSetup.cmd
Examples:
initialSetup.sh
080807.02:37:33 <info> Template generation step.
Page 29
Page 30
<info>
<info>
<info>
<info>
<info>
<info>
7 02:41:11 EST
Common Operations
There are a number of common operations that a site will perform on the product. This section outlines
the steps involved in these common operations.
Contents
Starting an Environment
Stopping an Environment
Starting an Environment
Note: This section will outline a particular method for starting the product using the supplied utilities. Sites
can use the consoles and utilities provided by the Web application server/database vendors to start the
product as an alternative.
To ensure a successful startup of the product the components should be started in the following order:
The database server must be started according to local standards. This includes any
communications software such as listeners to enable the product to communicate to the
database. After starting the database server, the batch interface can be used.
The business application server must be started to enable the web application server to use the
business objects and the business object conduit to accept web transactions.
The web application server must be started to enable web clients to access the screens and
business objects. After starting the business application server and the web application server,
the XAI incoming calls, the batch interface, and online users have access to the system.
The end users can start the browser to access the product front-end screens.
Optionally, if the Multi-purpose Listener (MPL) is configured correctly it is also started to support
outgoing XAI transactions as well as enable incoming calls from JMS and File.
Contents
Starting All Tiers on a Single Server
Starting/Stopping at Boot Time (UNIX/Linux)
What to Look for in Startup
Start the database using the utilities provided by the database vendor.
Log on to the server containing the Web application server and Business application server using
the product Administration account for the desired environment (for example, cissys).
command:
Linux/Unix:
Page 31
<SPLDIR>/<environment>/bin/splenviron.sh e <environment>
Windows:
<SPLDIR>\<environment>\bin\splenviron.cmd e <environment>
Where <SPLDIR> is the mount point defined for the product and <environment> is the name of the
environment to start.
Start the Web application server, business application server and MPL using the following
command:
Linux/Unix:
spl.sh start
Windows:
spl.cmd start
Page 32
exit 1
fi
# Loop through all environments in /etc/cistab
if [ ! -f /etc/cistab ]
then
echo "/etc/cistab file does not exist. Product is not installed correctly"
exit 1
fi
cat /etc/cistab | while IFS=: read _env _filler1 _splebase _splapp _filler2 _start
do
# Only environments with the start parameter set to Y should be started
if [ ${_start} = "Y" ]
then
if [ -d ${_splebase} ]
then
# Determine owner of the environment
export PRDOWNER=`cat ${_splebase}/etc/ENVIRON.INI | grep SPLUSER | cut f2
d=`
# Format start command
_startcmd="${_splebase}/bin/splenviron -e {_env} -c ""spl.sh start"""
_stopcmd="${_splebase}/bin/splenviron -e {_env} -c ""spl.sh stop"""
# Run command
case $1 in
"start")
"stop")
*)
su $PRDOWNER -c "${_startcmd}" ;;
su $PRDOWNER -c "${_stopcmd}" ;;
Usage
exit 1;;
esac
fi
fi
done
# Finished
Note. The above script is provided as a sample only. Use the above script as an example for any custom
scripts to start the product at boot time.
The Web Application is initialized (class = web.startup.SPLWebStartup) within the J2EE Web
application server.
from
the
relevant
configuration
files
(class
Page 33
The product is set to Production mode (this denotes Development versus Production settings)
(class = shared.context.ApplicationMode). Most installations are "Production" mode. Only
environments where the Oracle Utilities SDK is used will not be in "Production" mode.
The framework used by the product is initialized and settings within the framework are prepared
to be loaded (class = support.context.ContextFactory).
The
metadata
is
loaded
shared.context.ContextLoader).
Any
lookups
are
loaded
into
memory
(class
=
support.context.ComponentContainerLookupHelper). Lookups are metadata used to enumerate
valid values for flags, common values etc.
Hibernate
ORM
mappings
used
by
the
product
are
loaded
(class
=
support.context.ApplicationContext). The number of mappings will vary between releases and
parts of the product that are used.
The connection pool to the database is initialized according to the configuration settings (class
prefix hibernate.*). If the connection information is incorrect or the database is down the
connection pool connection will retry (according to the configuration settings). If this is the case
you will see the connection information and error messages, such as "Connections could
not be acquired from the underlying database!", in this log.
into
memory
for
configuration
control
(class
Note: The messages seen will vary depending your database type and version.
The owner of the system is initialized. This identifies the application owner for implementation
purposes. In all cases the implementation value is "CM" for Custom Modification. Other values
are supported for ORACLE internal use only.
If COBOL is used for the product then the COBOL Child (or "Worker") Java Virtual Machines
(JVM) are initialized (class = cobol.host.CobolHostStartup). During the startup of the JVM's
various startup messages will indicate the status of each JVM startup (class prefix cobol.host).
Each JVM will have individual messages outlining loading and startup of the JVM for COBOL/java
integration (JVM number is indicated in the message). Completion of COBOL loading is indicated
by message "Remote JVM setup complete" (class = cobol.host.RemoteJVM). As COBOL
components are detected additional messages will appear in the log to load additional metadata
necessary for the execution of the COBOL/java interface (class prefix support.cobol and
cobol.mem).
Page 34
The Web application server/business application server static cache is then loaded (class =
api.globalContext.GlobalContextHelper) which includes:
o
Navigation Keys (for static menus and context sensitive menus) (class =
web.dynamicui.NavigationInfoCache)
If the online batch daemon is enabled then the daemon is loaded into memory and started (class
= grid.node.DistributedGridNode and prefix grid.space). Any work to be detected will result in
additional messages (class = grid.node.WorkProcessor).
The Web service adapter (XAI) component is then loaded (delay is configurable) with similar
messages as the root application startup. Refer to the top of this list to reference the messages
that are loaded.
Once the application is loaded the J2EE Web application server will indicate the product is available
(the message for this varies refer to the J2EE Web application server documentation for details).
Stopping an Environment
Note: This section will outline a particular method for starting the product using the supplied utilities. Sites
can use the consoles and utilities provided by the Web application server/Database vendors to start the
product as an alternative.
To ensure a successful shut down of the product the components should be stopped in the following
order:
The end users should shut down the browser containing the product front-end screens.
The MPL must be shutdown (if used) to prevent outgoing XAI transaction from being processed.
The Web application server must be shutdown to disable web clients access to the system. After
the web application server is shutdown, end users do not have access to the system but batch
processes may still run.
The business application server must be shutdown to disable the Web application server
completely.
Page 35
The database server must be shut down according to local standards. This includes any
communications software such as listeners to enable the product to communicate to the
database. At this point all users (batch and online) do not have access to the environment.
Contents
Stopping All Tiers on a Single Server
Stopping individual tiers
What to Look For in Shutdown Messages
Logon to the server containing the Web application server and business application server using
the product Administration account for the desired environment (for example, cissys).
command:
Linux/Unix:
<SPLDIR>/<environment>/bin/splenviron.sh e <environment>
Windows:
<SPLDIR>\<environment>\bin\splenviron.cmd e <environment>
Where <SPLDIR> is the mount point defined for the product and <environment> is the name of the
environment to stop.
Start the Web application server, business application server and MPL using the following
command:
Linux/Unix:
spl.sh stop
Windows:
spl.cmd stop
Stop the database using the utilities provided by the database vendor.
Page 36
Logon to the server containing the Web application server or Business application server using
the product Administration account for the desired environment (for example, cissys).
command:
Linux/Unix:
<SPLDIR>/<environment>/bin/splenviron.sh e <environment>
Windows:
<SPLDIR>\<environment>\bin\splenviron.cmd e <environment>
Where <SPLDIR> is the mount point defined for product and <environment> is the name of the
environment to start.
Start the web application server or business application server using the following command:
Linux/Unix:
spl.sh w stop
Windows:
spl.cmd w stop
Note: The command is the same but the utility will recognize by the host name what component is to be
started.
Refer to the spl Start/Stop Environment utility for more options.
Note: As an alternative, it is possible to stop the Web application server and Business application tiers
using the console or utilities provided with the J2EE Web application server software.
The script will display the shutdown messages as dictated by the J2EE Web application server vendor.
Shutdown the database using the utilities provided by the database vendor.
The Web application server/business application server applications are asked to shutdown
(class = web.startup.SPLWebStartup).
o
The Application Context within the J2EE Web application server are shutdown. This may
be delayed if COBOL is installed.
Page 37
If COBOL is used, then the COBOL Child (or Worker) JVMS are shutdown. The term used is
"shunned". Each JVM is shunned individually.
Note: A message "java.net.SocketException closing connection" may be displayed.
This indicates that the socket has been closed.
Page 38
Monitoring
This section outlines some basic monitoring regimes and methods for the product. It is highly
recommended that you read the Performance Troubleshooting Guides available on MetaLink.
During monitoring you are typically looking for unusual activity and seeing if the current configuration of
the product can handle the peaks and troughs of usage.
Unusual activity is activity that is not representative of the normal activity. For example, maybe during a
marketing campaign the call center traffic doubles. This would be regarded unusual activity. At this point
the current configuration may not be configured to handle the traffic so the problem needs to be identified
and the configuration changed to cater for the new load.
Also during normal operations underlying problems may surface in the form of long running transactions,
increases in error rates (in logs and timeouts) or runaway transactions. Runaway transactions are
transactions that seem to be looping. These can be caused by data inconsistencies or bugs. Most of them
are due to an unusual combination of data entries.
Some customers collect usage information to identity and analyze unusual activity. This is known as Site
Profiling, Capacity Planning or Availability Planning. This is typically "Proactive" activity.
The product stores usage information within the database that can be extracted for this purpose. This
section outlines the methods and techniques you can use to extract this information reactively and
proactively.
Contents
Monitoring Regimes
Monitoring Client Machines
Monitoring Web/business Application Server
Monitoring Regimes
Typically the art of monitoring is the collection and analysis of various pieces of information and then
making changes to the configuration to address any issues or problems that occur.
With the various monitoring facilities available in the product a combination that is valid for the site
becomes a monitoring regime for that site. Typically monitoring regimes pickup trends in the business or
traffic volumes that require changes to the configuration. As part of the implementation of the product the
monitoring regime for your site should be determined.
Typically the monitoring regimes that are chosen fall into a number of categories:
Reactive - Monitoring for any exception after it happens and making changes to the configuration
to prevent the exception from occurring again. This is the most common regime adopted by IT
groups. The only problem with this approach is that you have to experience potentially
threatening outages before stabilization happens.
Proactive - Setting monitoring tolerances so that exception conditions are recognized before they
happen and making configuration changes to prevent them from happening. This is also known
as Problem Anticipation or Problem Prevention. This is the goal of most of the IT groups to
ensure high availability.
Mixed - This is a mixture of pro-active and re-active regime. This is not uncommon.
Page 39
Microsoft tools (Performance Monitor) The Performance Monitor (located in the "Administration
Tools" menu from Windows) is a starting point for monitoring the client. Refer to Microsoft
documentation on what aspects of a client machine to monitor.
Network Monitor (netMon or other) Windows Server includes a network capture facility that is
handy to locate problems on a client machine. Alternatives are available such as Ethereal etc.
Network Latency - Network tools like ping and traceroute measure latency by determining
the time it takes a given network packet to travel from source to destination and back, the socalled round-trip time. Round-trip time is not the only way to specify latency, but it is the most
common. Inconsistent ping times or long ping times can indicate network issues.
Bandwidth Saturation levels - A number of tools exist for computer networkers to measure the
bandwidth of network connections. On LANs, these tools include netperf and ttcp.
Packet Loss - Packet loss is when data packets appear to be transmitted correctly at one end of a
connection, but never arrive at the other. This might be because:
Network conditions are poor and the packet became damaged in transit.
Packet loss can be detected from the client PC using netstat and calculating the percentage of
the "Segments Sent" that become "Segments Retransmitted".
Note: ping and traceroute also include packet loss statistics.
Page 40
Failed Connection Attempts - When the client and/or server cannot accept a connection it
generates a "Failed Connection Attempt" on either the client or the server (or both). A large
number of "Failed Connection Attempts" can indicate networking or capacity issues on the client
or server. The most common cause is that the accept queue on the network parameters (usually
on the network cards) is full, and there are come requests waiting on the sync queue (usually on
the network card).
After the debug control menu is displayed, you navigate to the screen where the problem is encountered
and then enable "Global debug" by "toggling" the checkbox on. To turn off global debug toggle the check
box off.
You should select "Trace All" for effective tracing. The other options are used by Developers only. The
trace information is written to the spl*.log in the $SPLSYSTEMLOGS (%SPLSYSTEMLOGS% in
Windows).
Note: The product has introduced spl_web.log and spl_service.log and they may or may not
appear depending on the installation, therefore spl*.log is mentioned on the slide.
Debug allows specific information to be logged:
Client Data Data presented to the browser. This pops up an additional window displaying the
object as it is built.
Server Data Data presented to the server. This pops up an additional window displaying the
object as it is received by the server.
COBOL buffers (if COBOL is used), Debug List Info, Debug Filter and Grid Display Time
Used for development to display internal information and filter for specific information. It is
recommended that these options should not be used unless performing development.
Trace All Enable all trace modes below except Trace SQL Parameters.
Trace SQL Parameters Dump all result sets (Warning: This is not recommended for production
systems as it will result in performance degradation.)
Most tracing in non-development uses "Trace All" unless otherwise instructed by ORACLE Support. All
debug information is written to the spl*.log files.
Page 41
Add ?debug=true to your URL for the product. This will display the debug buttons on the
browser screen.
Navigate to the transaction that you wish to trace as a user would normally operate.
Select "Global debug" so that debugging is enabled. This will display the "Debug Control" window
where you should ensure that "Trace All" is selected. Other options should only be used if
instructed by ORACLE Support.
Run the transaction that you want to trace and to recreate the issue. While you work the trace
information is written to the log files.
Deselect "Global Debug" so that debugging is disabled. This will close the writing to the log. If you
select "Show User Log" it will display the number of debug lines indicated next to the button. This
will only show lines applicable to the Current User only.
Page 42
Java Management Extensions (JMX) Most Web application servers expose JMX
Management Beans (MBeans) to allow JMX browsers to view and use this information. Java 5
has a predefined set of MBeans that can be enabled automatically.
Web application server console All Web application server offer a web based console that
provides both administration and basic monitoring functions. These are usually sufficient for spot
real time checking of tolerances and basic monitoring. Some console use calls to JMX API's
provided by the Web application server vendor and built into Java 5 (and above).
Command Based Utilities Apart from the console, most Web application server vendors offer
a command line utility to extract performance information (or perform administration). Most
console utilities call JMX MBeans and provide a command line interface into JMX that can be
used natively.
Log-based monitoring Most Web application servers provide standardized logs that can be
analyzed using consoles, log monitors or simple scripts.
Native OS utilities Most operating systems are becoming java aware and provide OS and Java
monitoring from OS monitoring facilities.
Contents
Key Statistics
Using Jconsole
Key Statistics
Note: Please refer to the Performance Troubleshooting Guides for details of key statistics to track.
When monitoring the J2EE Web application server there are a number of statistics that are important to
track:
Thread Pool Size and usage of the thread pool connections between the users and the Web
application server. Useful for determining if you have enough pooled connections.
Page 43
CPU time
Uptime calculation
Using Jconsole
As with any J2EE Web based application it is possible to use jconsole (or other JMX browser) to view
JMX MBeans and statistics from the Java process (this includes any background process as well).
Ensure your class files are in the path (for example c3p0-0.9.1.2.jar file not Hibernate as
c3p0 collects pools statistics).
Enable com.sun,management.jmxremote with appropriate settings for your JVM on the java
command lines. This can be done at the script level or within your Web application server. This
will open a JMX port. Refer to http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html
for more information.
Start jconsole with the jar files (e.g. c3p0-0.9.1.2.jar) in the class path
Page 44
Configuration
Contents
Configuration Files
Web Browser Configuration
Web application server Configuration
Business Application Server Configuration
Configuration Files
There are a number of configuration files that are available with each environment.
Contents
cistab - Global Configuration Files
ENVIRON.INI - Environment Configuration File
Extracting Information from ENVIRON.INI for Scripts
Windows:
c:\spl\etc\cistab
Warning! Do not alter the cistab file unless instructed to do so by ORACLE support personnel unless
otherwise directed.
An example cistab file is outlined below:
DEV::/spl/DEV:/spl/sploutput/DEV::N
DEMO::/spl/DEMO:/spl/sploutput/DEMO::N
TEST::/spl/TEST:/spl/sploutput/TEST::N
TEST2::d:\spl\TEST2:e:\sploutput\TEST2::N
Page 45
Position
Usage
Mount point for the product software and configuration files (the SPLEBASE environment
variable definition).
Mount point for the product output files the SPLOUTPUT environment variable definition).
This flag may be used in custom start up scripts to indicate whether to start the environment
at system boot time. Valid values are Y or N. This is the only setting that should be altered
after installation.
Windows:
%SPLEBASE%\etc\ENVIRON.INI
The file contents are in text format and are of the form:
<parameter>=<value>
Where:
appViewer=appViewer
DBCONNECTION=jdbc:oracle:thin:@myserver:1521:train
Page 46
DBDRIVER=oracle.jdbc.driver.OracleDriver
DBENCPASS=21424852545244510F0F21
DBPASS=ENC(Qssb0Lawc1/b+jPu7lM2eS4wbFbrHIVobujyS8EQ6iM=)
DBNAME=TRAIN
DBUSER=spluser
The settings contained in the ENVIRON.INI file are outlined in the table below:
Legend:
Tier
Blank = all, WAS = Web application server, BAS = business application server, XAI =
Web Services Adapter, DB = Database.
Platform
Blank = all, WLS = ORACLE WebLogic, OAS = ORACLE Application Server, OC4J =
ORACLE OC4J, WAS = IBM WebSphere, ORA = ORACLE Database, MSSQL =
Microsoft SQL Server, DB2 = IBM DB2
Parameter
Description
Tier
AppViewer
WAS
BATCHDAEMON
BAS
BATCHENABLED
BAS
BATCHTHREADS
BAS
BSN_JVMCOUNT
BAS
BSN_OASAPP
BAS
OAS
BSN_OASREQPORT
BAS
OAS
BSN_OASRMIPORT
BAS
OAS
BSN_OASSYSPASS
BAS
OAS
BSN_OASSYSUSER
BAS
OAS
BSN_OC4J_instance
BAS
OAS
BSN_OC4JORMPORT
BAS
OC4J
BSN_OC4JSYSPASS
BAS
OC4J
BSN_OC4JSYSUSER
BAS
OAS
BSN_RMIPORT
BAS
BSN_SVRNAME
BAS
WAS
BSN_WASAPP
BAS
WAS
BSN_WASBOOTSTRAPPORT
Bootstrap Port
BAS
WAS
BSN_WASPASS
BAS
WAS
Platform
Page 47
Parameter
Description
Tier
Platform
BSN_WASUSER
BAS
WAS
BSN_WLHOST
BAS
BSN_WLSYSPASS
BAS
WLS
BSN_WLSYSUSER
BAS
WLS
CMPDB
DB
COLLATE
DB
MSSQL
DB2CODEPAGE
DB
DB2
DB2COLL
DB
DB2
DB2LOCL
DB
DB2
DB2MPLUse
DB
DB2
DB2SERVER
DB
DB2
DBCONNECTION
DB
DBDRIVER
Hibernate DB driver
DB
DBENCPASS
Encrypted DBPASS
DB
DBPASS
DB
DBPORT
DB
DBUSER
DB
DESC
Environment Description
DIALECT
Hibernate Dialect
DIRSEP
Directory separator
DOC1BILLSCRIPT
BAS
DOC1SCRIPT
BAS
ENCODING
help
WAS
highValue
BAS
JavaEncoding
BAS
Jvmcommand
BAS
JVMMEMORYARG
BAS
modules
Page 48
DB
Parameter
Description
Tier
MPLADMINPORT
XAI
MPLSTART
XAI
OAS
NLS_LANG
DB
ORA
ORACLE_SID
ORACLE Database Id
DB
ORA
OWNERUSER
DB
REL_CBL_THREAD_MEM
BAS
RJVM
BAS
SPLADMIN
OS Administration userid
SPLADMINGROUP
OS Administration group
SPLApp
WAS
SPLDB
DB
SPLENCPASS
Encrypted WEB_SPLPASS
WAS
SPLENVIRON
Environment Identifier
SPLSERVICEAPP
BAS
SPLWAS
WAS
SPLWEBAPP
WAS
SQLDB
DB
WEB_isAppViewer
WAS
WEB_isDevelopment
WAS
WEB_isExpanded
WAS
WEB_maxAge
WAS
WEB_maxAgeI
WAS
WEB_OASAPP
WAS
OAS
WEB_OASREQPORT
WAS
OAS
WEB_OASSYSPASS
WAS
OAS
WEB_OASYSUSER
WAS
OAS
WEB_OC4J_instance
WAS
OAS
WEB_OC4JSYSPASS
WAS
OC4J
WEB_OC4JSYSUSER
WAS
OC4J
Platform
MSSQL
Page 49
Parameter
Description
Tier
Platform
WEB_preloadall
WAS
WEB_SPLPASS
WAS
WEB_SPLUSER
WAS
WEB_SVRNAME
WAS
WAS
WEB_TCATSHUTPORT
WAS
TCAT
WEB_WASAPP
WAS
WAS
WEB_WASPASS
WAS
WAS
WEB_WASUSER
WAS
WAS
WEB_WLAUTHMETHOD
WAS
WEB_WLHOST
WAS
WEB_wlpageCheckSeconds
WAS
WEB_WLPORT
WAS
WEB_WLSSLPORT
WAS
WLS
WEB_WLSYSPASS
WAS
WLS
WEB_WLSYSUSER
WAS
WLS
WLSSPL
WAS
WLS
XAIApp
WAS
XAISTARTWAITTIME
XAI
WLS
Windows:
perl %SPLEBASE%\bin\getconfvalue.plx k <parameter>
where
<parameter> is the parameter from ENVIRON.INI you wish to get the value of.
For example:
Page 50
ENVIRON.INI:
DBNAME=TRAIN
Note: If the value is NOT set or the key is invalid the value of the call is null or blank.
Cache settings need to be "Every visit to the page" or "Automatically". For non-production it is
recommended to be set to "Every visit to the page" or "Automatically". For production it is
recommended to be set to "Automatically" to fully exploit performance caching. See
http://www.microsoft.com/windows/ie/ie6/using/howto/customizing/clearcache.mspx for more
details on caching.
Per-session cookies (not stored) need to be enabled. The Browser user interface uses a session
cookie (in memory) for holding server credentials to be passed to the server for each transaction.
The product requires support for the HTTP 1.1 protocol to support compression and client cache
management.
Note: If a network proxy is used then "Use HTTP 1.1 through proxy connections" may need to be
selected as well.
Page 51
The product uses Java scripting for user interactivity therefore "Scripting of Java Applets" must be
enabled.
The product uses popup windows for searches, therefore popup blockers must be configured to
allow popups from Web application server hosts.
Set your Internet Explorer cache size to a reasonable size to hold the cached pages as needed.
See http://www.microsoft.com/windows/ie/ie6/using/howto/customizing/clearcache.mspx for more
details.
Caveat
The product supports a number of J2EE Web application servers. Each J2EE Web application server is
configured differently and has additional options (clustering, logging etc) that can be used. This document
is neutral to the differences of each J2EE Web application server. Refer to the documentation provided
with the J2EE Web application servers for the location of specific configuration settings discussed in this
section as well as advanced settings supported.
An installation of the Web Application Software is called an instance. Typically one instance of the
software exists on a machine but you can have more than one installed.
Within an instance you can define a server. This is also called a Java "container" which will house
one or more J2EE applications. You will have at least one server per environment. A server uses
one Java Virtual Machine (JVM).
Within a server is the J2EE application. It can be a single J2EE application or multiples
depending on the Web application server supported.
Page 52
The Web application server you use may have different terminology for these same concepts. For the
remainder of this section we will use the above terminology.
appViewer An Application Viewer which contains a data dictionary and source viewer.
Each of these J2EE Web Applications has its own configuration files and are combined together when the
product is "built" into a WAR/EAR file by the genupdatewar Generate J2EE WAR and EAR files utility.
/
root
WEB-INF
classes
XAIApp
WEB-INF
classes
appViewer
WEB-INF
config
help
WEB-INF
Page 53
Location
Contents
Configuration Files
root/WEB-INF
Contents
web.xml J2EE Application
Descriptor
log4j.properties Logging
Configuration
spl.properties Product
configuration settings
weblogic.xml WebLogic
Extensions
web.xml J2EE Application
Descriptor
root/WEB-INF/classes
log4j.properties Logging
Configuration
spl.properties Product
configuration settings
weblogic.xml WebLogic
Extensions
XAIApp/WEB-INF
Contents
web.xml J2EE Application
Descriptor
log4j.properties Logging
Configuration
spl.properties Product
configuration settings
weblogic.xml WebLogic
Extensions
web.xml J2EE Application
Descriptor
XAIApp/WEB-INF/classes
log4j.properties Logging
Configuration
spl.properties Product
configuration settings
appViewer/WEB-INF
Contents
web.xml J2EE Application
Descriptor
log4j.properties Logging
Configuration
spl.properties Product
configuration settings
weblogic.xml WebLogic
Extensions
web.xml J2EE Application
Page 54
Location
Contents
Configuration Files
Descriptor
appViewer/config
log4j.properties Logging
Configuration
spl.properties Product
configuration settings
help/WEB-INF
Contents
web.xml J2EE Application
Descriptor
log4j.properties Logging
Configuration
spl.properties Product
configuration settings
weblogic.xml WebLogic
Extensions
web.xml J2EE Application
Descriptor
Contents
web.xml J2EE Application Descriptor
log4j.properties Logging Configuration
spl.properties Product configuration settings
weblogic.xml WebLogic Extensions
<env-entry>
<description>Value of HTTP 1.1 max-age header parameter for
JSPs</description>
<env-entry-name>maxAge</env-entry-name>
<env-entry-value>28800</env-entry-value>
<env-entry-type>java.lang.Integer</env-entry-type>
</env-entry>
<env-entry>
<description>How long to cache drop down values in seconds</description>
<env-entry-name>fieldValuesAge</env-entry-name>
<env-entry-value>3600</env-entry-value>
<env-entry-type>java.lang.Integer</env-entry-type>
</env-entry>
<env-entry>
<description>Is this a development environment</description>
<env-entry-name>isDevelopment</env-entry-name>
Page 55
<env-entry-value>false</env-entry-value>
<env-entry-type>java.lang.Boolean</env-entry-type>
</env-entry>
<env-entry>
<description>Preload ALL Pages</description>
<env-entry-name>preloadAllPages</env-entry-name>
<env-entry-value>false</env-entry-value>
<env-entry-type>java.lang.Boolean</env-entry-type>
</env-entry>
<env-entry>
<description>Disable preloading of Pages</description>
<env-entry-name>disablePreload</env-entry-name>
<env-entry-value>false</env-entry-value>
<env-entry-type>java.lang.Boolean</env-entry-type>
</env-entry>
The following settings apply to Web Application Descriptor for Web application server:
web.xml Parameter
Context
Source
disableCompression
Derived
from
WEB_isDevelopment
parameter
from
ENVIRON.INI - Environment
Configuration File
maxAge (Images)
auth-method
Derived
from
WEB_WLAUTHMETHOD
parameter
from
ENVIRON.INI - Environment
Configuration File
maxAge
fieldValuesAge
Defaulted
template
preloadAllPages
Derived
from
WEB_preloadall
parameter
from
ENVIRON.INI - Environment
Configuration File
disablePreload
Defaulted in template
Page 56
to
3600
in
web.xml Parameter
Context
Source
XAIServerURL
Derived
from
Web
application
server
parameters (WEB_WLHOST,
WEB_WLPORT)
in
ENVIRON.INI - Environment
Configuration File
HTTPBasicAuthUser
HTTPBasicAuthPasswordEnc
Encrypted
password
HTTPBasicAuthUser
for
disableUIPageCompression
Derived
from
WEB_isDevelopment
parameter
from
ENVIRON.INI - Environment
Configuration File
ClassicServerURL
Derived
from
Web
application
server
parameters (WEB_WLHOST,
WEB_WLPORT)
in
ENVIRON.INI - Environment
Configuration File
Note: It is highly recommended that you do not change this configuration file by extracting the
configuration file from the EAR/WAR file using Java utilities, making the change manually and rebuilding
the EAR/WAR file. Use genupdatewar Generate J2EE WAR and EAR files to build the EAR/WAR file as
documented in Web application server Configuration Process
Page 57
The product Web Application has a specific number of settings outside of the J2EE specification to
control the internals of the product. This file exists as similar files exist for all modes of operation of the
product (for example, Batch can be run outside the J2EE Web application server). Because of this a
common configuration standard was adopted:
For the Web application server the spl.properties uses the following settings.
Parameter
Context
Source
spl.tools.loaded.applications
List of applications
installed. Values are
typically
base,ccb,cm
Generated by
installation script.
spl.runtime.options.isDevelopmentMode
Whether the
environment is used
for development
(true or false).
Derived from
WEB_isDevelopment
parameter from
ENVIRON.INI Environment
Configuration File
spl.runtime.socket.file.dir
Defaulted from
template
spl.runtime.environ.init.dir
Defaulted from
template
spl.runtime.service.extraInstallationServices
Name of Application
service used for
installation defaults.
Default: CILTINCP
Defaulted by template.
Context
Source
url-rewriting-enabled
Derived from
WEB_isExpanded
parameter from
ENVIRON.INI Environment
Configuration File
Page 58
Parameter
Context
Source
page-check-seconds
servlet-reload-check-secs
java-charset-name
Derived from
NLS_LANG parameter
from ENVIRON.INI Environment
Configuration File
context-root
Note: This configuration file is not usually altered by an implementation as it applies to development
(SDK) platforms only. It is documented for completeness here.
Example:
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
<session-descriptor>
<url-rewriting-enabled>false</url-rewriting-enabled>
</session-descriptor>
<jsp-descriptor>
<page-check-seconds>43200</page-check-seconds>
</jsp-descriptor>
<container-descriptor>
<servlet-reload-check-secs>-1</servlet-reload-check-secs>
Page 59
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
<charset-params>
<input-charset>
<resource-path>/*</resource-path>
<java-charset-name>UTF-8</java-charset-name>
</input-charset>
</charset-params>
<context-root>/</context-root>
</weblogic-web-app>
ENVIRON.INI
weblogic.xml
configureEnv
initialSetup
web.xml
cistab
templates
spl.properties
genupdatewar
SPLService.ear
Configure
Install
SPLWeb.ear
The configureEnv Setup Environment settings utility is used during installation time and can be
used post implementation to set parameters in the ENVIRON.INI - Environment Configuration
File. If any parameters are derived or set from the ENVIRON.INI - Environment Configuration File
(see "Source" column in the relevant section) then the configureEnv Setup Environment
settings should be used to maintain them.
Note: The configureEnv Setup Environment settings utility should be used to make any
changes to the ENVIRON.INI - Environment Configuration File. Manual changes to this
configuration file are not recommended.
Page 60
After the ENVIRON.INI - Environment Configuration File has been set or altered, the settings
must be reflected in the relevant configuration files used by the Web application server by running
the initialSetup Reset configuration to template utility:
o
The utility uses the templates from the etc directory to create substituted copies of these files in a
standard location:
Configuration File
Linux/Unix:
$SPLEBASE/etc/conf/WEB-INF/web.xml
Windows:
%SPLEBASE%\etc\conf\WEB-INF\web.xml
spl.properties
Linux/Unix:
$SPLEBASE/etc/conf/root/WEB-INF/classes/spl.properties
Windows:
%SPLEBASE%\etc\conf\root\WEB-INF\classes\spl.properties
log4j.proprties
Linux/Unix:
$SPLEBASE/etc/conf/root/WEB-INF/classes/log4j.properties
Windows:
%SPLEBASE%\etc\conf\root\WEB-INF\classes\log4j.properties
weblogic.xml
Linux/Unix:
$SPLEBASE/etc/weblogic.xml
Windows:
%SPLEBASE%\etc\weblogic.xml
Linux/Unix:
$SPLEBASE/etc/conf/WEB-INF/web.xml.XAIApp
Windows:
%SPLEBASE%\etc\conf\WEB-INF\web.xml.XAIApp
spl.properties
Linux/Unix:
$SPLEBASE/etc/conf/XAIApp/WEB-INF/classes/spl.properties
Page 61
Configuration File
log4j.proprties
Linux/Unix:
$SPLEBASE/etc/conf/XAIApp/WEB-INF/classes/log4j.properties
Windows:
%SPLEBASE%\etc\conf\XAIApp\WEB-INF\classes\log4j.properties
Linux/Unix:
$SPLEBASE/etc/conf/WEB-INF/web.xml.appViewer
Windows:
%SPLEBASE%\etc\conf\WEB-INF\web.xml.appViewer
Linux/Unix:
$SPLEBASE/etc/conf/WEB-INF/web.xml.help
Windows:
%SPLEBASE%\etc\conf\WEB-INF\web.xml.help
At this point you may perform manual changes to the above files to parameters not implemented
in the ENVIRON.INI - Environment Configuration File.
Note: Any manual changes are overwritten after running the initialSetup Reset configuration to
template utility. Backups should be made of any changes and then manually reapplied to
reinstate all manual changes.
To reflect configuration changes into the product Web Applications the genupdatewar Generate
J2EE WAR and EAR files utility must be executed. This will build the necessary EAR/WAR files to
be deployed into the J2EE Web application server.
Depending on the architecture, the genupdatewar Generate J2EE WAR and EAR files utility will
generate one or more EAR files. Refer to Business Application Server Configuration for a description of
the EAR files.
At this point the product Web Applications are ready for deployment into the J2EE Web application
server.
Page 62
If the change is to any setting contained in the ENVIRON.INI - Environment Configuration File for
the Web application server then you must run the following utilities in the order indicated:
1. Execute the configureEnv Setup Environment settings utility to reflect the parameter
change in the ENVIRON.INI - Environment Configuration File.
2. Execute the initialSetup Reset configuration to template utility to rebuild the
configuration files using the ENVIRON.INI - Environment Configuration File and provided
template file. This will reset the configuration to the contents of the template files.
3. (Optional) Make any manual changes to the configuration files potentially lost in Step 2.
4. Execute the genupdatewar Generate J2EE WAR and EAR files utility to implement the
configuration files in the product Web Application files.
If the change is to any setting not contained in the ENVIRON.INI - Environment Configuration File
for the Web application server but is in the configuration files for the Web application server then
you must run the following utilities in the order indicated:
1. (Optional) Make any manual changes to the relevant configuration files.
2. Execute the genupdatewar Generate J2EE WAR and EAR files utility to implement the
configuration files in the product Web Application files.
Page 63
For the ORACLE Application Server platform, use the genoasdeploy Deploy on ORACLE
Application Server utility.
For the ORACLE OC4J platform, use the genoc4jdeploy Deploy on OC4J utility.
For the IBM WebSphere platform, use the genwasdeploy Deploy on WebSphere utility.
These utilities will attempt to deploy the Web Applications within the J2EE Web application server as
follows:
J2EE Web application server
Deployment details
ORACLE WebLogic
ORACLE OC4J
IBM WebSphere
Page 64
Deployment details
ENVIRON.INI - Environment Configuration File as administration
credentials.
SPLWeb.EAR This contains the Web application server component for the product.
SPLService.EAR - This contains the business application server component for the product.
"Local" Installation (also applicable to "expanded" installations for Development environments) The Web application server and Business Application are on the same instance of the J2EE Web
application server. This is the default behavior of the product for backward compatibility. If this is
the mode installed then for configuration the process is a combination of the Web application
server and business application server configuration and deployment process.
Note: Local installations are only supported on development platforms and ORACLE WebLogic
installations only.
Decoupled Installation The business application server is on a separate instance of the J2EE
Web application server. This may be the same machine or different machines. In this case the
Web application server and business application server are managed and configured separately.
To perform a decoupled installation the following must be performed:
1. The product is installed on the machines housing the Web application server and
business application server.
Page 65
2. A set of "servers" within one or more instances of the J2EE Web Application server must
be created to house the Web application server and business application server
separately. This can be on the same machine or across machines.
3. The Web application server and business application server are configured as outlined in
Web application server Configuration and Business Application Server Configuration.
4. The EAR/WAR files generated are deployed separately with the SPLWeb EAR file
deployed to the Web application server as outlined in Web Application Server
Deployment Process and SPLService EAR file deployed to the business application
server as outlined in Business Application Server Deployment Process.
In terms of the product itself there are negligible performance differences between a local or decoupled
installation.
Contents
Business Application Server Concepts
Business Application Server Configuration Process
Business Application Server Deployment Process
Business Application Server Configuration Files
The site has an architectural principle for separating the business application server and Web
application server.
The site prefers to optimize the individual servers for the individual tiers rather than having to
compromise when two or more tiers are on the same platform.
The business application server was designed to fit within the same concepts as the Web application
server. The main differences are:
Enterprise Java Beans (stateless) are used in the business application server instead of Java
Server Pages as used in the Web application server. The name of the EJB is splservicebean-<version>.jar (where <version> is the version of the product e.g. 2.2.0).
The rest of this section will outline the differences specifically for the business application server.
Page 66
The configureEnv Setup Environment settings utility is used during installation time and can be
used post implementation to set parameters in the ENVIRON.INI - Environment Configuration
File. If any parameters are derived or set from the ENVIRON.INI - Environment Configuration File
(see "Source" column in the relevant section) then the configureEnv Setup Environment
settings should be used to maintain them.
Note: The configureEnv Setup Environment settings utility should be used to make ANY
changes to the ENVIRON.INI - Environment Configuration File. Manual changes to this
configuration file are not recommended.
After the ENVIRON.INI - Environment Configuration File has been set or altered, the settings
must be reflected in the relevant configuration files used by the business application server by
running the initialSetup Reset configuration to template utility:
o
Contents
web.xml J2EE Application Descriptor
log4j.properties Logging Configuration
spl.properties Product configuration settings
hibernate.properties Database connectivity properties
o web.xml J2EE Application Descriptor
The utility uses the templates from the etc directory to create substituted copies of these files in a
standard location:
Configuration File
Service Bean
Page 67
Configuration File
web.xml
spl.properties
Linux/Unix:
$SPLEBASE/etc/conf/root/WEB-INF/classes/spl.properties
Windows:
%SPLEBASE%\etc\conf\root\WEB-INF\classes\spl.properties
log4j.proprties
Linux/Unix:
$SPLEBASE/etc/conf/root/WEB-INF/classes/log4j.properties
Windows:
%SPLEBASE%\etc\conf\root\WEB-INF\classes\log4j.properties
hibernate.propert
ies
Linux/Unix:
$SPLEBASE/etc/conf/root/WEBINF/classes/hibernate.properties
Windows:
%SPLEBASE%\etc\conf\root\WEBINF\classes\hibernate.properties
At this point you may perform manual changes to the above files to parameters not implemented
in the ENVIRON.INI - Environment Configuration File.
Note: Any manual changes are overwritten after running the initialSetup Reset configuration to
template utility. Backups should be made of any changes and then manually reapplied to
reinstate all manual changes.
To reflect configuration changes into the product EJB service beans the genupdatewar
Generate J2EE WAR and EAR files utility must be executed. This will build the necessary
EAR/WAR files to be deployed into the J2EE Web application server.
Depending on the architecture the genupdatewar Generate J2EE WAR and EAR files utility will
generate the SPLService.EAR file which will contain a number of JAR files but primarily splservicebean-<version>.jar (where <version> is the version of the product used) which will
contain the service beans.
At this point the product business applications are ready for deployment into the J2EE Web application
server.
Page 68
If the change is to any setting contained in the ENVIRON.INI - Environment Configuration File for
the business application server then you must run the following utilities in the order indicated:
1. Execute the configureEnv Setup Environment settings utility to make the reflect the
parameter change in the ENVIRON.INI - Environment Configuration File.
2. Execute the initialSetup Reset configuration to template utility to rebuild the
configuration files using the ENVIRON.INI - Environment Configuration File and provided
template file. This will reset the configuration to the contents of the template files.
3. (Optional) Make any manual changes to the configuration files potentially lost in the
previous Step.
4. Execute the genupdatewar Generate J2EE WAR and EAR files utility to implement the
configuration files in the product EJB Application files.
If the change is to any setting not contained in the ENVIRON.INI - Environment Configuration File
for the business application server but is in the configuration files for the business application
server then you must run the following utilities in the order indicated:
1. (Optional) Make any manual changes to the relevant configuration files.
2. Execute the genupdatewar Generate J2EE WAR and EAR files utility to implement the
configuration files in the product EJB Application files.
Use the deployment utilities provided on the console of the J2EE Web application server. The
EAR/WAR files that are available under $SPLEBASE/splapp/applications (or
%SPLEBASE%\splapp\applications for Windows) can be manually deployed using the
console. Refer to the Installation Guide for specific platform instructions and the administration
guide for the J2EE Web application server.
Use the deployment utilities provided on the command line of the J2EE Web application server.
The EAR/WAR files that are available under $SPLEBASE/splapp/applications (or
%SPLEBASE%\splapp\applications for Windows) can be manually deployed using the J2EE
Web application server vendor supplied deployment command line utilities. Refer to the
Installation Guide for specific platform instructions and the administration guide for the J2EE Web
application server.
A number of specific utilities for J2EE Web Application are provided with the product to deploy the
EBJ Application to the J2EE Web application server. These call the same utilities provided in the
previous option but are provided with the product.
Page 69
For the ORACLE Application Server platform, use the genoasdeploy Deploy on ORACLE
Application Server utility.
For the ORACLE OC4J platform, use the genoc4jdeploy Deploy on OC4J utility.
For the IBM WebSphere platform, use the genwasdeploy Deploy on WebSphere utility.
These utilities will attempt to deploy the EJB Applications within the J2EE Web application server as
follows:
J2EE Web application server
Deployment details
ORACLE WebLogic
ORACLE OC4J
IBM WebSphere
Page 70
/
root
WEB-INF
classes
Location
Contents
root/WEB-INF
root/WEB-INF/classes
Configuration Files
log4j.properties Logging
Configuration
spl.properties Product
configuration settings
hibernate.properties Database
connectivity properties
Contents
web.xml J2EE Application Descriptor
log4j.properties Logging Configuration
spl.properties Product configuration settings
hibernate.properties Database connectivity properties
<env-entry>
<description>How long to cache drop down values in seconds</description>
<env-entry-name>fieldValuesAge</env-entry-name>
<env-entry-value>3600</env-entry-value>
<env-entry-type>java.lang.Integer</env-entry-type>
</env-entry>
The following settings apply to Web Application Descriptor for the business application server:
Page 71
web.xml Parameter
Context
Source
fieldValuesAge
Defaulted
template
to
3600
in
Note: It is highly recommended that you do not change this configuration file by extracting the
configuration file from the EAR/WAR file using java utilities, making the change manually and rebuilding
the EAR/WAR. Use the genupdatewar Generate J2EE WAR and EAR files utility to build the EAR/WAR
file as documented in Business Application Server Configuration Process
Context
Source
spl.tools.loaded.applications
List of applications
installed. Values are
typically
base,ccb,cm
Generated by
installation script.
spl.runtime.cobol.cobrcall
If COBOL is used,
whether remote calls
are supported. (true
or false). Defaults to
false.
Generated from
template.
spl.runtime.utf8Database
Derived from
NLS_LANG or
DB2CODEPAGE
parameters from
ENVIRON.INI Environment
Configuration File
Page 72
Parameter
Context
Source
spl.runtime.cobol.remote.jvm
If COBOL is used,
whether the COBOL
Child JVM's be
considered remote
JVM's. (true or
false). Defaults to
true.
Generated from
template.
spl.runtime.cobol.remote.rmiStartPort
If COBOL is used,
Starting port range for
COBOL Child JVM's.
Defaults to 6503
Derived from
BSN_RMIPORT
parameters from
ENVIRON.INI Environment
Configuration File
spl.runtime.cobol.remote.jvmcount
Derived from
BSN_JVMCOUNT
parameters from
ENVIRON.INI Environment
Configuration File
spl.runtime.cobol.remote.jvmcommand
Derived from
Jvmcommand
parameters from
ENVIRON.INI Environment
Configuration File
spl.runtime.cobol.remote.jvmoptions
Derived from
JVMMEMORYARG
parameters from
ENVIRON.INI Environment
Configuration File
spl.runtime.sql.highValue
Derived from
highValue
parameters from
ENVIRON.INI Environment
Configuration File
spl.runtime.cobol.encoding
Derived from
NLS_LANG or
DB2CODEPAGE
parameters from
ENVIRON.INI Environment
Configuration File
Page 73
Parameter
Context
Source
spl.runtime.oracle.statementCacheSize
Defaulted from
template
spl.runtime.cobol.sql.fetchSize
Defaulted from
template
spl.runtime.cobol.sql.cache.maxTotalEntries
Number of SQL
statement entries
stored in the cache.
Defaults to 1000.
Defaulted from
template
spl.runtime.cobol.sql.cursoredCache.maxRows
Number of cursors
cached. Defaults to
10.
Defaulted from
template
spl.runtime.cobol.sql.disableQueryCache
False
Defaulted from
template
spl.runtime.socket.file.dir
Defaulted from
template
spl.runtime.environ.init.dir
Defaulted from
template
com.splwg.grid.online.enabled
Derived from
BATCHENABLED
parameter from
ENVIRON.INI Environment
Configuration File
com.splwg.grid.distThreadPool.threads.DEFAULT
Maximum number of
threads (jobs or
threads of a job)
supported concurrently
by batch daemon.
Defaults to 5
Derived from
BATCHTHREADS
parameter from
ENVIRON.INI Environment
Configuration File
com.splwg.batch.scheduler.daemon
Derived from
BATCHDAEMON
parameter from
ENVIRON.INI Environment
Configuration File
spl.runtime.service.extraInstallationServices
Name of Application
service used for
Defaulted by
Page 74
Parameter
Context
Source
installation defaults.
Default: CILTINCP
template.
spl.serviceBean.jndi.name
Derived from
template
spl.ejbContainer.contextFactory
Defaulted by
template.
spl.ejbContainer.url
URL to business
application server
spl.ejbContainer.user
Administration user to
EJB Container
spl.ejbContainer.password
Administration
password to EJB
Container
spl.runtime.cobol.remote.jvmMaxLifetimeSecs
Amount of time in
seconds before
automatic shun of
COBOL child JVM's
Manual
spl.runtime.cobol.remote.jvmMaxRequests
Number of COBOL
requests before
automatic shun of
COBOL child JVM's
Manual
Page 75
Hibernate is a powerful Object Relational Mapping (ORM) technology that makes it easy to work with
relational databases. Hibernate makes it seem as if the database contains plain Java objects, without
having to worry about how to get them out of (or back into) database tables. Coupled with the C3P0
connection pooler, it provides a comprehensive connectivity tool for the COBOL/java to operate
effectively against the database.
The product uses the Hibernate and C3P0 libraries to create a connection pool and connect the
java/COBOL objects to the database to store, update, delete and retrieve data. It is used for all the
database access for online as well as batch.
Refer to http://www.hibernate.org and http://sourceforge.net/projects/c3p0 for more information on the
technology aspects of Hibernate and C3P0.
The product has a configuration file for the database connectivity and pooling called the
hibernate.properties configuration file. This file contains the configuration settings for the database
connections and the connection pool to be used by any of the SQL statements accessing the database.
The configuration settings contained in the hibernate.properties file are summarized in the
following table:
Setting
Usage
hibernate.connection.driver_class
hibernate.connection.url
hibernate.connection.username
hibernate.connection.password
hibernate.dialect
hibernate.show_sql
hibernate.max_fetch_depth
hibernate.transaction.factory_class
Page 76
Setting
Usage
Hibernate Transaction API.
hibernate.cglib.use_reflection_optimizer
hibernate.jdbc.fetch_size
hibernate.jdbc.batch_size
hibernate.query.factory_class
hibernate.cache.use_second_level_cache
hibernate.query.substitutions
hibernate.connection.provider_class
hibernate.c3p0.min_size
hibernate.c3p0.max_size
hibernate.c3p0.timeout
hibernate.c3p0.max_statements
hibernate.c3p0.idle_test_period
hibernate.c3p0.acquire_increment
For a more indepth description of these parameters and others not included with the product see
http://www.hibernate.org and http://sourceforge.net/projects/c3p0.
Page 77
Parameter
Field from
example
Usage
From
<from>
Page 78
Parameter
Field from
example
Usage
To
<to>
CC
<cc>
BCC
<bcc>
SMTPHost
<SMTPHost>
SMTPUsername
<SMTPUsername>
SMTPPassword
<SMTPPassword>
Subject
<subject>
Page 79
Page 80
Download Software Download the required software packages from the relevant sources prior
to installation. This process is documented in detail in the Installation Guide.
Install Prerequisites Installation of the prerequisite software required by product. This process
is documented in detail in the Installation Guide.
The installation of a decoupled server is similar in installing the default installation with the following
differences:
All the prerequisite software is installed on both Web Application Server and Business Application
Server tiers. This also allows for the role of the tier to be decided at deployment time not
installation time. The role of the tier can be modified using configuration only instead of requiring
installation.
Both tiers are housed in a J2EE Web Application Server. The failover and clustering facilities of
the J2EE Web Application Server can be used to provide high availability. Refer to the J2EE Web
Application server documentation supplied by your respective vendor for information about high
availability configuration.
At deployment time the SPLWeb.EAR file is deployed to the Web Application Server and the
SPLService.EAR file to be deployed to the Business Application Server either using the J2EE
Web Application provided utilities or the deployment utilities documented in the previous sections
of this document.
The configuration settings for the Web Application Server must refer to the appropriate settings
for the Business Application Server. Refer to the Business App Server Configuration in the
Installation documentation for the settings applicable for your product.
Refer to the relevant sections of the Installation Guide for all the details for each of the tasks of the
process.
<hostname>
Database hostname
<dbport>
<database>
Database Name
Page 81
This configuration setting is sufficient for the majority of the environments at a site. If your site requires a
specialist URL for RAC support then you must override the default URL.
To enable the use of this functionality, you must create a file called dbconn_override.txt in the
environment under the $SPLEBASE\etc for Linux/UNIX (or %SPLEBASE%/etc for Windows) folder
containing the override string. This setting will replace the database connection URL used by all modes of
access at configuration time.
To reflect the change into the product you must:
Execute configureEnv[.sh] to detect the override file when using the "p" option to process
the configuration file.
Note: The dbconn_override.txt must exist each time you run configureEnv[.sh]
Note: When running initialSetup[.sh] any manual customization (outside of the normal
configuration process) will need to be manually reapplied.
Page 82
There are instances when the COBOL processes hosted in "child" Java virtual machines can consume
too many resources, e.g. running out of native memory. In the event that such a situation obtains, and
cannot be resolved by e.g. identifying a problematic COBOL module, it is necessary to shutdown (shun)
the OS process that hosts COBOL in order to reclaim the resources.
In these situations is possible to configure the system to automatically "shun" a COBOL child JVM in
order to forestall a possible situation where the process consumes too many resources. This facility
allows both time-based and request-based scheduling for an automated rollover to a standby JVM.
Optionally a facility has been created that allows for an automatic rollover from the active COBOL child
JVM to a standby JVM, without disrupting any system processing. In order to allow this, the system must
be configured to use at least two (2) child JVMs, to assure a near-instantaneous switchover to the
standby JVM.
The feature is activated by placing either, or both, of the following properties into the spl.properties
that govern the child JVM:
spl.runtime.cobol.remote.jvmMaxLifetimeSecs=[number of seconds]
spl.runtime.cobol.remote.jvmMaxRequests=[number of COBOL requests]
Set either property to zero (or leave it out) to disable the relevant rollover policy.
If the JVM max lifetime seconds parameter is set to e.g. 3600 for one hour, then one hour after
the first request is made to that child JVM, it will be automatically "shunned", completing all inflight requests normally, while transferring all new work to the standby child JVM.
If the JVM max requests parameter is set to e.g. 50000, then after 50000 COBOL commands
have been sent to the child JVM, it will be automatically shunned as above.
When both parameters are provided, the child JVM will be shunned automatically when either
condition obtains, e.g. shun after one hour, or 20000 COBOL commands, whichever comes first
It is recommended starting with the values of 3600/50000 if you are encountering problems with the
COBOL child JVM exhausting its resources (e.g. COBOL-level memory allocation failures).
These policies are not active in the default configuration as part of the installation process.
The system creates log file entries when a rollover condition has been satisfied.
Cache Management
A great deal of information in the system changes infrequently. In order to avoid accessing the database
every time this type of information is required by an end-user, the system maintains a cache of static
information on the web server. In addition to the web servers cache, information is also cached on each
users browser.
Server Cache
The cache is populated the first time any user accesses a page that contains cached information. For
example, consider a control table whose contents appear in a dropdown on various pages. When a user
opens one of these pages, the system verifies that the list of records exists in the cache. If so, it uses the
values in the cache. If not, it accesses the database to retrieve the records and saves them in the cache.
In other words, the records for this control table are put into the cache the first time they are used by any
user. The next user who opens one of these pages will have the records for this control table retrieved
from the cache (thus obviating the database access).
Page 83
The following points describe the type of data that is cached on the web server:
Field labels. This portion of the cache contains the labels that prefix fields on the various pages
in the system.
System information. This portion of the cache contains installation and license key information as
well as basic information about the various application services (e.g., the URLs that are
associated with the various pages).
Menu items. This portion of the cache contains the menu items.
Dropdown contents. This portion of the cache contains the contents of the various dropdowns
that appear throughout the system.
XSL documents. This portion of the cache contains each pages static HTML.
Portal information. This portion of the cache contains information about which zones are shown
on the various pages.
The contents of the cache are cleared whenever the web server is "bounced". This means that fresh
values are retrieved from the database after the application server software is restarted.
If you change the database after the cache is built and the information you changed is kept in the cache,
users may continue to see the old values. If you dont want to bounce your web server, you can issue
one of the following commands in your browsers URL to immediately clear the contents of the cache (a
separate command exists for each type of data that is held in the cache):
Command
Effect
flushAll.jsp?language=<language code>
flushMessageCatalog.jsp
flushSystemLoginInfo.jsp
flushMenu.jsp
flushDropdownCache.jsp?language=<language
code>
Page 84
Command
Effect
objects in the dropdown cache are flushed
automatically every 30 minutes from the time
they are first built.
Note: The language=<language code>
option is optional.
flushDropDownField.jsp?language=<language
code>&key=<field>
flushUI_XSLs.jsp
flushXMLMetaInfo.jsp
flushPortalMetaInfo.jsp
Client Cache
In addition to the web servers cache, information is also cached on each users browser. After clearing
the cache thats maintained on the web server, you must also clear the cache thats maintained on your
clients browser. To do this, follow the following steps:
Turn on Delete all offline content on the subsequent pop-up that appears and then click OK.
Note: Each users cache is automatically refreshed based on the maxAge parameter. We recommend
that you set this parameter to 1 second on development / test environments and 28800 seconds (8 hours)
on production environments.
Page 85