Patent ID: 7461231

Claim:
A method for making an application server aware of a dynamic change in a logical partition while the logical partition is running, wherein the application server includes a configuration setting for threadpool size, a configuration setting for heap size, a configuration setting for size of at least one buffer, and a configuration setting for cache size, the method comprising the steps of: a dynamic partition manager determining that a dynamic reallocation of hardware resources in the logical partition is needed; the dynamic partition manager sending a message to the application server regarding the dynamic reallocation of hardware resources in the logical partition before the dynamic partition manager makes the dynamic change to the allocation of hardware resources in the one logical partition; in response to receiving the message from the dynamic partition manager, the application server autonomically changing at least one configuration setting in the application server that potentially affects performance of a computer system executing the application server, then responding with a message to the dynamic partition manager; the application server collecting performance statistics for the one logical partition; the application server comparing the performance statistics to at least one specified criterion to determine whether or not the application server will autonomically change the at least one configuration setting; and if the dynamic change to the allocation of hardware resources increases a number of processors in the one logical partition, performing the steps of: increasing the threadpool size; and increasing the heap size; if the dynamic change to the allocation of hardware resources increases memory size in the one logical partition, performing the steps of: increasing the heap size; and increasing the cache size; if the dynamic change to the allocation of hardware resources decreases the number of processors in the one logical partition, performing the steps of: decreasing the threadpool size; and decreasing the heap size; if the dynamic change to the allocation of hardware resources decreases the memory size in the one logical partition, performing the steps of: decreasing the heap size; and decreasing the cache size.