Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12424

Specifying a non-default configuration file in non-default profile doesn't work as expected via JBDS 5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 4.0.0.CR1
    • 3.3.0.Final
    • server
    • Hide
      • Create a custom profile in EAP6 directory by copying 'standalone' to 'custom'
      • Rename 'standalone' to 'standalone_' or similar
      • In JBDS 5, Create a new Runtime Environment for EAP 6
      • Browser for non default configuration file in 'custom' and specify the path: /jbeap6/custom/configuration/standalone-full-ha.xml
      • In the 'Servers' view, double click on defined runtime environment to bring 'Overview'
      • Open Launch Configuration
      • Uncheck Always update arguments related to runtime (checked cause default values to be appended next time it is launched)
      • Specify -Djboss.server.base.dir=/jbeap6/custom as VM argument
      • Notice the defaults 'standalone' path for logging, removing/updating them does not affect anything
      • Apply/OK
      • Attempt to start the server
      • Problem occurred dialog box:
        The server's configuration file does not exist: /jbeap6/standalone/configuration/jbeap6/custom/configuration/standalone-full-ha.xml
      Show
      Create a custom profile in EAP6 directory by copying 'standalone' to 'custom' Rename 'standalone' to 'standalone_' or similar In JBDS 5, Create a new Runtime Environment for EAP 6 Browser for non default configuration file in 'custom' and specify the path: /jbeap6/custom/configuration/standalone-full-ha.xml In the 'Servers' view, double click on defined runtime environment to bring 'Overview' Open Launch Configuration Uncheck Always update arguments related to runtime (checked cause default values to be appended next time it is launched) Specify -Djboss.server.base.dir=/jbeap6/custom as VM argument Notice the defaults 'standalone' path for logging, removing/updating them does not affect anything Apply/OK Attempt to start the server Problem occurred dialog box: The server's configuration file does not exist: /jbeap6/standalone/configuration/jbeap6/custom/configuration/standalone-full-ha.xml

    Description

      Specifying a non-default configuration file in non-default profile doesn't work as expected via JBDS 5. When attempt to start the server, following error is raised:

      The server's configuration file does not exist: /jbeap6/standalone/configuration/jbeap6/custom/configuration/standalone-full-ha.xml

      Looks like jboss tool automatically appending /jbeap6/standalone/configuration

      Note that the custom configuration can be launched via command line as:

      ./standalone.sh -Djboss.server.base.dir=../custom --server-config=standalone-full-ha.xml

      Attachments

        Issue Links

          Activity

            People

              rob.stryker Rob Stryker (Inactive)
              usaleem_jira Usman Saleem (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: