我使用wildfly Master-domain。当我部署一些应用程序时,在domain.xml中创建了sha,例如:
dd234b0920c094b633ebb38c9432dee9ea96ecfc
并且是
中创建的内容/ opt / wildfly / domain / data / content / dd / 234b0920c094b633ebb38c9432dee9ea96ecfc /
但是当我通过管理控制台取消部署应用程序时,来自
的内容的/ opt / wildfly /域/数据/内容/
会消失。当我需要重启wildfly时,我收到消息:
[Host Controller] 15:34:01,768 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "APPLICATION.ear")]) - failure description: "WFLYDC0058: No deployment content with hash dd234b0920c094b633ebb38c9432dee9ea96ecfc is available in the deployment content repository for deployment 'APPLICATION.ear'. This is a fatal boot error. To correct the problem, either restart with the --admin-only switch set and use the CLI to install the missing content or remove it from the configuration, or remove the deployment from the xml configuraiton file and restart."[Host Controller] 15:34:01,815 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.[Host Controller] 15:34:01,817 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0178: Aborting with exit code 99
在domain.xml文件中存在sha1。
服务器日志:
2018-03-15 10:30:21,518 DEBUG [org.wildfly.extension.batch](MSC服务线程1-1)删除批处理环境; ModuleClassLoader for Module" deployment.APPLICATION-1.9.3.ear:main"来自服务模块加载器 2018-03-15 10:30:21,527 DEBUG [org.hibernate.validator.internal.engine.ConfigurationImpl](MSC服务线程1-4)设置类型为org.hibernate.validator.internal.cdi.InjectingConstraintValidatorFactory的自定义ConstraintValidatorFactory 2018-03-15 10:30:21,528 DEBUG [org.hibernate.validator.internal.engine.ConfigurationImpl](MSC服务线程1-4)设置org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator类型的自定义MessageInterpolator 2018-03-15 10:30:21,528 DEBUG [org.hibernate.validator.internal.engine.ConfigurationImpl](MSC服务主题1-4)设置org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver类型的自定义TraversableResolver 2018-03-15 10:30:21,528 DEBUG [org.hibernate.validator.internal.engine.ConfigurationImpl](MSC服务主题1-4)设置类型为org.hibernate.validator.internal.engine.DefaultParameterNameProvider的自定义ParameterNameProvider 2018-03-15 10:30:21,532 DEBUG [org.wildfly.extension.batch](MSC服务线程1-3)删除批处理环境; ModuleClassLoader for Module" deployment.APPLICATION-1.9.3.ear.APPLICATION-web-1.9.3.war:main"来自服务模块加载器 2018-03-15 10:30:21,588 DEBUG [org.jboss.as.ejb3.deployment](MSC服务线程1-3)unRegistering EJB客户端上下文的类加载器ModuleClassLoader for Module" deployment.APPLICATION-1.9.3 .ear.APPLICATION-EJB-1.9.3.jar:主"来自服务模块加载器 2018-03-15 10:30:21,591 DEBUG [org.wildfly.extension.batch](MSC服务线程1-2)删除批处理环境; ModuleClassLoader for Module" deployment.APPLICATION-1.9.3.ear.APPLICATION-ejb-1.9.3.jar:main"来自服务模块加载器 2018-03-15 10:30:21,599 INFO [org.wildfly.extension.undertow](ServerService线程池 - 74)WFLYUT0022:未注册的Web上下文:/ APPLICATION 2018-03-15 10:30:21,630 FINE [javax.enterprise.resource.webcontainer.jsf.config](ServerService线程池 - 74)ConfigureListener.contextDestroyed(APPLICATION-web) 2018-03-15 10:30:21,651 DEBUG [org.jboss.weld.deployer](MSC服务主题1-1)WFLYWELD0010:停止部署的焊接服务APPLICATION-1.9.3.ear 2018-03-15 10:30:21,667 DEBUG [org.jboss.as.ejb3.deployment](MSC服务线程1-2)unRegistering EJB客户端上下文用于类加载器ModuleClassLoader for Module" deployment.APPLICATION-1.9.3 .ear.APPLICATION-web的1.9.3.war:主"来自服务模块加载器 2018-03-15 10:30:21,742 INFO [org.jboss.as.server.deployment](MSC服务主题1-4)WFLYSRV0208:停止的子部署(运行时名称:APPLICATION-web-1.9.3.war)in 270ms 2018-03-15 10:30:21,743 INFO [org.jboss.as.server.deployment](MSC服务线程1-1)WFLYSRV0208:停止的子部署(运行时名称:APPLICATION-ejb-1.9.3.jar)in 271ms 2018-03-15 10:30:21,744 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool](DefaultQuartzScheduler_Worker-10)loom-devsync1-datasource:getConnection(null,WrappedConnectionRequestInfo @ 228b594d [userName = user] ])[0/30] 2018-03-15 10:30:21,746 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool](DefaultQuartzScheduler_Worker-10)loom-devsync1-datasource:returnConnection(29207e12,false)[0/30] 2018-03-15 10:30:21,762 INFO [org.jboss.as.server.deployment](MSC服务主题1-4)WFLYSRV0028:停止部署APPLICATION-1.9.3.ear(runtime-name:APPLICATION-1.9。 3.ear)在291ms 2018-03-15 10:30:21,847 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool](DefaultQuartzScheduler_Worker-1)loom-devsync1-datasource:getConnection(null,WrappedConnectionRequestInfo @ 228b594d [userName = user] ])[0/30] 2018-03-15 10:30:21,848 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool](DefaultQuartzScheduler_Worker-2)loom-devsync1-datasource:getConnection(null,WrappedConnectionRequestInfo @ 228b594d [userName = user] ])[0/30] 2018-03-15 10:30:21,851 DEBUG [org.jboss.jca.core.connectionmanager.poouseel.strategy.OnePool](DefaultQuartzScheduler_Worker-1)loom-devsync1-datasource:returnConnection(29207e12,false)[0/30] 2018-03-15 10:30:21,852 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool](DefaultQuartzScheduler_Worker-2)loom-devsync1-datasource:returnConnection(2ffe1f48,false)[0/30] 2018-03-15 10:30:22,116 INFO [org.jboss.as.server](ServerService Thread Pool - 64)WFLYSRV0009:Undeployed" APPLICATION-1.9.3.ear" (runtime-name:" APPLICATION-1.9.3.ear") 2018-03-15 10:30:22,123 INFO [org.jboss.as.repository](ServerService线程池 - 64)WFLYDR0002:从位置删除内容/ opt / wildfly / data / content / dd / 234b0920c094b633ebb38c9432dee9ea96ecfc / content
和环境:Debian wheezy,wildlfy 10.1.0 FINAL核心版本:2.8.27.Final
我需要解决从/ opt / wildfly / domain / data / content /.
中删除内容的问题内容应该留在此文件夹中。应用程序可以再次部署。
答案 0 :(得分:0)
我建议使用最新版本的WildFly 12