How do you know the jstl tag is releasing the connection? Are you sure nothing else is getting a connection handle?
There might be a bug in jboss, but so far this message has always been correct.
> How do you know the jstl tag is releasing the
I'm not sure really but consider this:
- the same page with the same datasource on Jboss 3.0.x doesn't produce this worning
- JSTL spec say: "A Connection object is obtained and released before the action
> Are you sure nothing else is getting a
> connection handle?
> There might be a bug in jboss, but so far this
> message has always been correct.
infact threre are two possibilities: until version 3.0.7 there was a bug that doesn't produce the warning message or in version 3.2.0 there is a bug that produce the warning message
The message is new. I'll say it again, there have been many people saying "this message is totally wrong, I'm closing all my connections". Then, later, they have _all_ said "I looked again, and found the connection I wasn't closing" They usually also say "Now the resource leaks in my app are fewer!"
I would not believe the jstl spec. Look at their code.
Just FYI - I see the same error message in 3.2.0 even without using the JSTL, with a test application/server that uses only a simple query where my statement is closed in the page. I suspect there's something in the pool but haven't had time to look into it. Cheers!