我有一个使用jboss的java产品的docker镜像(docker版本17.09)。什么时候,我正在安装正常的产品,它正在部署罚款。但是,当我启动相同的Docker镜像时,它会给出以下错误:
06:51:36,621 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.server.ServerService.boot(ServerService.java:362) [wildfly-server-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:301) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
Caused by: javax.xml.stream.XMLStreamException: WFLYCTL0083: Failed to load module org.jboss.as.threads
at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:155) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.server.parsing.StandaloneXml$DefaultExtensionHandler.parseExtensions(StandaloneXml.java:126) [wildfly-server-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.server.parsing.StandaloneXml_Legacy.readServerElement_1_4(StandaloneXml_Legacy.java:424) [wildfly-server-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.server.parsing.StandaloneXml_Legacy.readElement(StandaloneXml_Legacy.java:135) [wildfly-server-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [wildfly-server-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49) [wildfly-server-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.2.0.Final-redhat-1.jar:1.2.0.Final-redhat-1]
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.2.0.Final-redhat-1.jar:1.2.0.Final-redhat-1]
at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
... 3 more
Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: WFLYCTL0309: Legacy extension 'org.jboss.as.threads' is not supported on servers running this version. The extension is only supported for use by hosts running a previous release in a mixed-version managed domain
at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.8.0_121]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) [rt.jar:1.8.0_121]
at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:147) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
... 11 more
Caused by: java.lang.UnsupportedOperationException: WFLYCTL0309: Legacy extension 'org.jboss.as.threads' is not supported on servers running this version. The extension is only supported for use by hosts running a previous release in a mixed-version managed domain
at org.jboss.as.controller.extension.AbstractLegacyExtension.initializeParsers(AbstractLegacyExtension.java:87) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:183) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:69) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:127) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:124) [wildfly-controller-2.1.15.Final-redhat-1.jar:2.1.15.Final-redhat-1]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
at org.jboss.threads.JBossThread.run(JBossThread.java:320) [jboss-threads-2.2.1.Final-redhat-1.jar:2.2.1.Final-redhat-1]
06:51:36,639 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
06:51:36,701 INFO [org.jboss.as] (MSC service thread 1-5) WFLYSRV0050: JBoss EAP 7.0.6.GA (WildFly Core 2.1.15.Final-redhat-1) stopped in 24ms
我在网上搜索并找到了一篇相关的文章:
然而,我并不了解它,因为我的Java知识非常少。 任何帮助或建议都会有所帮助
请帮忙。 Nishant