users@glassfish.java.net

Re: setting system properties when using asadmin

From: kedar <Kedar.Mhaswade_at_Sun.COM>
Date: Fri, 16 Mar 2007 01:30:35 -0800

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
>