-
1. Re: SeamTest and Embedded EJB questions
jschuetter Oct 25, 2006 6:06 AM (in response to jschuetter)I resolved issue 1) now. I had to copy the content of jboss-jms-beans.xml into jboss-beans.xml so it gets picked up by SeamTest. That means jboss-jms-beans.xml in the Seam embedded-ejb/conf folder is not read on container start-up though.
Jens -
2. Re: SeamTest and Embedded EJB questions
marcioendo Oct 25, 2006 2:04 PM (in response to jschuetter)2) I have been bootstrapping the EJB Container myself and setting the org.jboss.seam.core.Ejb to false in components.xml.
-
3. Re: SeamTest and Embedded EJB questions
jschuetter Oct 25, 2006 3:14 PM (in response to jschuetter)I bootstrapped it the container on its own as well. But if you test several SeamTest classes it will still rescan the components every time and complain about several phase listeners, right?
Ok it comes to question 3) then ..
Jens -
4. Re: SeamTest and Embedded EJB questions
marcioendo Oct 25, 2006 3:30 PM (in response to jschuetter)Good point. This could be related to the problem I am having with SeamTest and the new 1.1BETA1 version.
I guess one could simply override the SeamTest.init() method and Annotate it with @Configuration(beforeSuite = true) instead of the @Configuration(beforeTestClass = true). Don't know how if TestNG handles this nicely.
I will probably try this tomorrow or later today. -
5. Re: SeamTest and Embedded EJB questions
jschuetter Oct 27, 2006 8:41 AM (in response to jschuetter)yes I guess that could work I might try this as well even though changing the Seam code to speed up the tests is not my preferred solution ..
jens