users@glassfish.java.net

[gf-users] Re: [3.1.2.2] Protecting from 404 during startup

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Wed, 04 Jun 2014 14:53:42 -0700

Hi Pawel,

unfortunately it's not possible to do in general, but AFAIR it should
work fine for AJP listener (not HTTP).
So if you put Apache as a front-end and redirect requests to Glassfish
via AJP protocol - it should not report 404 error during startup.

Thanks.

WBR,
Alexey.


On 04.06.14 13:27, Pawel Veselov wrote:
> Hi.
>
> Is there a way to avoid the GF server open it's HTTP listener until
> all of the applications have been started? Otherwise, the request
> bounce back with 404, until the start-up phase finishes...
>
> Thank you,
> Pawel.
>