gpt4 book ai didi

jboss - 无法处理部署的阶段结构

转载 作者:行者123 更新时间:2023-12-01 23:30:22 25 4
gpt4 key购买 nike

我正在致力于将应用程序从 WAS 7 迁移到 Jboss 7.1.0 Final。该应用程序是使用 Java 6 编写的。由于 Java 6 仅与 Jboss 7 兼容,因此我使用 Jboss 7.1.0 Final 进行相同的设置。
我能够成功构建应用程序,但在部署时出现以下错误:您能帮我提供一些解决此问题的建议吗?

10:23:11,101 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "WSE_CustomerAccountEligibilityService.ear"
10:23:11,101 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."WSE_CustomerAccountEligibilityService.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."WSE_CustomerAccountEligibilityService.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "WSE_CustomerAccountEligibilityService.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_38]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_38]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_38]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011037: Unable to process modules in application.xml for EAR ["/C:/Kavita/Software/jboss-as-7.1.0.Final/jboss-as-7.1.0.Final/bin/content/WSE_CustomerAccountEligibilityService.ear"], module file WSW_CustomerAccountEligibilityService.war not found
at org.jboss.as.ee.structure.EarStructureProcessor.deploy(EarStructureProcessor.java:168)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final.jar:7.1.0.Final]
... 5 more

10:23:11,102 INFO [org.jboss.as.server] (HttpManagementService-threads - 3) JBAS015870: Deploy of deployment "WSE_CustomerAccountEligibilityService.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"WSE_CustomerAccountEligibilityService.ear\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"WSE_CustomerAccountEligibilityService.ear\**".STRUCTURE: Failed to process phase STRUCTURE of deployment \"WSE_CustomerAccountEligibilityService.ear\""}}**
10:23:11,102 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment WSE_CustomerAccountEligibilityService.ear in 0ms
10:23:11,105 INFO [org.jboss.as.controller] (HttpManagementService-threads - 3) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."WSE_CustomerAccountEligibilityService.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."WSE_CustomerAccountEligibilityService.ear".STRUCTURE: Failed to process phase STRUCTURE of deployment "WSE_CustomerAccountEligibilityService.ear"

最佳答案

Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011037: Unable to process modules in application.xml for EAR ["/C:/Kavita/Software/jboss-as-7.1.0.Final/jboss-as-7.1.0.Final/bin/content/WSE_CustomerAccountEligibilityService.ear"], module file WSW_CustomerAccountEligibilityService.war not found

你的application.xml正在宣战,但它并不存在于耳朵中。确保您的耳朵具有 application.xml 中声明的所有模块

关于jboss - 无法处理部署的阶段结构,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28436334/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com