Glassfish debug from command line

Sean picture Sean · Jan 5, 2011 · Viewed 17.7k times · Source

I'm running Glassfish on a remote machine. Is there a command to start GF in debug mode from the command prompt? The remote machine runs Ubuntu 10.04, my machine runs Windows 7 (not sure if this is important).

I connect without a problem and know the commands to start and stop the server remotely. I even found this documentation. Unfortunately, I think the answer to my question is "no", but I wanted to put it to the SO community before giving up hope.

Answer

JOTN picture JOTN · Jan 5, 2011

The start-domain command has a debug option:

asadmin start-domain --debug=true