[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread petemuir
1) http://docs.jboss.com/seam/1.1.5.GA/reference/en/html/concepts.html#d0e2603 IIRC it 'just worked' for @In View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012433#4012433 Reply to the post :

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
that's not really an answer to my question. http://docs.jboss.com/seam/1.1.1.GA/reference/en/html_single/#d0e2525 says the same thing but our experience is that @In does not get honored for the onMessage() calls by the container. So my question(s) still stand. We've actually tried this

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
BTW - we generally do scan the docs, examples, this forum, and a bit of Googling before we post questions here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012452#4012452 Reply to the post :

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread petemuir
bsmithjj wrote : says the same thing but our experience is that @In does not get honored for the onMessage() calls by the container Sorry, just trying to help you out :( Dunno about the Timeout stuff, no experience of that. I did some work with a message driven bean for receiving emails and,

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread [EMAIL PROTECTED]
For MDBs, yes, that works. For @Timeout methods, unfortunately, IIRC, the EJB spec says that they do not get intercepted (which is extremely annoying). So what you can try to do is to use a Seam asynchronous method instead. View the original post :

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
One thing I have realized digging into this issue more is that the EJB Deployer is immediately deploying my EJB jar. The MDB gets started immediately thereafter. If messages are on the Q the MDB is listening to, then it starts trying to consume them I think that maybe the Seam

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread [EMAIL PROTECTED]
This could make sense, I suppose. I guess its kinda wrong that MDBs in the ejbjar should go live before the rest of the EAR is fully started. Report this as a bug to the EJB3 team, if it is truly the case I suppose I could make my interceptor throw exceptions if seam is not fully started

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
other item, @Logger doesn't ever seem to work for MDB's. | @MessageDriven( | activationConfig = { | @ActivationConfigProperty(propertyName = destinationType, propertyValue = javax.jms.Queue), | @ActivationConfigProperty(propertyName = destination, propertyValue =

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
doh! Thanks! ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012516#4012516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012516 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread petemuir
You need an @Name on the MDB to make it Seam component. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012515#4012515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4012515 ___

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
after @Naming my MDB's as Seam components: | 2007-02-07 11:40:03,215 ERROR [org.jboss.jms.asf.StdServerSession] session failed to run; setting rollback only | java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the context of a web

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread [EMAIL PROTECTED]
This would definitely happen if the MDB started to process messages before the WAR had finished starting up. Like I said above, that would be a bug in our appserver, IMO. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4012700#4012700 Reply to the post :