[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Ordering of .ear subdeployments
vickyk
do-not-reply at jboss.com
Mon Jul 31 06:48:19 EDT 2006
anonymous wrote :
| Instead, add a .sar to your ear that instantiates an mbean that introduces a small delay in its startService() method, to get your delay. Then make the .sar to be the last module in application.xml (by default it should be deployed first, I guess, so the test should fail), then compare the dates and expect this to be the last deployment.
|
Oops if I understood this clearly what you are trying to say is that the entire testing should be concluded based on the result that the SAR should be deployed last .
It makes a sense to me , but I was thinking of a way to get the a proper ordering as i could get by introcuing some delay or by System.nanoTime() usage .
Anyway I think I will continue with this .
Well I dont think I need to create a seperate EAR , I will use the \unpacked-ear2.ear from the testsuite which I have been doing during executing the test suites till now .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961822#3961822
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961822
More information about the jboss-dev-forums
mailing list