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

host-controller module does parse command line args too late

XMLWordPrintable

      When starting the host controller module to use the -v or -h command line switches (which are supported in the code) there will be no result. The reason for this is, that the host-controller reads the authKey before it parses the command line for the manual invok. Also it looks like the redirected input/output leads to the case that no usage() can be writte anyway.

      org.jboss.as.process.protocol.StreamUtils.readFully(StreamUtils.java:124)
      org.jboss.as.host.controller.Main.main(Main.java:82)
      sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      java.lang.reflect.Method.invoke(Unknown Source)
      org.jboss.modules.Module.run(Module.java:260)
      org.jboss.modules.Main.main(Main.java:291)

            b.eckenfels Bernd Eckenfels (Inactive)
            b.eckenfels Bernd Eckenfels (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: