[jboss-user] [EJB 3.0] - Re: EJB3 MDB: Annotations for instancePool?

2008-09-23 Thread tharter
Just FYI, it should actually be: @ActivationConfigProperty(propertyName = "maxSessions", propertyValue = "1") (that is, "maxSessions" not "maxSession") I confirm this works for me on 4.2.2.GA using the 5.0.0 version of the ActiveMQ resource adapter. View the original post : http://www.jboss.c

[jboss-user] [EJB 3.0] - Re: @Interceptors not working

2008-05-13 Thread tharter
Heh, still my day to be wrong about things. You can run JBoss 4.2.2.GA ok under jrockit R27.x. What you can't do is instrument an EJB3 SLSB using Cobertura, lol. It looks like instrumenting code causes @Interceptors annotation based interceptors (and possibly other things) to stop functioning.

[jboss-user] [EJB 3.0] - Re: @Interceptors not working

2008-05-13 Thread tharter
Oh, and I know this is slightly off the original topic, but I don't seem to see @Interceptors annotations honored at all in Embeddable. It seems like there can be 2 behaviors there. Either the interceptors just don't execute, or in some cases (and I haven't found exactly what the difference is)

[jboss-user] [EJB 3.0] - Re: @Interceptors not working

2008-05-13 Thread tharter
Ah, OK. Sure enough, don't use jrockit R27.4. It is Java 1.6 compliant, bad news. EJB3 @Interceptors will just silently fail to be invoked... Feh. Also seems to create some subtle problems with JBoss WS 2.0.2. If anyone over there in the JBoss dev team happens to notice, being able to run 4.2.

[jboss-user] [EJB 3.0] - @Interceptors not working

2008-05-12 Thread tharter
I've just been beating this problem to death for about 3 days now. Maybe a year or so back I wrote some custom EJB3 interceptors. All was well. Now I find for no reason I can discern that they simply do not get invoked anymore. Specifically there is nothing super complex going on. I have an inte

[jboss-user] [EJB 3.0] - Re: Recommended testing framework

2008-05-12 Thread tharter
Heh, JUnitEE may be 'dead' but it works... I even ginned up an Injector, so in my test cases I can use the @EJB and @Resource Annotation ;) In fact I even made annotations for DBunit and one that automagically auths my tests. Now, if only @Interceptors() only worked (at all) I'd be golden...

[jboss-user] [EJB 3.0] - Re: EJB3 Embeddable and @AroundInvoke

2006-09-28 Thread tharter
Hmmm, OK, it DOES work fine in-container, just can't seem to get @AroundInvoke to work OUTSIDE the container. Is this an issue with embedded still expecting @AroundInvoke to be in javax.ejb? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975029#3975029 Repl

[jboss-user] [EJB 3.0] - EJB3 Embeddable and @AroundInvoke

2006-09-28 Thread tharter
Just doesn't seem to be happening for me... @Stateless @SecurityDomain("etspolicy") public class UserManagerBean implements UserManager { @PersistenceContext(unitName = "etsdata") private EntityManager manager; @AroundInvoke public Object InvokerTest(Inv