Abstract:High dynamic computing environment makes QoS(quality of service)guarantee more important for component-based distributed system.Software system should possess self-tuning capacity for reacting to external environment variation.This paper proposes an adaptive self-configuration framework,which can automatically tune configuration parameters to preserve QoS as workload changes.The key of this framework is a layered queuing network based performance model,and it guides the search for the best combination of configuration parameters to satisfy the QoS requirement.This self-configuration framework is prototyped on OnceAS application server,and is validated using StockOnline by comparing the performance requirement satisfaction with and without this framework.The results show that through the framework's regulation,system performs well on QoS goal.