[
https://issues.jboss.org/browse/AS7-3570?page=com.atlassian.jira.plugin.s...
]
Eduardo Martins commented on AS7-3570:
--------------------------------------
I created an issue in METADATA to track the source changes, there is nothing to fix on AS7
other than change the poms to include the new METADATA release, which was done by Stuart.
jboss-ejb3.xml is not valided
-----------------------------
Key: AS7-3570
URL:
https://issues.jboss.org/browse/AS7-3570
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.1.0.CR1b
Reporter: Simon Walter
Assignee: Eduardo Martins
When deploying a module with invalid jboss-ejb3.xml (missing <ejb-name> in
<assembly-descriptor><security:security>) there
is no validation and an NPE is thrown at deployment time.
{noformat}
11:02:45,347 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001:
Failed to start service
jboss.deployment.subunit."xxx.ear"."xxx-impl.jar".POST_MODULE:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit."xxx.ear"."xxx-impl.jar".POST_MODULE: Failed
to process phase POST_MODULE of subdeployment "xxx-impl.jar"
of deployment "xxx.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_23]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_23]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_23]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014402:
Could not merge data for XXXImpl
at
org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.deploy(AbstractMergingProcessor.java:75)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
[jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
... 5 more
Caused by: java.lang.NullPointerException
at
org.jboss.as.ejb3.deployment.processors.merging.SecurityDomainMergingProcessor.handleDeploymentDescriptor(SecurityDomainMergingProcessor.java:83)
at
org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.processComponentConfig(AbstractMergingProcessor.java:93)
at
org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor.deploy(AbstractMergingProcessor.java:73)
... 6 more
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira