Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[AS7-6816] Make sure the ModelControllerClient is properly closed to …

…avoid out of memory issues
  • Loading branch information...
commit 278b845e3880df2a77ea551a9c988dde56077341 1 parent 07190f3
@asoldano asoldano authored jaikiran committed
View
3  ...ces/tests-integration/src/main/java/org/jboss/as/webservices/deployer/RemoteDeployer.java
@@ -49,6 +49,7 @@
import org.jboss.as.controller.client.helpers.standalone.ServerDeploymentActionResult;
import org.jboss.as.controller.client.helpers.standalone.ServerDeploymentManager;
import org.jboss.as.controller.client.helpers.standalone.ServerDeploymentPlanResult;
+import org.jboss.as.controller.client.helpers.standalone.impl.ModelControllerClientServerDeploymentManager;
import org.jboss.as.controller.operations.common.Util;
import org.jboss.as.security.Constants;
import org.jboss.dmr.ModelNode;
@@ -387,6 +388,6 @@ private static ModelControllerClient newModelControllerClient() throws Exception
}
private static ServerDeploymentManager newDeploymentManager() throws Exception {
- return ServerDeploymentManager.Factory.create(newModelControllerClient());
+ return new ModelControllerClientServerDeploymentManager(newModelControllerClient(), true);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.