These prerequisites assume you are using the default Servlet initiator, in which case, you will need a Servlet engine such as Tomcat or Jetty.
It is assumed you already successfully used LegStar using direct host access strategy (without a pooling engine). It is also assumed, at least one LegStar transport is installed in your J2EE container.
The Servlet initiator is targeted at the Servlet 2.3 API. It has been tested with Tomcat 5.5 and 6.0.
The Engine uses the "Timer and Work Manager for Application Servers" API from BEA/IBM (TWM). The Engine provides a default implementation of this API but you should be able to substitute the one provided by your application server.
These instructions are for a Tomcat deployment but can easily be translated to Jetty or other servlet engines.
The directory tree should look like this (if you have installed this module from the standalone distribution):
<installDir> |---->LICENSE |---->NOTICE |---->README |----><lib> |---->*.jar |----><samples> |----><quickstarts> |----><pooling> |---->*.xml |----><war> |---->*.war
We assume you already have legstar-invoker-config.xml customized in that same location since this file is also needed to run legstar without pooling. You can modify an endpoint definition or create a new one specifying a pooled hostAccessStrategy and a hostConnectionPoolSize. All connections using this endpoint will now be pooled.