Created attachment 1136677 [details] application Description of problem: Application built from eap quickstarts https://github.com/jboss-developer/jboss-eap-quickstarts/tree/7.0.x-develop/helloworld fails to deploy on eap7 when rt filter is installed. The application doesn't contain /WEB-INF/web.xml which could be the cause. web.xml is optional in Java EE 6 so it should not be required by rt filter. Version-Release number of selected component (if applicable): JON3.3.5.DR01 How reproducible: Always Steps to Reproduce: 1. install rt filter to eap7 - follow https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Operations_Network/3.3/html/Users_Guide/jboss-rt-seven.html but use rhq-rtfilter-wfly-10-subsystem instead of rhq-rtfilter-subsystem 2. try to deploy attached application Actual results: 2016-03-15 12:57:53,198 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "hello.war" (runtime-name: "hello.war") 2016-03-15 12:57:53,449 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."hello.war".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."hello.war".DEPENDENCIES: WFLYSRV0153: Failed to process phase DEPENDENCIES of deployment "hello.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.rhq.helpers.rtfilter.subsystem.wfly10.deployment.RtFilterDeploymentUnitProcessor.deploy(RtFilterDeploymentUnitProcessor.java:69) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147) ... 5 more 2016-03-15 12:57:53,452 ERROR [org.jboss.as.controller.management-operation] (management task-1) WFLYCTL0013: Operation ("deploy") failed - address: ([{"deployment" => "hello.war"}]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"hello.war\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"hello.war\".DEPENDENCIES: WFLYSRV0153: Failed to process phase DEPENDENCIES of deployment \"hello.war\" Caused by: java.lang.NullPointerException"}} 2016-03-15 12:57:53,453 ERROR [org.jboss.as.server] (management task-1) WFLYSRV0021: Deploy of deployment "hello.war" was rolled back with the following failure message: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"hello.war\".DEPENDENCIES" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"hello.war\".DEPENDENCIES: WFLYSRV0153: Failed to process phase DEPENDENCIES of deployment \"hello.war\" Caused by: java.lang.NullPointerException"}} 2016-03-15 12:57:53,459 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment hello.war (runtime-name: hello.war) in 4ms Expected results: Application is deployed Additional info: When the rt filter is removed from eap7, the application is deployed correctly.
Pull request sent https://github.com/rhq-project/rhq/pull/221 #getWebMetaData only gives you the content from web.xml, and may be null if deployment descriptor is omitted #getMergedJBossWebMetaData gives you the content aggregated from all sources (defaults from subsystem config, values from deployment descriptor), and never returns null
Merged in master commit 4ffe7c87e26400636e169e0400d9dd0e13b128e5 Merge: 49464ba 9938a47 Author: Michael Burman <yak> Date: Tue Mar 15 19:45:29 2016 +0200 Merge pull request #221 from tsegismont/bug/1317993
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
Moving to ON_QA as available to test with JON 3.3.6 DR01 brew build: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=499890
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-1519.html