String versionId = results.getVersionId();
ObjectName mbeanName = new ObjectName(FABRIC_MBEAN);
if (!Strings.isNullOrBlank(profileId) && !Strings.isNullOrBlank(versionId)) {
getLog().info("Performing profile refresh on mbean: " + mbeanName + " version: " + versionId + " profile: " + profileId);
try {
J4pExecRequest request = new J4pExecRequest(mbeanName, "refreshProfile", versionId, profileId);
J4pResponse<J4pExecRequest> response = client.execute(request, "POST");
response.getValue();
} catch (J4pRemoteException e) {
getLog().error("Failed to refresh profile " + profileId + " on mbean " + mbeanName + " on jolokia URL: " + jolokiaUrl + " with user: " + fabricServer.getUsername() + ". Error: " + e.getErrorType());
getLog().error("Stack: " + e.getRemoteStackTrace());