Set Up Your Environment
You need to add a Jolt connection pool that connects to the public Tuxedo Server at Oracle, as described in “Step 3. Configure the Servlet in WebLogic Server,” in Appendix B, Simple Servlet Example. When you’re finished, the config.xml
configuration file will contain the following sections:
<StartupClass
ClassName="bea.jolt.pool.servlet.weblogic.PoolManagerStartUp"
FailureIsFatal="false"
Name="MyStartup Class"
Targets="myserver"
/>
<JoltConnectionPool
ApplicationPassword="tuxedo"
MaximumPoolSize="5"
MinimumPoolSize="3"
Name="MyJolt Connection Pool"
PrimaryAddresses="//TUXSERVER:6309"
RecvTimeout="300"
SecurityContextEnabled="true"
Targets="myserver"
UserName="joltuser"
UserPassword="jolttest"
UserRole="clt"
/>|
<ShutdownClass
ClassName=”bea.jolt.pool.servlet.weblogic.PoolManager
ShutDown.”
/>
Parent topic: Preparing to Use the Servlet with JavaBean Example