dev@glassfish.java.net

Re: Different root context for the same app

From: <Jan.Luehe_at_Sun.COM>
Date: Thu, 10 Apr 2008 14:46:32 -0700

Arun Gupta wrote:

> I've created a Rails app and added WEB-INF/sun-web.xml directory with
> the contents as:
>
> -- cut here --
> <sun-web-app error-url="">
> <context-root>/ruby_comet</context-root>
> <class-loader delegate="true"/>
> -- cut here --
>
> If the app is deployed then the following message is shown:
>
> INFO: Loading application ttt_ruby at /ttt_ruby
>
> However if I restart the server (w/o re-deploying the app) then the
> following message is shown:
>
> INFO: Loading application ttt_ruby at /ruby_comet
>
> The same app is getting loaded in different root context. And indeed
> this is verified by accessing the URL as well.
>
> Am I missing something or this is a bug ?


Yes, looks like a bug.
This is on V3, right?

Jan


>
> -Arun
>