[esb-issues] [JBoss JIRA] Commented: (JBESB-2870) war/esb archive deployment dependencies/ordering not guaranteed
Tom Fennelly (JIRA)
jira-events at lists.jboss.org
Mon Nov 2 04:58:18 EST 2009
[ https://jira.jboss.org/jira/browse/JBESB-2870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12492541#action_12492541 ]
Tom Fennelly commented on JBESB-2870:
-------------------------------------
I got a Barrier type solution working for this. Actually.... kinda working :)
What I have currently is a Barrier Controller class that listens to JMX notifications from the WebServer bean. It listens to the deploy and undeploy evnets and based on these, registers a separate "Barrier" ServiveMBean. The .esb can add a <depends> for this Barrier ServiceMBean.
This all works fine accept on startup, if the war is deployred before the Barrier Controller class that listens for the JMX notifications. So then, adding a depends in the war (in the jboss-web.xml) on jbossesb.esb, we get an exception from the JBossWS deployer - apparently this is a known bug.
So, I need to look for some other solution now I think :)
> war/esb archive deployment dependencies/ordering not guaranteed
> ---------------------------------------------------------------
>
> Key: JBESB-2870
> URL: https://jira.jboss.org/jira/browse/JBESB-2870
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.6
> Reporter: David Ward
> Assignee: Tom Fennelly
> Fix For: 4.7
>
>
> There should be a way to specify that an esb archive is dependent on a war archive to be deployed first before it is deployed.
> An example of this is a SOAPProxy action which points to a JBossWS webservice deployed in the same container.
> Right now, one can specify a deployment requirement of a war from an esb's deployment.xml file, but there are 2 problems with it:
> 1. You need to know the entire war deployment mbean object name, which unfortunately contains a generated id
> 2. The esb deployment will simply error instead of waiting for the dependent war to deploy.
> It is probable that we need to create our own barrier for this to work properly.
> We also need to test with wars contained inside esb archives, as well as exploded and zipped wars.
--
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 esb-issues
mailing list