OK I think I have a handle on what is wrong with the dbtags. Almost every tag forgets to call super.release() In their release() method. This doesn't cause any problems if your container doesn't recycle tags.
public void release() { super.release(); <--- this needs to be added _position = -1; _attributeName = null; _name = null; _scope = "page"; _tag = null; _metaData = null; _locale = null; } Can a taglibs committer just rip through and add super.release() to all of the tag release methods? If there is a formal patch procedure I need to go through instead, let me know. Thanks, --Loren -----Original Message----- From: Halvorson, Loren [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 12:05 PM To: [EMAIL PROTECTED] Subject: [dbtags] Strange behavior since switching to Tomcat 4.1.12 We are seeing some strange behavior from dbtags since we switched to Tomcat 4.1.12. I'm pretty sure it's related to the new tag pooling feature of Tomcat. I am wondering if anyone else is having problems. If we have two statements on the same page, where the first one returns rows, but the second does not, the second statement tag prints out the actual text of it's query instead of nothing. For example: <sql:statement id="stmt2" conn="conn"> <sql:query>select * from foo/*a query that returns rows*/</sql:query> <sql:resultSet id="rset2"> </sql:resultSet> </sql:statement> <sql:statement id="stmt3" conn="conn"> <sql:query>select * from bar /*a query that returns NO rows*/</sql:query> <sql:resultSet id="rset3"> </sql:resultSet> </sql:statement> Would actually send back to the browser "select * from bar /*a query that returns NO rows*/" Oh I wish we could switch to JSTL (to anticipate the response I know some of you are thinking), but we have the requirement of supporting JSP 1.1 containers too (like WebSphere 4.0). So let's get busy on that JSP 1.1 back-port of JSTL. Thanks -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>