Disable Jolt Session Pooling

Posted by: Brent Martin in PeopleTools

Tagged in: Untagged 

Brent Martin

Here’s a simple script many of you have implemented at one time or another:  Call tmadmin from the command line, count the users, and send the result to the log file.  Schedule it to run every 15 minutes or so and you’ll know how many concurrent users are accessing your system throughout the day.

In fact, here’s a ksh code fragment of how this might be accomplished:

#Get Usercounts from Tuxedo
rawdata=$(tmadmin << + > $HOME/perf/log/PS90HRPD.usercount
paginate off
pclt
quit
+)
users=`/usr/bin/cat  $HOME/perf/log/PS90HRPD.usercount | /usr/bin/grep tdpfap | /usr/bin/awk '{print $2}' |/usr/bin/grep -v psoft | /usr/bin/grep -v JavaClient |  wc -l`

This code worked well until PeopleTools 8.48 when "Jolt Session Pooling" was added to the web server to reduce the number of connections to the application server. 

Jolt Session Pooling is turned on by default, but if you have a modest number of users you might actually get a performance benefit from turning Jolt Session Pooling off because each user wouldn't have to wait for a pooled connection.

If you’re interested in turning off Jolt Session Pooling you would edit the web.xml file on your web server, set all of the instances of the joltPooling parameter to false (it appears for each servlet), and reboot your web server.

The section in web.xml looks like this:

   </init-param>
     <init-param>
       <param-name>joltPooling</param-name>
       <param-value>false</param-value>
     </init-param>
    </servlet>
     <servlet>
       <servlet-name>psp</servlet-name>
       <servlet-class>psft.pt8.psp</servlet-class>
       <init-param>
           <param-name>configDir</param-name>

For weblogic, the file is located at <PS_HOME>/webserv/<DOMAIN-NAME>/applications/peoplesoft/PORTAL/WEB-INF/web.xml.

For WebSphere the file is located at <PS_HOME>/webserv/<profile>/config/cells/<cellname>/applications/<appname>.ear/deployments/<appname>/PORTAL.war/WEB-INF/web.xml.

And for OAS, the file is located at <OAS_HOME>/j2ee/<DOMAIN-NAME>/applications/<site>/PORTAL/WEB-INF/web.xml

I’m going to head over to the PeopleTools Strategy Group on Oracle Mix to suggest that Oracle build a mechanism to capture these statistics into PeopleTools.

 

Trackback(0)
Comments (0)Add Comment

Write comment

security code
Write the displayed characters


busy