Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9480

AS 6.1.0.Final: patchdir option is not implemented

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Minor
    • None
    • 6.1.0
    • ClassLoading
    • None

    Description

      The command line option for starting AS 6.1.0.Final:

      usage: run.sh [options]
      
      options:
          -h, --help                    Show this help message
          -V, --version                 Show version information
          --                            Stop processing options
          -D<name>[=<value>]            Set a system property
          -d, --bootdir=<dir>           Set the boot patch directory; Must be absolute or url
          -p, --patchdir=<dir>          Set the patch directory; Must be absolute or url
          -n, --netboot=<url>           Boot from net with the given url as base
          -c, --configuration=<name>    Set the server configuration name
          -B, --bootlib=<filename>      Add an extra library to the front bootclasspath
          -L, --library=<filename>      Add an extra library to the loaders classpath
          -C, --classpath=<url>         Add an extra url to the loaders classpath
          -P, --properties=<url>        Load system properties from the given url
          -b, --host=<host or ip>       Bind address for all JBoss services
          -g, --partition=<name>        HA Partition name (default=DefaultDomain)
          -m, --mcast_port=<ip>         UDP multicast port; only used by JGroups
          -u, --udp=<ip>                UDP multicast address
          -H, --hostname=<name>         Set the host name
          -N, --nodename=<name>         Set the node name to use
      

      But if you look at org.jboss.Main and its processCommandLine method you find this:

      case 'p' : {
          // set the patch URL
          URL patchURL = makeURL(getopt.getOptarg());
          //TODO
          //               props.put(ServerConfig.PATCH_URL, patchURL.toString());
          break;
      }
      

      This task should implement support for the patchdir that I think might have gone when org.jboss.bootstrap was extracted from the AS6 code base. If the removal was intentional then this task should remove the code above and update the options so that -p, --patchdir is no longer startup option.

      Attachments

        Activity

          People

            dbeveniu Daniel Bevenius (Inactive)
            dbeveniu Daniel Bevenius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: