quality@glassfish.java.net

Re: Changin 'context-root' and 'Launch' link on GUI Admin console

From: K K. <kana.akmt_at_gmail.com>
Date: Mon, 12 Jan 2009 12:39:15 +0900

Hi Judy,

Thank you for your reply. I've reported the issue as #7022.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=7022

Have a good weekend too !


Kana


2009/1/12 Judy Tang <Judy.J.Tang_at_sun.com>:
> Hi Kana,
>
> Thank you so much for testing. A good catch, please report this issue. I
> like your suggestion too to
> improve the usability. I think there is a way to let user change the xml
> deployment descriptor, if we
> have a message to point user to do that, it would be very helpful since
> context root issue is a very
> common error.
>
> Have a good new week :-)
> Judy
>
> Kana K. wrote:
>
>> Hi all,
>>
>> I installed b31 with using zip distribution today.
>>
>> One small thing I noticed:
>> Because the change made to Web Application's 'context root' will not
>> be applied immedeately, launching application with clicking 'Launch'
>> url must fail(The change will be applied after re-starting domain).
>>
>> It there're no way to change context root immediately after the
>> action, I think it's better to tell users about that, like with
>> showing messages, hiding a 'Launch' link or so on. That may improve
>> user-friendliness.
>>
>> Is this worth reporting as issue ?
>>
>> -------------------------
>> How to reproduce:
>> -------------------------
>> 1. Start domain and access GUI Console.
>> * Access http://localhost:4848
>>
>> 2. Deploy app (hello.war) and open it's setting page.
>> *Applications -> Web Applications -> click Name( 'hello' )
>>
>> 3. Change the Context Root in "Web Application" page, and save the change.
>> * i.e.) /hello --> /helloworld
>> * click [Save] .
>>
>> 4. A Message will appear on top of window as: 'New values successfully
>> saved.'
>>
>> 5. Click 'Web Applications' from side menu to see if 'Context Root' in
>> the list has been changed.
>>
>> 6. Click 'Launch' link.
>> A new window opens to display the app with new URL, but it fails with 404
>> error.
>> Application is sill available with old context path
>> (http://localhost:8080/hello).-------------------------
>>
>>
>> ---
>> Kana
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>



-- 
----
Kana