"[EMAIL PROTECTED]" wrote : Component.getInstance("entityManager")
  | 

Unfortunately that doesn' t work, at least not on its own.  Is there some 
additional initialization code that needs to be added to the test class for 
this to work?


  | FAILED: theTest
  | java.lang.IllegalStateException: No application context active
  |     at org.jboss.seam.Component.forName(Component.java:1577)
  |     at org.jboss.seam.Component.getInstance(Component.java:1627)
  |     at org.jboss.seam.Component.getInstance(Component.java:1610)
  |     at org.jboss.seam.Component.getInstance(Component.java:1604)
  |     at simpletest.SimpleTest.getEntityManager(SimpleTest.java:25)
  |     at simpletest.SimpleTest.theTest(SimpleTest.java:17)
  | 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052771
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to