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

Cannot specify multiple paths in ARQ modulePath config

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.2.Final (EAP)
    • 7.1.0.Final
    • None
    • None

    Description

      The AS7-2824 fix at https://github.com/jbossas/jboss-as/commit/cdb3b1d8f9453b1eb4ec617a83509bce86e15481 adds a contract to ManagedDeployableContainer such that the ARQ config modulesPath must be a single file and must point to a directory with a sibling named "bundles". Neither seem like valid constraints for any Arquillian user who isn't interested in OSGi. See Galder's comment on AS7-2824 for how this breaks his usage.

      I think the issue here was identifying which of many dirs to use as jboss.modules.dir, which if not set to a valid location will result in failure to start the OSGi subsystem? Perhaps some logic to give preference to $JBOSS_HOME/modules if that is one of the items in the modulesPath list? Failing that, use the first item and document that?

      For the jboss.bundles.dir property, check for a sibling to jboss.modules.dir, if not found check for a sibling to any of the other items in the modulesPath list, if not found use $JBOSS_HOME/bundles?

      Attachments

        Issue Links

          Activity

            People

              tdiesler@redhat.com Thomas Diesler
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: