2015-02-10 3 views
3

Я работаю над переносом приложения из версии WAS 7 в Jboss 7.1.0. Приложение было написано с использованием 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" 
+0

взгляните на мой ответ на http://stackoverflow.com/questions/26272998/cannot-deploy-ear-on-wildfly-8-due-to-failures-when-processing-its-structure/30045189# 30045189 – Hlulani

ответ

3
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

-1

Я нашел ту же ошибку с JBoss 7.1.0 и Java 6 EE. Я решил с обновлением JBoss 7.1.1.

0

В моем случае кто-то из команды вручную скопировал поврежденный файл в .ear папку, поэтому jboss не смог распознать/понять/разархивировать во время развертывания и выбросить следующие исключения.

jboss.deployment.unit "MyApp.ear" .STRUCTURE:. JBAS018733: Не удалось обработать фазовую структуру развертывания "MyApp.ear" & org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011060: Не удалось процесса дети для EAR

Как только мы удалили поврежденный файл, представив папку .ear и начав jboss ИЛИ перераспределение, исправлена ​​проблема.

Поврежденный кувшин в любой из детских военных/WEB-INF/lib папок также может вызвать эту проблему.

Смежные вопросы