It is a messaging application using Messaging Driven Bean, DB2 7.x deployed in WebSphere 5.1.1.3. When the messages are received by Message Driven bean, certain messages are sent to a queue and some other messages are persisted to database, based on business logic. If 2 SUCCESSIVE messages are sent to queue, datasource lookup throws exception. However, a combination of sendToQueue-datasourceLookUp-sendToQueue-datasourceLookUp-sendToQueue-datasourceLookUp does ...