Details

    • Similar Issues:
      Show 10 results 

      Description

      Currently variable expansion is not supported in all xml descriptors. Some parsers/deployers support this, but each does it on its own. This should be fixed as AS5 and AS6 supports that.
      Preferably this feature should be centralized in one place.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Bartosz Baranowski added a comment -

            Fix propably should be applied to JBMETA and all custom hacks should be removed from AS7 modules.

            Show
            Bartosz Baranowski added a comment - Fix propably should be applied to JBMETA and all custom hacks should be removed from AS7 modules.
            Hide
            Brian Stansberry added a comment -

            John Bailey has been working this issue for a while and it is nearly complete. I don't know if there is a separate JIRA for it.

            Show
            Brian Stansberry added a comment - John Bailey has been working this issue for a while and it is nearly complete. I don't know if there is a separate JIRA for it.
            Show
            John Bailey added a comment - This should be complete with: https://github.com/jbossas/jboss-as/commit/4bdf4210f50454a4091115bc0ae87a3a0942a25b
            Hide
            Carlo de Wolf added a comment -

            To have property replacement in spec descriptors spec-descriptor-property-replacement must be set to true in the configuration.

            Show
            Carlo de Wolf added a comment - To have property replacement in spec descriptors spec-descriptor-property-replacement must be set to true in the configuration.
            Hide
            Arkadiy Dantsker added a comment -

            Migrating from JBoss 5.1 to 7.1.1 we met a critical problem related to Expansion of variables in XML descriptors.
            https://issues.jboss.org/browse/AS7-4479
            We edited the JBoss 7.1.1 with a fix https://github.com/jbossas/jboss-as/commit/4bdf4210f50454a4091115bc0ae87a3a0942a25b#L9R42
            Per my communication with Justin Bertram https://community.jboss.org/thread/205744 he pointed us to this fix.
            Trying to build the JBoss source we have such compilation errors:

            [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default
            -compile) on project jboss-as-server: Compilation failure: Compilation failure:
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo
            delUtil.java:[96,44] cannot find symbol
            [ERROR] symbol : class PathManagerService
            [ERROR] location: package org.jboss.as.controller.services.path
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo
            delUtil.java:[97,44] cannot find symbol
            [ERROR] symbol : class PathResourceDefinition
            [ERROR] location: package org.jboss.as.controller.services.path
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo
            delUtil.java:[198,44] cannot find symbol
            [ERROR] symbol : class PathManagerService
            [ERROR] location: class org.jboss.as.server.ServerControllerModelUtil
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo
            delUtil.java:[96,44] cannot find symbol
            [ERROR] symbol : class PathManagerService
            [ERROR] location: package org.jboss.as.controller.services.path
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo
            delUtil.java:[97,44] cannot find symbol
            [ERROR] symbol : class PathResourceDefinition
            [ERROR] location: package org.jboss.as.controller.services.path
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo
            delUtil.java:[198,44] cannot find symbol
            [ERROR] symbol : class PathManagerService
            [ERROR] location: class org.jboss.as.server.ServerControllerModelUtil
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\deployment\Deploym
            entHandlerUtil.java:[155,48] addService(org.jboss.msc.service.ServiceTarget,org.jboss.msc.service.Se
            rviceName,java.lang.String,org.jboss.msc.service.ServiceName,org.jboss.as.controller.ServiceVerifica
            tionHandler) in org.jboss.as.server.deployment.PathContentServitor cannot be applied to (org.jboss.m
            sc.service.ServiceTarget,org.jboss.msc.service.ServiceName,java.lang.String,java.lang.String,org.jbo
            ss.as.controller.ServiceVerificationHandler)
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS
            ervice.java:[99,44] cannot find symbol
            [ERROR] symbol : method configuredSystemPropertiesLabel()
            [ERROR] location: interface org.jboss.as.server.ServerMessages
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS
            ervice.java:[104,56] cannot find symbol
            [ERROR] symbol : method vmArgumentsLabel(java.lang.String)
            [ERROR] location: interface org.jboss.as.server.ServerMessages
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS
            ervice.java:[108,48] cannot find symbol
            [ERROR] symbol : method configuredSystemEnvironmentLabel()
            [ERROR] location: interface org.jboss.as.server.ServerMessages
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS
            ervice.java:[163,8] cannot find symbol
            [ERROR] symbol : class ServerPathManagerService
            [ERROR] location: class org.jboss.as.server.ApplicationServerService
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS
            ervice.java:[163,64] cannot find symbol
            [ERROR] symbol : class ServerPathManagerService
            [ERROR] location: class org.jboss.as.server.ApplicationServerService
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS
            ervice.java:[164,8] cannot find symbol
            [ERROR] symbol : variable ServerPathManagerService
            [ERROR] location: class org.jboss.as.server.ApplicationServerService
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\deployment\RootDep
            loymentUnitService.java:[65,12] cannot find symbol
            [ERROR] symbol : variable serviceVerificationHandler
            [ERROR] location: class org.jboss.as.server.deployment.RootDeploymentUnitService
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\deployment\RootDep
            loymentUnitService.java:[84,79] cannot find symbol
            [ERROR] symbol : variable serviceVerificationHandler
            [ERROR] location: class org.jboss.as.server.deployment.RootDeploymentUnitService
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo
            delUtil.java:[330,30] cannot find symbol
            [ERROR] symbol : variable PathResourceDefinition
            [ERROR] location: class org.jboss.as.server.ServerControllerModelUtil
            [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo
            delUtil.java:[336,37] cannot find symbol
            [ERROR] symbol : variable UPDATE_RUNTIME
            [ERROR] location: class org.jboss.as.controller.operations.common.InterfaceCriteriaWriteHandler
            [ERROR] -> [Help 1]
            [ERROR]
            [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
            [ERROR] Re-run Maven using the -X switch to enable full debug logging.
            [ERROR]
            [ERROR] For more information about the errors and possible solutions, please read the following arti
            cles:
            [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
            [ERROR]
            [ERROR] After correcting the problems, you can resume the build with the command
            [ERROR] mvn <goals> -rf :jboss-as-server

            Please let us know what fix we have to use for JBoss 7.1.1 to enable this future.

            Show
            Arkadiy Dantsker added a comment - Migrating from JBoss 5.1 to 7.1.1 we met a critical problem related to Expansion of variables in XML descriptors. https://issues.jboss.org/browse/AS7-4479 We edited the JBoss 7.1.1 with a fix https://github.com/jbossas/jboss-as/commit/4bdf4210f50454a4091115bc0ae87a3a0942a25b#L9R42 Per my communication with Justin Bertram https://community.jboss.org/thread/205744 he pointed us to this fix. Trying to build the JBoss source we have such compilation errors: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default -compile) on project jboss-as-server: Compilation failure: Compilation failure: [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo delUtil.java: [96,44] cannot find symbol [ERROR] symbol : class PathManagerService [ERROR] location: package org.jboss.as.controller.services.path [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo delUtil.java: [97,44] cannot find symbol [ERROR] symbol : class PathResourceDefinition [ERROR] location: package org.jboss.as.controller.services.path [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo delUtil.java: [198,44] cannot find symbol [ERROR] symbol : class PathManagerService [ERROR] location: class org.jboss.as.server.ServerControllerModelUtil [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo delUtil.java: [96,44] cannot find symbol [ERROR] symbol : class PathManagerService [ERROR] location: package org.jboss.as.controller.services.path [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo delUtil.java: [97,44] cannot find symbol [ERROR] symbol : class PathResourceDefinition [ERROR] location: package org.jboss.as.controller.services.path [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo delUtil.java: [198,44] cannot find symbol [ERROR] symbol : class PathManagerService [ERROR] location: class org.jboss.as.server.ServerControllerModelUtil [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\deployment\Deploym entHandlerUtil.java: [155,48] addService(org.jboss.msc.service.ServiceTarget,org.jboss.msc.service.Se rviceName,java.lang.String,org.jboss.msc.service.ServiceName,org.jboss.as.controller.ServiceVerifica tionHandler) in org.jboss.as.server.deployment.PathContentServitor cannot be applied to (org.jboss.m sc.service.ServiceTarget,org.jboss.msc.service.ServiceName,java.lang.String,java.lang.String,org.jbo ss.as.controller.ServiceVerificationHandler) [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS ervice.java: [99,44] cannot find symbol [ERROR] symbol : method configuredSystemPropertiesLabel() [ERROR] location: interface org.jboss.as.server.ServerMessages [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS ervice.java: [104,56] cannot find symbol [ERROR] symbol : method vmArgumentsLabel(java.lang.String) [ERROR] location: interface org.jboss.as.server.ServerMessages [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS ervice.java: [108,48] cannot find symbol [ERROR] symbol : method configuredSystemEnvironmentLabel() [ERROR] location: interface org.jboss.as.server.ServerMessages [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS ervice.java: [163,8] cannot find symbol [ERROR] symbol : class ServerPathManagerService [ERROR] location: class org.jboss.as.server.ApplicationServerService [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS ervice.java: [163,64] cannot find symbol [ERROR] symbol : class ServerPathManagerService [ERROR] location: class org.jboss.as.server.ApplicationServerService [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ApplicationServerS ervice.java: [164,8] cannot find symbol [ERROR] symbol : variable ServerPathManagerService [ERROR] location: class org.jboss.as.server.ApplicationServerService [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\deployment\RootDep loymentUnitService.java: [65,12] cannot find symbol [ERROR] symbol : variable serviceVerificationHandler [ERROR] location: class org.jboss.as.server.deployment.RootDeploymentUnitService [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\deployment\RootDep loymentUnitService.java: [84,79] cannot find symbol [ERROR] symbol : variable serviceVerificationHandler [ERROR] location: class org.jboss.as.server.deployment.RootDeploymentUnitService [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo delUtil.java: [330,30] cannot find symbol [ERROR] symbol : variable PathResourceDefinition [ERROR] location: class org.jboss.as.server.ServerControllerModelUtil [ERROR] \workspaceJBoss7.1.1_source_init\server\src\main\java\org\jboss\as\server\ServerControllerMo delUtil.java: [336,37] cannot find symbol [ERROR] symbol : variable UPDATE_RUNTIME [ERROR] location: class org.jboss.as.controller.operations.common.InterfaceCriteriaWriteHandler [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following arti cles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :jboss-as-server Please let us know what fix we have to use for JBoss 7.1.1 to enable this future.

              People

              • Assignee:
                John Bailey
                Reporter:
                Bartosz Baranowski
              • Votes:
                5 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development