users@glassfish.java.net

Re: GLASSFISH 3.1 enviroment variable

From: MyQwip Developer <rd_at_myqwip.com>
Date: Fri, 25 Nov 2011 16:34:27 -0800 (PST)

----- Original Message -----

> I'm sorry but I still do not understand ..

> Are you talking about application client container or a standalone
> java application
I think he is referring to shell-managed environment variables such as

$ export APPDEBUG=1
$ asadmin start-domain

So then you access the environment variable APPDEBUG to control something. That's my guess anyway.

This topic is covered here: http://docs.oracle.com/javase/tutorial/essential/environment/env.html and I don't see why it wouldn't work for an application contained in GF, unless there is some security mechanism to stop it.

-- 
Alan 
MyQwip Development Team