dev@glassfish.java.net

Re: lopsidedness of domaindir usage?

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Wed, 10 Sep 2008 22:25:49 -0700

Sahoo wrote:
> Kedar Mhaswade wrote:
>> Just so it's clear, there is a significant difference in starting the
>> server using "asadmin start-domain" and "java -jar ..." and that's you
>> take the responsibility of specifying system properties and JVM options
>> of interest. Domain.xml is NOT read while doing java -jar, whereas it
>> is, while doing "asadmin start-domain".
>>
> +1.
> I want to reinforce that java -jar way of starting has many other side
> effects like java.ext.dirs being different which can lead to some
> classes loaded differently. It is targeted for certain developers and
> should not be used unless you know what exactly they are trying to do.
true and that's why it's not documented in our product, not officially
supported, not used for deployment, etc, etc...
>
> Thanks,
> Sahoo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>