[jboss-jira] [JBoss JIRA] Created: (JBAS-8634) ManagementRequest is not thread safe

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Nov 11 11:53:01 EST 2010


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

        


More information about the jboss-jira mailing list