public class ServletPoolManagerConfig extends PoolManagerConfig
The startup parameters are:
poolname | Session Pool Name |
appaddrlist | Application address list //host1:port1,//host2:port2 |
failoverlist | Fail-over address list |
minpoolsize | Number of initial sessions in the session pool |
maxpoolsize | Max number of sessions in the session pool |
username | BEA Tuxedo user name for the session pool |
userpassword | BEA Tuxedo user password for the session pool |
userrole | BEA Tuxedo user role for the session pool |
apppassword | BEA Tuxedo application password for the session pool |
APPADDRLIST, APPPASSWORD, FAILOVERLIST, KEYPASSPHRASE, KEYSTORE, KSPASSPHRASE, MAXPOOLSIZE, MINPOOLSIZE, POOLNAME, TRUSTSTORE, TSPASSPHRASE, USERNAME, USERPASSWORD, USERROLE
Constructor and Description |
---|
ServletPoolManagerConfig() |
Modifier and Type | Method and Description |
---|---|
static ServletSessionPoolManager |
getSessionPoolManager()
Get the session pool manager for servlet environment.
|
static java.lang.String |
startup(java.util.Hashtable params)
It creates a named session pool to access a BEA Tuxedo system.
|
load, shutdown
public static java.lang.String startup(java.util.Hashtable params) throws java.lang.Exception
params
- Startup argumentsjava.lang.Exception
- Missing or invalid primary address list, or
unable to start the minimum number of sessions.java.lang.NumberFormatException
- Invalid number for connections.public static ServletSessionPoolManager getSessionPoolManager()
ServletSessionPoolManager