[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss Connection Socket usage in error scenarios
dkilley
do-not-reply at jboss.com
Mon May 12 19:23:29 EDT 2008
Original Post, wrong area? - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133873
Essentially to summarize, we've noticed that when a HA connection data source is configured with a new-connection-sql statement, that if the socket connection succeeds, but the new-connection-sql fails, the connection is not closed prior to throwing the ManagedConnect object away. Thus there exists potential for alot of sockets to be opened and not closed until GC, whereby a bit of extra code can close those sockets proactivly.
Before submitting as a bug I wanted to just gather any feedback on this.
The above URL has a good code clip at the bottom that describes the exact code and what we are seeing.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150206#4150206
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150206
More information about the jboss-user
mailing list