[jboss-jira] [JBoss JIRA] (WFLY-1363) Updating deployment with dependant
Bart Van Dosselaer (JIRA)
jira-events at lists.jboss.org
Fri May 17 11:11:06 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bart Van Dosselaer updated WFLY-1363:
-------------------------------------
Attachment: jboss-deployment.zip
Maven project to reproduce the issue.
> Updating deployment with dependant
> ----------------------------------
>
> Key: WFLY-1363
> URL: https://issues.jboss.org/browse/WFLY-1363
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Environment: Windows 7 64bit, JBoss 7.2.0.Final
> Reporter: Bart Van Dosselaer
> Assignee: Jason Greene
> Labels: deployment
> Attachments: jboss-deployment.zip
>
>
> I'm faced with a certain deployment issue, for which I've created a small maven project (see attachment) so anyone can easily reproduce this behaviour.
>
> I have a scenario where I have two EAR deployments: base.ear and service.ear. The latter uses some services of the former. For this to work, it has all the necessary entries in its manifest.
> Once deployed, I can call the EJB from service.ear and the EJB from base.ear gets injected and used. No problems so far.
>
> This works fine, until I want to update base.ear.
>
> We have our own mechanism to update deployments (through the management API), but the same result can be achieved by deploying through the JBoss Admin console or JBoss CLI.
> So, when I update base.ear (just replace with the same base.ear file) it deploys fine and the invocation is successful. However, there's one line in the console which goes like:
> JBAS014777: Services which failed to start: service jboss.deployment.subunit."service.ear"."service-ejb.jar".FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."service.ear"."service-ejb.jar".FIRST_MODULE_USE: JBAS018733: Failed to process phase FIRST_MODULE_USE of subdepl
> oyment "service-ejb.jar" of deployment "service.ear"
> At this moment, the service.ear, and all its EJBs, isn't really deployed anymore. Or atleast, wrongfully deployed. Not sure how to call that state.
> One possibility is to invoke the :reload command (or restart the server), but ideally we'd like to not have this error in the first place.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list