Play(2.0.4)アプリをJBoss AS 7.1.0にデプロイしようとしていますが、ここ数日間成功しませんでした。
Play2WarPluginを利用し、説明に従いました。(ウェルカムルートは無効になり、warはROOT.warに名前が変更されますなど)。ただし、デプロイ時に次のエラーが発生します
14:38:41,625 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "ROOT.war"
14:38:49,521 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/content/ROOT.war/WEB-INF/lib/javax.mail.mail-1.4.1.jar" does not point to a valid jar for a Class-Path reference.
14:38:49,525 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xml-apis.jar in "/content/ROOT.war/WEB-INF/lib/xalan.serializer-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
14:38:49,526 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xercesImpl.jar in "/content/ROOT.war/WEB-INF/lib/xalan.xalan-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
14:38:49,527 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xml-apis.jar in "/content/ROOT.war/WEB-INF/lib/xalan.xalan-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
14:38:49,528 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry serializer.jar in "/content/ROOT.war/WEB-INF/lib/xalan.xalan-2.7.1.jar" does not point to a valid jar for a Class-Path reference.
14:38:49,566 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."ROOT.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".PARSE: Failed to process phase PARSE of deployment "ROOT.war"
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) [classes.jar:1.6.0_35]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_35]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_35]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018031: Conflict occurred processing web fragment in JAR: com.github.play2war.play2-war-core_2.9.1-0.5.jar
at org.jboss.as.web.deployment.WarMetaDataProcessor.deploy(WarMetaDataProcessor.java:292)
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
Caused by: java.lang.IllegalStateException: Unresolved conflict on servlet class: play.core.server.servlet30.Play2Servlet
at org.jboss.metadata.merge.web.spec.ServletMetaDataMerger.augment(ServletMetaDataMerger.java:93)
at org.jboss.metadata.merge.web.spec.ServletsMetaDataMerger.augment(ServletsMetaDataMerger.java:35)
at org.jboss.metadata.merge.web.spec.WebCommonMetaDataMerger.augment(WebCommonMetaDataMerger.java:313)
at org.jboss.as.web.deployment.WarMetaDataProcessor.deploy(WarMetaDataProcessor.java:290)
... 6 more
14:38:49,579 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ROOT.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ROOT.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ROOT.war\".PARSE: Failed to process phase PARSE of deployment \"ROOT.war\""}}
14:38:49,653 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment ROOT.war in 74ms
14:38:49,655 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."ROOT.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".PARSE: Failed to process phase PARSE of deployment "ROOT.war"
14:38:49,658 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ROOT.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ROOT.war\".PARSE: Failed to process phase PARSE of deployment \"ROOT.war\""}}}}
警告が失敗の原因なのか、それとも他の何かなのかはわかりません。だから私の質問は: あなたは何か提案やヒントがありますか、何がエラーを引き起こしているのか、そしてそれをどのように解決することができますか?