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
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
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 :
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 :