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 2012/11/26 15:30:58 UTC

[jira] [Created] (SLING-2678) Parallel compilation if same jsp is requested in parallel

Carsten Ziegeler created SLING-2678:
---------------------------------------

             Summary: Parallel compilation if same jsp is requested in parallel
                 Key: SLING-2678
                 URL: https://issues.apache.org/jira/browse/SLING-2678
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Scripting JSP 2.0.24
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Scripting JSP 2.0.26


If the same jsp is requested in parallel for the first time, it might happen that two wrappers are created and the second request actually destroys the runtime context as well


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (SLING-2678) Parallel compilation if same jsp is requested in parallel

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503800#comment-13503800 ] 

Carsten Ziegeler commented on SLING-2678:
-----------------------------------------

This leads to parallel compilation attempts which further down the road might lead to jcr exceptions when the class file is tried to be written to the repository in parallel
                
> Parallel compilation if same jsp is requested in parallel
> ---------------------------------------------------------
>
>                 Key: SLING-2678
>                 URL: https://issues.apache.org/jira/browse/SLING-2678
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting JSP 2.0.24
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Scripting JSP 2.0.26
>
>
> If the same jsp is requested in parallel for the first time, it might happen that two wrappers are created and the second request actually destroys the runtime context as well

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (SLING-2678) Parallel compilation if same jsp is requested in parallel

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-2678.
-------------------------------------

    Resolution: Fixed

I've corrected the isValid check
                
> Parallel compilation if same jsp is requested in parallel
> ---------------------------------------------------------
>
>                 Key: SLING-2678
>                 URL: https://issues.apache.org/jira/browse/SLING-2678
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting JSP 2.0.24
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Scripting JSP 2.0.26
>
>
> If the same jsp is requested in parallel for the first time, it might happen that two wrappers are created and the second request actually destroys the runtime context as well

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira