qpid-dev mailing list archives

[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 15:13:45 GMT

[ https://issues.apache.org/jira/browse/QPID-6690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693647#comment-14693647
]
ASF subversion and git services commented on QPID-6690:
-------------------------------------------------------
Commit 1695549 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1695549 ]
QPID-6690: [Java Broker] Unify approach to exception handling in org.AbstractConfiguredObject#doOnConfigThread
> [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: Keith Wall
> 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