[
https://issues.jboss.org/browse/AS7-4479?page=com.atlassian.jira.plugin.s...
]
Arkadiy Dantsker commented on AS7-4479:
---------------------------------------
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/4bdf4210f50454a4091115bc0ae87a...
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.
Expansion of variables in XML descriptors
-----------------------------------------
Key: AS7-4479
URL:
https://issues.jboss.org/browse/AS7-4479
Project: Application Server 7
Issue Type: Feature Request
Affects Versions: 7.1.1.Final
Reporter: Bartosz Baranowski
Assignee: John Bailey
Labels: descriptor, variables
Fix For: 7.1.2.Final (EAP)
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira