[
https://issues.apache.org/jira/browse/UIMA-4964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342460#comment-15342460
]
Lou DeGenaro commented on UIMA-4964:
------------------------------------
Use DbQuery of machines and check resulting count thereof > 0 to determine DB
aliveness.
> DUCC Web Server (WS) should employ more reliable aliveness detection for
> database & broker
> ------------------------------------------------------------------------------------------
>
> Key: UIMA-4964
> URL: https://issues.apache.org/jira/browse/UIMA-4964
> Project: UIMA
> Issue Type: Bug
> Components: DUCC
> Reporter: Lou DeGenaro
> Assignee: Lou DeGenaro
> Fix For: future-DUCC
>
>
> Presently, the Web Server (WS) determines up/down for the database (DB) via
> JMX. A better test would be to perform an actual DB query or perhaps even
> confirm that actual DB updates succeed.
> Likewise, a better test of broker aliveness would be to send actual messages
> from WS to WS via broker to insure successful round trip.
> Note: such changes may be problematic for "shadow" WS when not running as
> actual "ducc" user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)