[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: Ordering of .ear subdeployments
dimitris@jboss.org
do-not-reply at jboss.com
Mon Jul 31 05:46:50 EDT 2006
Again, stop thinking of changes of this type, like adding sleep() in the production code!
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961811#3961811
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961811
More information about the jboss-dev-forums
mailing list