[jboss-user] [EJB 3.0 Users] - Re: Timer Service - ejbtimeout is not returned.

2009-09-22 Thread gerbrand
Do you mean, that you schedule a new timer, after the method that is executed the previous timer has finished? Can you give a code sample? If you want to 'cancel' a method that is executed using the @Timeout annotation, that's not possible by default. The method is just run as a Java Thread. K

[jboss-user] [EJB 3.0 Users] - Returning EJB's from EJB's and transactions

2009-09-22 Thread gerbrand
Hello, I'm wondering about design of my application. We a lot of EJB (EJB3) using the @Stateless and @EJB tags. All EJB's are now local, but we're considering changing a few in remote interface. Quite a few EJB's return EJB's also and I wonder if that is correct in the first place, and secondl

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Why every find / select query executes a commit?

2009-02-15 Thread gerbrand
Do you also annotate your class with a transaction attribute? We use @TransactionAttribute( TransactionAttributeType.REQUIRED ) That should be the default, although I'm not sure. With the above attribute, when a (EJB) method within an existing transaction, that transaction is used. A new transa

[jboss-user] [JCA/JBoss] - Re: RAR deployment error

2009-01-26 Thread gerbrand
Thanks alot for the posting! I had the same problem, and deleting the manifest.mf files (didn't contain any usuful information anyway) helped. My problem was, one or more of the .jar files were included in the ear file as modules, contained a manifest.mf file. View the original post : http:/