Hi
  The following is the programming model I use :

I have a JMS listener which is annotated with the @Startup and @AutoCreate 
annotations.   This polls the JMS queue every 'x' minutes and then tries to 
invoke a Seam component .

The Seam component is found and invoked. If the component has any database part 
( say reading from a table ) then I get an error that says No active JTA 
transaction found 

I have the following questions :
   Is this a correct model ? Or is there a different programming model ?

   How do we remove the error ? Is the Seam component not getting the 
entityManager ?

TIA

Regards
Hari

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

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

Reply via email to