dev@glassfish.java.net

Re: System.getProperty("product.name") always null?

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 01 Oct 2009 19:23:07 -0700

Hi Jeanfrancois,

On 10/01/09 19:05, Jeanfrancois Arcand wrote:
> Salut,
>
> if I run v3 using:
>
> java -jar glassfish.jar,
>
> System.getProperty("product.name") always return null. In that
> scenario, Grizzly automatically fill that value with its own current
> version. But I don't think we want that:
>
>> INTERNAL SERVER ERROR
>> Grizzly/1.9.18c
>
>
> Should the product.name be always set, independently of how v3 gets
> started?

Normally, the server info is taken from
com.sun.appserv.server.util.Version#getVersion().
The only motivation for "product.name" was to allow admins to customize
the server
info, or to disable it (by setting it to the empty string).


Jan

>
> A+
>
> -- Jeanfrancois
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>