Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-997

standalone.sh / domain.sh does not support overriding jboss.server.base.dir, log and config dir in CYGWIN

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • None
    • None
    • Scripts
    • None
    • Hide

      run a commmand like this for example:

      standalone.sh -Djboss.server.base.dir=/cygdrive/c/jboss/eap/test

      JBoss will not use the "test" dir

      The test should allow both linux and cygwin

      Show
      run a commmand like this for example: standalone.sh -Djboss.server.base.dir=/cygdrive/c/jboss/eap/test JBoss will not use the "test" dir The test should allow both linux and cygwin
    • Hide

      remove the "if $linux" and matching "fi" for CygWin use. Not to be removed in general!

      Show
      remove the "if $linux" and matching "fi" for CygWin use. Not to be removed in general!

    Description

      There is a check on linux, so a cygwin system will not execute this block:

      if $linux; then

      1. consolidate the server and command line opts
        CONSOLIDATED_OPTS="$JAVA_OPTS $SERVER_OPTS"
      2. process the standalone options
        for var in $CONSOLIDATED_OPTS
        do
        case $var in
        -Djboss.server.base.dir=*)
        JBOSS_BASE_DIR=`readlink -m ${var#*=}`
        ...

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            tfonteyn Tom Fonteyne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: