dev@glassfish.java.net

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

From: kedar <Kedar.Mhaswade_at_Sun.COM>
Date: Thu, 01 Oct 2009 19:17:45 -0700

Jeanfrancois Arcand wrote:
> Salut,

namaste,

>
> 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?

Sometimes like we have seen in the past, users would want to suppress
the "product.name" to hide the name of the server they are using. What
would happen to it we always had some value for "product.name"?

(Such users set this property to "").

-Kedar

>
> 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
>