qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6690) [Java Broker] Errors like NoClassDefFoundError do not interrupt ListenableFuture.get() in ACO#doSync(ListenableFuture) blocking the configuration thread and hanging the Broker on creation of BDB VHN/VH when JE library is not available in classpath
Date Wed, 12 Aug 2015 08:17:46 GMT

    [ https://issues.apache.org/jira/browse/QPID-6690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693106#comment-14693106
] 

ASF subversion and git services commented on QPID-6690:
-------------------------------------------------------

Commit 1695444 from orudyy@apache.org in branch 'java/trunk'
[ https://svn.apache.org/r1695444 ]

QPID-6690: Set exception on ListenableFuture on Errors like NoClassDefFoundError in order
to interrupt unlimited get
           Change RestServlet to return an error response instead of 500 on NoClassDefFoundError

> [Java Broker] Errors like NoClassDefFoundError do not interrupt ListenableFuture.get()
in ACO#doSync(ListenableFuture)  blocking the configuration thread and hanging the Broker
on creation of BDB VHN/VH when JE library is not available in classpath
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-6690
>                 URL: https://issues.apache.org/jira/browse/QPID-6690
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Alex Rudyy
>            Assignee: Alex Rudyy
>            Priority: Blocker
>
> Creation of BDB VHN/VH via UI hangs without any error reported via REST or into broker
logs when JE library is not available in the classpath. Additionally, Broker hangs to start-up
when BDB VHN/VH are present in the configuration store but JE library is not available.
> The issues is caused by call to ListenableFuture.get() in AbstractConfiguredObject#doSync(ListenableFuture)
. Errors like NoClassDefFoundError do not interrupt  ListenableFuture.get() and swallowed
in the ExecutorService. As result, configuration thread is waiting forever until Broker process
is stopped.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message