log.info("updateDataSource('" + module + "', '" + template + "', "
+ props);
MBeanServerConnection server = getServer();
// update the data source
module = (String) server
.invoke(deploymentService, "updateDataSource", new Object[] {
module, template, props }, new String[] { "java.lang.String",
"java.lang.String", "java.util.HashMap" });
// sleep for 3 secs to allow the old datasource to be undeployed first