[
https://jira.jboss.org/jira/browse/JBESB-2870?page=com.atlassian.jira.plu...
]
Tom Fennelly commented on JBESB-2870:
-------------------------------------
I fixed this using a JMX Barrier based on the JMX notifications for the webservices in
question. (Checked in). This requires a -services.xml file to be added for each
quickstart, defining a barrier controller for each webservice in question.
I also created a JMX Barrier version based on notifications for war deployments, which can
be configured centrally in the jbossesb.esb. (Not checked in) With this version, you
don't require the -services.xml files in the quickstarts. In case we ever needed
anything like it again, I added the code in an SVN workspace:
https://svn.jboss.org/repos/labs/labs/jbossesb/workspace/tfennelly/war-de...
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