Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4630

add-user script broken

XMLWordPrintable

      ./add-user.sh dustin dustin1 does not work anymore. In previous versions it worked. It has to do with the "theConsole" object being null.

      In the same breadth, the --silent=true option in add-user.sh does not work anymore. Again has to do with the need for "theConsole" object being null.

      The --silent=true option was added because in some environments, System.console() returns null[for example when the Izpack installer calls that script] and the add-user.sh script breaks because of its dependence on System.console() object to print stuff.

      [the "theConsole" object calls the System.console() object]

              darran.lofthouse@redhat.com Darran Lofthouse
              dcheung@redhat.com Dustin Kut Moy Cheung
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: