bea.jolt.pool.servlet
Class ServletPoolManagerConfig
java.lang.Object
bea.jolt.pool.PoolManagerConfig
bea.jolt.pool.servlet.ServletPoolManagerConfig
- public class ServletPoolManagerConfig
- extends PoolManagerConfig
This class is the startup class for a Jolt Session Pool Manager and one or
more associated Jolt Session Pools.
It creates the session pool manager if needed and starts a session pool
with a minimum number of sessions.
Jolt Session Pool Manager internally keeps track of one or more named
session pools.
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletPoolManagerConfig
public ServletPoolManagerConfig()
startup
public static java.lang.String startup(java.util.Hashtable params)
throws java.lang.Exception
- It creates a named session pool to access a BEA Tuxedo system.
- Parameters:
params
- Startup arguments
- Returns:
- A startup message.
- Throws:
java.lang.Exception
- Missing or invalid primary address list, or
unable to start the minimum number of sessions.
java.lang.NumberFormatException
- Invalid number for connections.
getSessionPoolManager
public static ServletSessionPoolManager getSessionPoolManager()
- Get the session pool manager for servlet environment.
- Returns:
- The session pool manager.
- See Also:
ServletSessionPoolManager