added listener to register  datasource as attribute of ServletContext