dev@glassfish.java.net

Re: QL failing due to directory names

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Tue, 03 Mar 2009 17:39:46 -0800

The admin console issue has been fixed. However as Snjezana explained
below, there will be issue relating to update center if the directory
name is not named 'glassfish' as expected.
> ------- Additional comments from anilam Wed Mar 4 01:33:35 +0000 2009
> -------
>
> The adminConsoleDownloadLocation property in domain.xml is using a
> hardcoded
> relative path starting from 'glassfish'.
> We change it so that the property is based on
> ${com.sun.aas.installRoot} and
> change the java code expecting an absolute path.
>
> This allows console comes up fine even if GF installation is not in the
> directory named 'glassfish'.
>
thanks
Anissa.


Anissa Lam wrote:
>
>
> Snjezana Sevo-Zenzerovic wrote:
>> Richard S. Hall wrote:
>>
>>> Snjezana Sevo-Zenzerovic wrote:
>>>
>>>> I know it is somewhat confusing since we currently have file layout
>>>> mismatch between developer build and full product build, but
>>>> glassfish in glassfish.zip or web.zip is not intended as top level
>>>> installation directory name. If you take a look at "official" v3
>>>> distribution (i.e. one which is IPS enabled and coming out of RE
>>>> build), you will notice that it contains glassfishv3 as top level
>>>> directory, and beneath that are bin, glassfish, javadb and pkg.
>>>> While the top level directory name can be changed to anything,
>>>> subdirectory names (including "glassfish" ) and their file layout
>>>> are defined as interfaces. There is some more info on this in file
>>>> layout one-pager:
>>>>
>>>> http://wiki.glassfish.java.net/attach/V3FunctionalSpecs/V3FileLayout.txt
>>>>
>>>
>>>
>>> I guess that makes a little more sense, thanks. Still would be cool
>>> if we could fix it. :-)
>>
>> We are planning to "fix" it in a sense that you should eventually get
>> the same file layout for developer build and for RE build (minus the
>> IPS package database in the case of developer build), so that should
>> improve things...
>>
>>>
>>> Does this mean 7031 should be closed?
>>
>> Yes, probably... I am not sure if there is anything that can be done
>> on Admin GUI side of things to handle this situation more gracefully.
>>
> We should be able to fix this. Looking into that ...
>
> thanks
> Anissa.
>>>
>>> -> richard
>>>
>>>>
>>>>
>>>>>
>>>>> Thanks.
>>>>>
>>>>> -> richard
>>>>>
>>>>>>
>>>>>> HTH....
>>>>>>
>>>>>>
>>>>>> Richard S. Hall wrote:
>>>>>>
>>>>>>> Jane Young wrote:
>>>>>>>
>>>>>>>> Hi Richard,
>>>>>>>>
>>>>>>>> The issue you've pointed out is about Admin Console. It's not
>>>>>>>> related to QL.
>>>>>>>> When you run QL, did you specify the parameter:
>>>>>>>> "-Dglassfish.home"?
>>>>>>>> Please see:
>>>>>>>> http://wiki.glassfish.java.net/Wiki.jsp?page=V3BuildTests#ql
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Yes, I did specify "glassfish.home"...
>>>>>>>
>>>>>>> I didn't mean to imply that it was QL's fault, rather I am
>>>>>>> trying to bring some attention to 7031 since it rears its head
>>>>>>> in QL.
>>>>>>>
>>>>>>>> From the stacktrace in the issue, looks like it's trying to
>>>>>>>> download Admin Console from UC. Which distribution are you using?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Right now I am using
>>>>>>> distributions/glassfish/target/glassfish-3.0.0-SNAPSHOT.zip,
>>>>>>> although when I filed the original 7031 issue it was against
>>>>>>> web.zip.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> -> richard
>>>>>>>
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Jane
>>>>>>>>
>>>>>>>>
>>>>>>>> Richard S. Hall wrote:
>>>>>>>>
>>>>>>>>> A while ago I filed this issue:
>>>>>>>>>
>>>>>>>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=7031
>>>>>>>>>
>>>>>>>>> I never heard anything more about it, but perhaps I am seeing
>>>>>>>>> more artifacts from this issue when running QL tests.
>>>>>>>>>
>>>>>>>>> If I install glassfish into a directory other than one named
>>>>>>>>> "glassfish", then I get QL failures. For example, I have an
>>>>>>>>> install directory I call "glassfish-felix-1.5.0". This causes
>>>>>>>>> QL to have failures, whereas if I rename the directory to
>>>>>>>>> "glassfish" it runs fine.
>>>>>>>>>
>>>>>>>>> Am I the only one who uses multiple install directories? :-)
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> -> richard
>>>>>>>>>
>>>>>>>>> p.s. For those interested, yes, GF trunk passes QL tests on
>>>>>>>>> the latest Felix snapshot...so maybe we can move to Felix
>>>>>>>>> 1.6.0 once it is released.
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>> 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
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>