-
Enhancement
-
Resolution: Done
-
Critical
-
None
-
Undefined
An EE 9 permissions.xml file uses a new static value for the root element version attribute. Out parser shouldn't reject it, as its logic can handle the EE 9 file just fine.
2020-10-18 19:05:35,720 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit."whitebox-permissiondd.rar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."whitebox-permissiondd.rar".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "whitebox-permissiondd.rar" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189) [wildfly-server-13.0.1.Final.jar:13.0.1.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739) [jboss-msc-1.4.12.Final.jar:1.4.12.Final] at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701) [jboss-msc-1.4.12.Final.jar:1.4.12.Final] at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559) [jboss-msc-1.4.12.Final.jar:1.4.12.Final] at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) [jboss-threads-2.4.0.Final.jar:2.4.0.Final] at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) [jboss-threads-2.4.0.Final.jar:2.4.0.Final] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) [jboss-threads-2.4.0.Final.jar:2.4.0.Final] at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) [jboss-threads-2.4.0.Final.jar:2.4.0.Final] at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_265] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYSM0002: Invalid version found in the permissions element. Found 9, expected 7 at org.wildfly.extension.security.manager.deployment.PermissionsParserProcessor.parsePermissions(PermissionsParserProcessor.java:168) at org.wildfly.extension.security.manager.deployment.PermissionsParserProcessor.deploy(PermissionsParserProcessor.java:118) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182) [wildfly-server-13.0.1.Final.jar:13.0.1.Final] ... 8 more Caused by: javax.xml.stream.XMLStreamException: WFLYSM0002: Invalid version found in the permissions element. Found 9, expected 7 at org.wildfly.extension.security.manager.deployment.PermissionsParser.parsePermissions(PermissionsParser.java:94) at org.wildfly.extension.security.manager.deployment.PermissionsParser.parse(PermissionsParser.java:62) at org.wildfly.extension.security.manager.deployment.PermissionsParserProcessor.parsePermissions(PermissionsParserProcessor.java:166) ... 10 more