[
https://jira.jboss.org/jira/browse/JBESB-2870?page=com.atlassian.jira.plu...
]
Kevin Conner commented on JBESB-2870:
-------------------------------------
The following requirements are from David
"The affected quickstarts are
webservice_proxy_basic
webservice_proxy_routed
webservice_proxy_security
webservice_proxy_versioning
In each of these quickstarts, a .war archive is first "pre"-deployed to
JBossESB, then after a short sleep, a .esb archive is deployed. The reason is that in
each .esb, the jboss-esb.xml uses a SOAPProxy action to point to a wsdl URL exposed (via
JBossWS) by the .war archive.
The crux is that the .war archive *has* to be deployed first so that the SOAPProxy can
call upon it to get the WSDL. I would like it to be so that in deployment.xml one can
specify somehow that if the .ear gets deployed first, and there is a dependency on the
.war, that the .war's deployment will get triggered first. This could happen if both
the .war and .ear exist in JBoss' deploy directory during a re-start.
Please note that this is *not* to say that the .war's web service has to be available
publicly via Tomcat's http Connector. If the wsdl property of SOAPProxy is configured
with an "internal://" URL (instead of "http(s)://"), then JBossWS'
internal API is used to get the wsdl."
This mechanism is not intended to be a supported mechanism, just one that we can use to
guarantee external wars can exist as a dependency within these quickstart esbs.
Some type of barrier mechanism is probably the best bet, with the esb depending on the
barrier and the war signalling it when started.
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
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