[ 
https://issues.apache.org/jira/browse/SLING-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger closed SLING-743.
-----------------------------------

    Resolution: Fixed

Fixed in Rev. 720611.

Please note, that setting and resetting the thread context class loader is not 
required per-se to execute the JSP scripts. Rather it is required for 
functionality using the thread context class loader like XML parser factories 
and others.

> JSP ScriptEngine should set/reset the Thread context ClassLoader while 
> executing JSP scripts
> --------------------------------------------------------------------------------------------
>
>                 Key: SLING-743
>                 URL: https://issues.apache.org/jira/browse/SLING-743
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting JSP
>    Affects Versions: Scripting JSP 2.0.2
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Scripting JSP 2.0.4
>
>
> To ensure successfully compilation and execution of JSP scripts, it is 
> essential to set the thread context class loader before calling (and thus 
> compiling) the script and resetting the class loader afterwards. This is most 
> important for compilation to be able to get the XML parser required for 
> compilation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to