"jtucker" wrote : We use SeamTest, TestNG, EEJB3 and Maven 2 all the time 
without a problem so I can guarantee that it does work.
  | 
  | You probably just need to override SeamTest's initServletContext method in 
your TestNG class with this...
  | 
  | 
  |   |         public void initServletContext(Map initParams) {
  |   |                 initParams.put(Init.COMPONENT_CLASSES, 
Ejb.class.getName());
  |   |                 initParams.put(Init.JNDI_PATTERN, "#{ejbName}/local");
  |   |         }
  |   | 
  | 

Thats not the best way to do it anymore. Much better is to use components.xml + 
components.properties, like in the examples that ship with the GA releases.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952254#3952254

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952254


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to