I am sure you want to set it in the server's VM.
If yes, you have a choice to first set it
in the domain.xml and then start the domain using
asadmin start-domain.
So yes, you'll have to start the domain twice to
do this right.
Kedar
Mark Hansen wrote:
> I use asadmin to start GlassFish. How can I set system properties?
> In particular, I want to set
> com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace = false.
>
> This does not work:
>
> asadmin
> -Dcom.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace=false
> start-domain
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>