add context listener to register datasource as attribute in ServletContext