ManagementRequest is not thread safe
------------------------------------
Key: JBAS-8634
URL:
https://jira.jboss.org/browse/JBAS-8634
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Domain Management
Affects Versions: 7.0.0.Alpha1
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 7.0.0.Alpha2
The ManagementRequest class has a "responseBodyHandler" and a
"responseEndHandler" and assumes those will not be executed concurrently, but
they can be, since ConnectionImpl uses an executor to handle incoming chunks. One effect
would be a null result gets passed to the ResponseFuture, as Thomas Diesler has reported
in the linked forum thread.
There may be other thread safety issues besides this particular one.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira