Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] ServletContextListener defers server start
  • From: Dirk Olmes <dirk.olmes@xxxxxxxxxx>
  • Date: Tue, 8 Oct 2019 05:57:56 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=exentra.de; dmarc=pass action=none header.from=exentra.de; dkim=pass header.d=exentra.de; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OXC3TWvqPFUf47gr0Z8nSUvBLzqC31O/45CSLuIHdOM=; b=ogdODNl2Wnbgy48u6yF5Zq+UIec0DfZzP1AlDgaDGYfGGoH4JoPZcQE+9/6U+ILyI60oNxaaqZ4CgEs8qZRREAXcpe/dAGcKBU/ZBtnx2Clfj7EEQE6KkeinuPDJv2XMmIyhnO1W0BYGOxRC/g2PG1J/qDhgjUPW5dsdNXjJ4BY47ZOuSPQ41uh3+3gfszaX8l2HTMFTRWeoYV1o3qgBU7r08hMLXduQWciVyKCmYPkd4jbrM43UcuXO1gpClwuLLONEie7STJ71CTMR43lMuHDjUR1hZX+VNLOi/3DhBkhZurVaJw9UGiSo2XRXqJzt7afUKQgn1aXAnOH5walwJw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EzQUgLO1JHKGJvSwEE4/13BF0ilC7eEP/msKPdnpb83t8Dw1DXceQfpbnF5ukBImtdO8KrKiLlBc2zLexddyLRWz49I2HEaq2DNsAZLbJyO5MeZUqbWGTiSQcOagP4RMtHFlGtwfscw6gZJtWaLU+pW++swRa//Y9m/FDW0oaju3lRvIz9hgJmsfIl3G6B9+GRcAxL/CZDIf+haTcBRJmKMKUyb3l4cNbr2vJGTX6lToZORaNFJ/lwzAXzvg7lLrWZmogwPua66ZKEje2v2qwvsMkX2LPnsTvqNMIjGFJajvHiL6Px5Fa6TJPtipJAIid6H30jPg5+IeBzs+ys4NTA==
  • Delivered-to: jetty-users@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jetty-users>
  • List-help: <mailto:jetty-users-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHVerxZgNVPQSBpKkauFvJnVHLIQadKj9iAgACciACAA93fgP//4VyAgABXh4CAAAAzAIABAdqA
  • Thread-topic: [jetty-users] ServletContextListener defers server start

On 10/7/19 4:35 PM, Bill Ross wrote:
> Would anything like these chunks from my code work for you? The secret
> is checking status in doGet().

Thanks, a lot Bill. This looks quite similar to the solution I currently
have in place. However, our app consists of more than one servlet and I
had to jump through a lot of hoops to make the approach work someohw.
However, our developers are free to add more servlets to their project
and if they forget to inherit from our ready-state-checking-base-class
the door is open for all kinds of havoc.

Hence, I was looking for a more unified approach, one that does not
offer any functionality unless the context is fully up and running.

-dirk


Back to the top