Re: help w/ tag issue
Seen this before on moving from 4.0.x to 4.1.x. The tag probably isn't coded as per http://jakarta.apache.org/taglibs/guidelines.html I'm betting the tag never clears its internal state between invocations because release() is never called (pooling). To clear state safely when pooling is activated you can have your tags implement the TryCatchFinally interface or clean up state in doEndTag(). HTH, Jon Bryan LaPlante wrote: no database, the tag is just formatting some JavaScript on the page. I have extended the BodyTagSupport and I am use SKIP_BODY in the doEndTag. The tag works fine on Weblogic, it only acts this way in TC. - Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 2:03 PM Subject: Re: help w/ tag issue Bryan, I have looked everywhere for a solution. My custom tag displays it's content once multiplied by the number of times the page has been refreshed. I when looking for the reason and the closest mention concerns tag pooling. I don't know if turning it off will solve this problem but I can not figure what I should put into the web.xml to turn it off. Any help appreciated. Are you obtaining information from, say, a database and displaying it? If so, are you taking care to re-set the results each time you gather that data? If the code isn't that long, you might want to post it. -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: help w/ tag issue
Bryan, I have looked everywhere for a solution. My custom tag displays it's content once multiplied by the number of times the page has been refreshed. I when looking for the reason and the closest mention concerns tag pooling. I don't know if turning it off will solve this problem but I can not figure what I should put into the web.xml to turn it off. Any help appreciated. Are you obtaining information from, say, a database and displaying it? If so, are you taking care to re-set the results each time you gather that data? If the code isn't that long, you might want to post it. -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: help w/ tag issue
no database, the tag is just formatting some JavaScript on the page. I have extended the BodyTagSupport and I am use SKIP_BODY in the doEndTag. The tag works fine on Weblogic, it only acts this way in TC. - Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 2:03 PM Subject: Re: help w/ tag issue Bryan, I have looked everywhere for a solution. My custom tag displays it's content once multiplied by the number of times the page has been refreshed. I when looking for the reason and the closest mention concerns tag pooling. I don't know if turning it off will solve this problem but I can not figure what I should put into the web.xml to turn it off. Any help appreciated. Are you obtaining information from, say, a database and displaying it? If so, are you taking care to re-set the results each time you gather that data? If the code isn't that long, you might want to post it. -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]