Getting JBAS018733: Failed to process phase PARSE of deployment during deployment of a war in JBoss EAP 6
Issue
- Application is failing to deploy in JBoss EAP 6, the only exception in the log is shown below, however it seems the real exception is being hidden:
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."XYZ.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."XYZ.war".PARSE: JBAS018733: Failed to process phase PARSE of deployment "XYZ.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
Caused by: java.lang.NullPointerException
at org.jboss.as.webservices.deployers.WebServicesContextJndiSetupProcessor.deploy(WebServicesContextJndiSetupProcessor.java:41)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
... 5 more
INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment XYZ.war (runtime-name: XYZ.war) in 113ms
ERROR [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015863: Replacement of deployment "XYZ.war" by deployment "XYZ.war" was rolled back with the following failure message:
{"JBAS014671: Failed services" => {"jboss.deployment.unit.\"XYZ.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"XYZ.war\".PARSE: JBAS018733: Failed to process phase PARSE of deployment \"XYZ.war\"
Caused by: java.lang.NullPointerException"}}
-
Deployment failed due to NullPointerException, occurring because of missing configuration in standalone.xml/domain.xml.
-
Critical logging information is not displayed. When trying to deploy our web applications, we occasionally have issues with the application content or configuration, and all we get is a cryptic message telling us the application failed to deploy (JBAS018733: Failed to process phase PARSE of deployment \"XYZ.war\"
Caused by: java.lang.NullPointerException"). No additional information is provided. -
Even after enable TRACE logging on the root logger of the JBoss Logging we are not getting any useful information.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.