• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • hhuynh
  • Reporter: tgautier
  • July 27, 2007
  • 0
  • Watchers: 0
  • September 06, 2007
  • August 06, 2007

Description

run-dgc.sh bat outputs the following:

2007-07-26 23:18:05,359 INFO - Terracotta 2.4-stable1, as of 20070622-150631 (Revision 3946 by cruise@rh4mo0 from 2.4) 2007-07-26 23:18:05,363 ERROR - Please indicate hostname and jmxport when running this script.

This does not indicate the syntax or format of the required parameters.

Fix:

Add a usage section in conformance with a typical unix usage section that indicates the format of the parameters. The usage should contain a description of what the script does.

Comments

Cynthia Fisher 2007-08-06

fixed in rev 4852/4853 (2.4/trunk)

Now the output looks like this:

2007-08-06 18:12:39,672 ERROR - This script runs DGC in the indicated DSO server when GC is not enabled through config file and DGC is not already running on the DSO server. Usage: run-dgc.sh/.bat [hostname] [jmxport]

    hostname     IP address or hostname of DSO server machine (e.g., 127.0.0.1)
    jmxport         JMX port number associated with DSO server (e.g., 9520)

Fiona OShea 2007-08-09

verify that this is fixed