[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Transaction is not active

2009-02-22 Thread HoleInOne
You got a real, genuine, deadlock there. 2 threads fighting over the same resources. When you set the timeout to an hour instead of 5 minutes it means only that the threads where fighting for the whole hour instead of 5 minutes. There is no easy answer for this I'm afraid. The application must

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Transaction is not active

2007-04-23 Thread HoleInOne
Well, this value is basically to protect you from never ending operations. (deadlocks) So fill in a value (in seconds) after which your longest transaction cannot possibly return a valid value. For instance: say your longest transaction takes at most 10 minutes to complete. Then, after say 15

[jboss-user] [EJB/JBoss] - Re: Problem with @Resource and JBOSS

2007-03-26 Thread HoleInOne
instead of mappedName try just name for instance: @Resource(name=java:/QueueConnectionFactory) private javax.jms.QueueConnectionFactory connectionFactory; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4031617#4031617 Reply to the post :

[jboss-user] [EJB 3.0] - Re: PersistenceContext and EntityManager

2007-03-14 Thread HoleInOne
First: Your answer did the trick,Thanks a lot! secondly: WHY? Why is injection done AFTER the constructor? I made those nice final fields to be injected and now they fail ;-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4027937#4027937 Reply to the post :