[jboss-dev-forums] [Design of POJO Server] - Re: Testing Bootstrap Dependencies
istudens@redhat.com
do-not-reply at jboss.com
Tue Sep 23 05:17:41 EDT 2008
"adrian at jboss.org" wrote : The best way to write these tests would be use a test-config
| that starts with the all configuation but without anything in deploy.
|
| You then deploy an ear that includes everything,
| * a war
| * an ejb2
| * an ejb3
| * an mdb
| * a rar
| * a datasource
| * an mbean
| * a pojo
|
| Then you deploy all the files from all/deploy and test the application works.
|
| But then you repeat the test, by undeploying all/deploy and then redeploying
| them in a different permutation.
|
| Not only does this test that dependencies are working across all
| our deployments, it also checks they can be stopped and restarted.
| e.g. There is a known issue with EJB2 where this fails
| https://jira.jboss.org/jira/browse/JBAS-5332
Ok, but if there will be none in the deploy dir, the ear will not be able to deploy successfully, because there will be no services such as jbossweb, transaction manager etc. as I mentioned earlier. Or will the AS wait for other deployments to finish the deployment of the ear? Even if that deployments will not be in the deploy dir in that time?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178232#4178232
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178232
More information about the jboss-dev-forums
mailing list