[jboss-jira] [JBoss JIRA] Resolved: (JBAS-7479) Unable to set checkInterval init-param to 0 for 'jsp' servlet

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Mon Feb 1 09:33:19 EST 2010


     [ https://jira.jboss.org/jira/browse/JBAS-7479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Remy Maucherat resolved JBAS-7479.
----------------------------------

    Resolution: Rejected


The copied class no longer exists in trunk, so the bug is "fixed".
Besides, given the default value for the field, I am not really convinced this is anything more than a trivial convenience issue.

> Unable to set checkInterval init-param to 0 for 'jsp' servlet
> -------------------------------------------------------------
>
>                 Key: JBAS-7479
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7479
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>    Affects Versions: JBossAS-4.2.3.GA, JBossAS-5.1.0.GA
>            Reporter: James Livingston
>            Assignee: Remy Maucherat
>
> If you attempt to set the checkInterval init-param to 0 in jboss-web.deployer/conf/web.xml (4.2) or deployers/jbossweb.deployer/web.xml (5.1) you receive a warning 'Warning: Invalid value for the initParam checkInterval. Will use the default value of "300" seconds' despite the comments indicating it is a valid value.
> What seems to have happened is that a while back we copied the org.apache.jasper.EmbeddedServletOptions class to org.jboss.web.tomcat.service.jasper.JspServletOptions so that we could override tldLocationsCache. Some time later, a Tomcat bug[0] in that class got fixed, but our copied code didn't get the fix applied.
> The relevant change is removing the "if (this.checkInterval == 0)" block, so that 0 is an acceptable value. If we did want to disallow 0, then it is buggy because it gets left as 0 if the init-param is not present or is a non-numeric value.
> [0] https://issues.apache.org/bugzilla/show_bug.cgi?id=41265

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list