Automatic detection of datasource in Weblogic