We are currently encountering issues with BAS. Our application uses the JDBC Connection pooling by BAS. We get to test our code in development and moved it to testing. In testing we get a connection from the datasource which is already closed. In some instance we are getting null pointer exception's after datasource gives us a connection(It doesn't throw exception while get connection). Have anybody encountered this varied behavior. Any help would be appreciated. I coudn't get any help in BAS documentation and not able to search web on the topics.