dev@glassfish.java.net

Re: What is the correct way to start admin console?

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 30 Apr 2009 10:46:57 -0700

Hi Ken,

On 04/30/09 10:30 AM, Ken Paulsen wrote:
>
> Hi Jan,
>
> I'm fine with your suggestion, but have an additional question about
> this. When the admingui.war file exists as part of the distribution
> (as it does today), we only show status screens and the user waits
> until the eventual 404 or 200. In this case, the status page(s) can
> return a 202 as you've suggested instead of 200.
>
> However, when the admingui.war needs to be downloaded, we ask for
> permission (and possibly proxy information). Should this screen which
> gathers input also return a 202? I guess it probably should. Let me
> know what you think.

Yes, I would make this consistent across both scenarios.

Jan

>
> Thanks,
>
> Ken
>
> Jan Luehe wrote:
>> On 04/30/09 06:47 AM, Ken Paulsen wrote:
>>>
>>> http://localhost:4848 is the correct URL.
>>>
>>> The "wait screen" is shown when you first access :4848, regardless
>>> of the path you request. This is due to the fact that we are
>>> installing the admin console on demand (so that it takes up 0
>>> processing time / RAM until it is used). Once the application is
>>> installed and loaded, it can check your request to see if it is
>>> valid. It was not valid, so it returned a 404.
>>
>> Can we have the initial request that causes the admingui to be loaded
>> and installed return a
>> response code other than 200?
>>
>> See my comments at
>> https://glassfish.dev.java.net/servlets/ReadMsg?list=dev&msgNo=11696
>> ("http://localhost:4848/testwebapp returns 200 immediately and 404")
>>
>> Thanks,
>>
>> Jan
>>
>>>
>>> We can improve the look of that 404 page, perhaps with a valid link
>>> so that you can get where you wanted to go.
>>>
>>> Thanks,
>>>
>>> Ken
>>>
>>> Vivek Pandey wrote:
>>>> On b47, I start the server and then access:
>>>>
>>>> http://localhost:4848/admin
>>>>
>>>> It shows the page loading, keeps doing it and then gives 404.
>>>>
>>>> Accessing http://localhost:4848/ shows me the admin console correctly.
>>>>
>>>> am I not supposed to access http://localhost:4848/admin? Whats the
>>>> difference from http://localhost:4848/? Different contexts for
>>>> admin console?
>>>>
>>>> Getting 404 after showing wait screen is a bug regardless.
>>>>
>>>> -vivek.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>