Unfortunately, you have been singled out as an example:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=68044
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp

Before we start, the code you say is working, is in fact broken:

conn.rollback(); // An error here will bypass the close
conn.close();

And the rollback is almost certainly going to fail if the commit() inside the
try/catch/finally block failed.

anonymous wrote : 
  | What I've seen is that my application can't return the connection to the 
ConnectionPool in the second case, but does in the first, allowing the 
connection reuse.
  | 

http://wiki.jboss.org/wiki/Wiki.jsp?page=BadPostItDoesNotWork
http://wiki.jboss.org/wiki/Wiki.jsp?page=BadPostShort
BEGIN-SARCASM
As long as you have seen it, it must be true. We obviously don't need to 
validate this?
END-SARCASM

Why didn't you use "READ THIS FIRST" at the top of this forum
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=59031
to help you debug/TRACE this problem.
Or at least provide us with some information about what IT IS DOING
rather than what you THINK it is doing.

http://wiki.jboss.org/wiki/Wiki.jsp?page=BadPostFAQ
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatDoesTheMessageNoManagedConnectionsAvailableMean
anonymous wrote : 
  | No ManagedConnections available within configured blocking timeout ( 30000 
[ms] )
  | 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890469#3890469

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890469


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to