[jboss-jira] [JBoss JIRA] Commented: (JBAS-6915) EAR with failed EJB deployment causes other EJB deployments in same EAR to fail
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Thu May 14 03:54:48 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12467465#action_12467465 ]
Alexey Loubyansky commented on JBAS-6915:
-----------------------------------------
I think it if one of the modules in the EAR failed the whole EAR should fail to deploy since it's a single deployment unit. It should be all or nothing.
> EAR with failed EJB deployment causes other EJB deployments in same EAR to fail
> -------------------------------------------------------------------------------
>
> Key: JBAS-6915
> URL: https://jira.jboss.org/jira/browse/JBAS-6915
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: EJB2, EJB3
> Affects Versions: JBossAS-4.2.3.GA
> Reporter: Brian Dill
> Assignee: Alexey Loubyansky
> Fix For: JBossAS-Branch_4_2
>
>
> When deploying an EAR with two EJB deployments inside it, if the first deployment fails other deployments in that EAR will not be deployed. If you use <module-order>strict</module-order> in your jboss-app.xml and force the failed deployment to be last, the other deployment will deploy successfully, essentially partially deploying the EAR.
> I've uploaded a test case that contains an EAR with two EJB deployments. Hello EJB will succeed, but Goodbye EJB is designed to fail. Switch the module ordering in application.xml to see both the described effects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list