[
https://issues.jboss.org/browse/WFCORE-2955?page=com.atlassian.jira.plugi...
]
Brian Stansberry commented on WFCORE-2955:
------------------------------------------
Here's the DC code that's waiting for the latch:
{code}
final CountDownLatch latch = new CountDownLatch(1);
final IOExceptionHolder exceptionHolder = new IOExceptionHolder();
boolean accepted = responseContext.executeAsync(new
ManagementRequestContext.AsyncTask<Void>() {
@Override
public void execute(final ManagementRequestContext<Void> context)
throws Exception {
FlushableDataOutput output = null;
try {
MGMT_OP_LOGGER.tracef("Transmitting response for %d",
context.getOperationId());
output = responseContext.writeMessage(response);
output.write(ModelControllerProtocol.PARAM_RESPONSE);
result.writeExternal(output);
output.writeByte(ManagementProtocol.RESPONSE_END);
output.close();
} catch (IOException e) {
exceptionHolder.exception = e;
} finally {
StreamUtils.safeClose(output);
latch.countDown();
}
}
}, false);
{code}
But the thread dump doesn't show any DC thread executing that AsyncTask.
Hang in ExpressionSupportSmokeTestCase
--------------------------------------
Key: WFCORE-2955
URL:
https://issues.jboss.org/browse/WFCORE-2955
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Attachments: WFCORE-2955-threaddump.txt
Hang:
https://github.com/wildfly/wildfly-core/pull/2494
https://ci.wildfly.org/viewLog.html?buildId=63669&buildTypeId=WildFly...
I'll attach the thread dump.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)