You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/05/09 07:49:00 UTC

[jira] [Commented] (SLING-11301) Servlet.destroy never called for bundled scripts

    [ https://issues.apache.org/jira/browse/SLING-11301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533665#comment-17533665 ] 

Carsten Ziegeler commented on SLING-11301:
------------------------------------------

Change for SLING-11300 https://github.com/apache/sling-org-apache-sling-scripting-jsp/commit/b4ef34f466c8c6813de989ffd683b100ed3c0c65 contains now code to also call destroy(). But this call is probably too late as it only happens on shutdown

> Servlet.destroy never called for bundled scripts
> ------------------------------------------------
>
>                 Key: SLING-11301
>                 URL: https://issues.apache.org/jira/browse/SLING-11301
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting JSP 2.5.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Scripting JSP 2.6.0
>
>
> For bundled jsp, the destroy method is never called. Though this might be an edge case , it is violating the JSP / servlet specification



--
This message was sent by Atlassian Jira
(v8.20.7#820007)