You can use the wsadmin scripting tool to change connection pool settings.
Why and when to perform this task
The WebSphere Application Server wsadmin tool provides the ability to run scripts. You can use the wsadmin tool to manage a WebSphere Application Server installation, as well as configuration, application deployment, and server run-time operations. The WebSphere Application Server only supports the Jacl and Jython scripting languages. To learn more about the wsadmin tool see Starting the wsadmin scripting client.
To use the wsadmin tool to change connection pool settings:
Steps for this task
To change connection pool settings, you use the getAttribute and setAttribute commands, run against the various settings objects.
$AdminControl getAttribute $objectname connectionTimeout $AdminControl setAttribute $objectname connectionTimeout 200
Related reference
Wsadmin tool