You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Carsten Ziegeler <cz...@apache.org> on 2020/03/02 08:06:47 UTC
[Starter] Startup detection not working reliable anymore
Hi,
some time back we added a mechanism that - on startup of the starter
application - display a screen telling the user that the server is
starting up.
Over time this mechanism got changed - I don't know what exactly it is
using today - but it is not working reliable anymore. If you hit refresh
you are presented with different exceptions. Eventually, after pressing
refresh some more times, the startup page is there.
This means, depending on when you open the browser, you either get the
startup notice or an exception - clearly not a great user experience.
It would be great if this could be fixed.
Regards
Carsten
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org
Re: [Starter] Startup detection not working reliable anymore
Posted by Carsten Ziegeler <cz...@apache.org>.
Thanks Georg,
I could see it just by hitting refresh several times in the browser
during startup.
Regards
Carsten
On 17.03.2020 15:29, Georg Henzler wrote:
> Hi Carsten,
>
> I'll have to check with the latest version of the starter (when I made
> the change it worked reasonably well) - I created the issue [1] for it.
>
> -Georg
>
> [1] https://issues.apache.org/jira/browse/SLING-9211
>
> On 2020-03-05 10:08, Konrad Windszus wrote:
>> I would suggest that you create a new JIRA issue with the exceptions
>> you are experience and then someone needs to investigate.
>> Konrad
>>
>>> On 5. Mar 2020, at 07:21, Carsten Ziegeler <cz...@apache.org> wrote:
>>>
>>> So are we going to do anything about this?
>>>
>>> Regards
>>> Carsten
>>>
>>> On 02.03.2020 09:28, Carsten Ziegeler wrote:
>>>> Thanks Konrad,
>>>> I'm struggling a little bit here as this worked with the initial
>>>> version we had - that was not a sophisticated implementation but did
>>>> the trick and most importantly did not present exceptions on startup
>>>> to potentially new users.
>>>> It seems we now have switched to a general approach which doesn't
>>>> solve the simple use case anymore but instead requires changes to
>>>> other parts as well.
>>>> I'm not saying that the general approach is wrong or the additional
>>>> work is wrong, but the simple use case for the starter could be
>>>> achieved with a much simpler solution without annoying users.
>>>> Regards
>>>> Carsten
>>>> On 02.03.2020 09:12, Konrad Windszus wrote:
>>>>> This has been adjusted in the context of
>>>>> https://issues.apache.org/jira/browse/SLING-8418
>>>>> <https://issues.apache.org/jira/browse/SLING-8418>.
>>>>> I think the exceptions are related to the order:
>>>>> https://issues.apache.org/jira/browse/SLING-8355
>>>>> <https://issues.apache.org/jira/browse/SLING-8355>.
>>>>> Maybe Georg can explain the exceptions a bit better...
>>>>>
>>>>> Konrad
>>>>>
>>>>>> On 2. Mar 2020, at 09:06, Carsten Ziegeler <cz...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> some time back we added a mechanism that - on startup of the
>>>>>> starter application - display a screen telling the user that the
>>>>>> server is starting up.
>>>>>>
>>>>>> Over time this mechanism got changed - I don't know what exactly
>>>>>> it is using today - but it is not working reliable anymore. If you
>>>>>> hit refresh you are presented with different exceptions.
>>>>>> Eventually, after pressing refresh some more times, the startup
>>>>>> page is there.
>>>>>>
>>>>>> This means, depending on when you open the browser, you either get
>>>>>> the startup notice or an exception - clearly not a great user
>>>>>> experience.
>>>>>>
>>>>>> It would be great if this could be fixed.
>>>>>>
>>>>>>
>>>>>> Regards
>>>>>> Carsten
>>>>>> --
>>>>>> Carsten Ziegeler
>>>>>> Adobe Research Switzerland
>>>>>> cziegeler@apache.org
>>>>>
>>>>>
>>>
>>> --
>>> --
>>> Carsten Ziegeler
>>> Adobe Research Switzerland
>>> cziegeler@apache.org
--
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org
Re: [Starter] Startup detection not working reliable anymore
Posted by Georg Henzler <gh...@apache.org>.
Hi Carsten,
I'll have to check with the latest version of the starter (when I made
the change it worked reasonably well) - I created the issue [1] for it.
-Georg
[1] https://issues.apache.org/jira/browse/SLING-9211
On 2020-03-05 10:08, Konrad Windszus wrote:
> I would suggest that you create a new JIRA issue with the exceptions
> you are experience and then someone needs to investigate.
> Konrad
>
>> On 5. Mar 2020, at 07:21, Carsten Ziegeler <cz...@apache.org>
>> wrote:
>>
>> So are we going to do anything about this?
>>
>> Regards
>> Carsten
>>
>> On 02.03.2020 09:28, Carsten Ziegeler wrote:
>>> Thanks Konrad,
>>> I'm struggling a little bit here as this worked with the initial
>>> version we had - that was not a sophisticated implementation but did
>>> the trick and most importantly did not present exceptions on startup
>>> to potentially new users.
>>> It seems we now have switched to a general approach which doesn't
>>> solve the simple use case anymore but instead requires changes to
>>> other parts as well.
>>> I'm not saying that the general approach is wrong or the additional
>>> work is wrong, but the simple use case for the starter could be
>>> achieved with a much simpler solution without annoying users.
>>> Regards
>>> Carsten
>>> On 02.03.2020 09:12, Konrad Windszus wrote:
>>>> This has been adjusted in the context of
>>>> https://issues.apache.org/jira/browse/SLING-8418
>>>> <https://issues.apache.org/jira/browse/SLING-8418>.
>>>> I think the exceptions are related to the order:
>>>> https://issues.apache.org/jira/browse/SLING-8355
>>>> <https://issues.apache.org/jira/browse/SLING-8355>.
>>>> Maybe Georg can explain the exceptions a bit better...
>>>>
>>>> Konrad
>>>>
>>>>> On 2. Mar 2020, at 09:06, Carsten Ziegeler <cz...@apache.org>
>>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> some time back we added a mechanism that - on startup of the
>>>>> starter application - display a screen telling the user that the
>>>>> server is starting up.
>>>>>
>>>>> Over time this mechanism got changed - I don't know what exactly it
>>>>> is using today - but it is not working reliable anymore. If you hit
>>>>> refresh you are presented with different exceptions. Eventually,
>>>>> after pressing refresh some more times, the startup page is there.
>>>>>
>>>>> This means, depending on when you open the browser, you either get
>>>>> the startup notice or an exception - clearly not a great user
>>>>> experience.
>>>>>
>>>>> It would be great if this could be fixed.
>>>>>
>>>>>
>>>>> Regards
>>>>> Carsten
>>>>> --
>>>>> Carsten Ziegeler
>>>>> Adobe Research Switzerland
>>>>> cziegeler@apache.org
>>>>
>>>>
>>
>> --
>> --
>> Carsten Ziegeler
>> Adobe Research Switzerland
>> cziegeler@apache.org
Re: [Starter] Startup detection not working reliable anymore
Posted by Konrad Windszus <ko...@gmx.de>.
I would suggest that you create a new JIRA issue with the exceptions you are experience and then someone needs to investigate.
Konrad
> On 5. Mar 2020, at 07:21, Carsten Ziegeler <cz...@apache.org> wrote:
>
> So are we going to do anything about this?
>
> Regards
> Carsten
>
> On 02.03.2020 09:28, Carsten Ziegeler wrote:
>> Thanks Konrad,
>> I'm struggling a little bit here as this worked with the initial version we had - that was not a sophisticated implementation but did the trick and most importantly did not present exceptions on startup to potentially new users.
>> It seems we now have switched to a general approach which doesn't solve the simple use case anymore but instead requires changes to other parts as well.
>> I'm not saying that the general approach is wrong or the additional work is wrong, but the simple use case for the starter could be achieved with a much simpler solution without annoying users.
>> Regards
>> Carsten
>> On 02.03.2020 09:12, Konrad Windszus wrote:
>>> This has been adjusted in the context of https://issues.apache.org/jira/browse/SLING-8418 <https://issues.apache.org/jira/browse/SLING-8418>.
>>> I think the exceptions are related to the order: https://issues.apache.org/jira/browse/SLING-8355 <https://issues.apache.org/jira/browse/SLING-8355>.
>>> Maybe Georg can explain the exceptions a bit better...
>>>
>>> Konrad
>>>
>>>> On 2. Mar 2020, at 09:06, Carsten Ziegeler <cz...@apache.org> wrote:
>>>>
>>>> Hi,
>>>>
>>>> some time back we added a mechanism that - on startup of the starter application - display a screen telling the user that the server is starting up.
>>>>
>>>> Over time this mechanism got changed - I don't know what exactly it is using today - but it is not working reliable anymore. If you hit refresh you are presented with different exceptions. Eventually, after pressing refresh some more times, the startup page is there.
>>>>
>>>> This means, depending on when you open the browser, you either get the startup notice or an exception - clearly not a great user experience.
>>>>
>>>> It would be great if this could be fixed.
>>>>
>>>>
>>>> Regards
>>>> Carsten
>>>> --
>>>> Carsten Ziegeler
>>>> Adobe Research Switzerland
>>>> cziegeler@apache.org
>>>
>>>
>
> --
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziegeler@apache.org
Re: [Starter] Startup detection not working reliable anymore
Posted by Carsten Ziegeler <cz...@apache.org>.
So are we going to do anything about this?
Regards
Carsten
On 02.03.2020 09:28, Carsten Ziegeler wrote:
> Thanks Konrad,
>
> I'm struggling a little bit here as this worked with the initial version
> we had - that was not a sophisticated implementation but did the trick
> and most importantly did not present exceptions on startup to
> potentially new users.
>
> It seems we now have switched to a general approach which doesn't solve
> the simple use case anymore but instead requires changes to other parts
> as well.
>
> I'm not saying that the general approach is wrong or the additional work
> is wrong, but the simple use case for the starter could be achieved with
> a much simpler solution without annoying users.
>
> Regards
> Carsten
>
> On 02.03.2020 09:12, Konrad Windszus wrote:
>> This has been adjusted in the context of
>> https://issues.apache.org/jira/browse/SLING-8418
>> <https://issues.apache.org/jira/browse/SLING-8418>.
>> I think the exceptions are related to the order:
>> https://issues.apache.org/jira/browse/SLING-8355
>> <https://issues.apache.org/jira/browse/SLING-8355>.
>> Maybe Georg can explain the exceptions a bit better...
>>
>> Konrad
>>
>>> On 2. Mar 2020, at 09:06, Carsten Ziegeler <cz...@apache.org> wrote:
>>>
>>> Hi,
>>>
>>> some time back we added a mechanism that - on startup of the starter
>>> application - display a screen telling the user that the server is
>>> starting up.
>>>
>>> Over time this mechanism got changed - I don't know what exactly it
>>> is using today - but it is not working reliable anymore. If you hit
>>> refresh you are presented with different exceptions. Eventually,
>>> after pressing refresh some more times, the startup page is there.
>>>
>>> This means, depending on when you open the browser, you either get
>>> the startup notice or an exception - clearly not a great user
>>> experience.
>>>
>>> It would be great if this could be fixed.
>>>
>>>
>>> Regards
>>> Carsten
>>> --
>>> Carsten Ziegeler
>>> Adobe Research Switzerland
>>> cziegeler@apache.org
>>
>>
>
--
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org
Re: [Starter] Startup detection not working reliable anymore
Posted by Carsten Ziegeler <cz...@apache.org>.
Thanks Konrad,
I'm struggling a little bit here as this worked with the initial version
we had - that was not a sophisticated implementation but did the trick
and most importantly did not present exceptions on startup to
potentially new users.
It seems we now have switched to a general approach which doesn't solve
the simple use case anymore but instead requires changes to other parts
as well.
I'm not saying that the general approach is wrong or the additional work
is wrong, but the simple use case for the starter could be achieved with
a much simpler solution without annoying users.
Regards
Carsten
On 02.03.2020 09:12, Konrad Windszus wrote:
> This has been adjusted in the context of https://issues.apache.org/jira/browse/SLING-8418 <https://issues.apache.org/jira/browse/SLING-8418>.
> I think the exceptions are related to the order: https://issues.apache.org/jira/browse/SLING-8355 <https://issues.apache.org/jira/browse/SLING-8355>.
> Maybe Georg can explain the exceptions a bit better...
>
> Konrad
>
>> On 2. Mar 2020, at 09:06, Carsten Ziegeler <cz...@apache.org> wrote:
>>
>> Hi,
>>
>> some time back we added a mechanism that - on startup of the starter application - display a screen telling the user that the server is starting up.
>>
>> Over time this mechanism got changed - I don't know what exactly it is using today - but it is not working reliable anymore. If you hit refresh you are presented with different exceptions. Eventually, after pressing refresh some more times, the startup page is there.
>>
>> This means, depending on when you open the browser, you either get the startup notice or an exception - clearly not a great user experience.
>>
>> It would be great if this could be fixed.
>>
>>
>> Regards
>> Carsten
>> --
>> Carsten Ziegeler
>> Adobe Research Switzerland
>> cziegeler@apache.org
>
>
--
--
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org
Re: [Starter] Startup detection not working reliable anymore
Posted by Konrad Windszus <ko...@gmx.de>.
This has been adjusted in the context of https://issues.apache.org/jira/browse/SLING-8418 <https://issues.apache.org/jira/browse/SLING-8418>.
I think the exceptions are related to the order: https://issues.apache.org/jira/browse/SLING-8355 <https://issues.apache.org/jira/browse/SLING-8355>.
Maybe Georg can explain the exceptions a bit better...
Konrad
> On 2. Mar 2020, at 09:06, Carsten Ziegeler <cz...@apache.org> wrote:
>
> Hi,
>
> some time back we added a mechanism that - on startup of the starter application - display a screen telling the user that the server is starting up.
>
> Over time this mechanism got changed - I don't know what exactly it is using today - but it is not working reliable anymore. If you hit refresh you are presented with different exceptions. Eventually, after pressing refresh some more times, the startup page is there.
>
> This means, depending on when you open the browser, you either get the startup notice or an exception - clearly not a great user experience.
>
> It would be great if this could be fixed.
>
>
> Regards
> Carsten
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziegeler@apache.org