ExecutionAdministration exAdmin = SharkContainer.getAdminInterface().getExecutionAdministration();
try {
//exAdmin.connect(adminUser.getString("userLoginId"), SharkContainer.adminPass, null, null);
exAdmin.connect(adminUser.getString("userLoginId"), adminUser.getString("currentPassword"), null, null);
// this won't work with encrypted passwords: exAdmin.connect(adminUser.getString("userLoginId"), adminUser.getString("currentPassword"), null, null);
exAdmin.reevaluateAssignments();
exAdmin.disconnect();
} catch (ConnectFailed e) {
String errMsg = "Shark Connection error (if it is a password wrong error, check the admin-pass property in the container config file, probably ofbiz-containers.xml): " + e.toString();
throw new ContainerException(errMsg, e);
} catch (NotConnected e) {