[ 
http://jira.amdatu.org/jira/browse/AMDATU-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12512#comment-12512
 ] 

Jan Willem Janssen commented on AMDATU-520:
-------------------------------------------

{quote}
I don't see any code instructing Jasper to be multi-tenant aware; this is bound 
to fail.

Multi-Tenancy is on the servlet layer (1 per tenant). but this mechanism is not 
yet Multi-tenancy proof.
{quote}
Sorry, wrong terminology: I meant to say that Jasper isn't instructed to be 
playing nice in an OSGi-context. I believe Jasper uses java.io.tmpdir as its 
default "scratchdir". I think this should be somewhere in the bundle's data 
directory instead. See also AMDATU-486. 

                
> Code review: web.jsp
> --------------------
>
>                 Key: AMDATU-520
>                 URL: http://jira.amdatu.org/jira/browse/AMDATU-520
>             Project: Amdatu
>          Issue Type: Improvement
>            Reporter: Jan Willem Janssen
>            Assignee: Jan Willem Janssen
>              Labels: code_review
>             Fix For: Sprint 3
>
>
> My comments:
> * why is this bundle made and not making use of PAX-Web JSP? The more code we 
> can reuse, the less code we need to maintain;
> * JspSupport is a marker interface, please remove
> * JasperClassLoader#getClassPathJars uses url.toExternalForm() twice without 
> an intermediary variable;
> * ResourceProviderJspServlet declares unnecessary serialVersionUID, Servlet 
> isn't Serializable (anymore);
> * I don't see any code instructing Jasper to be multi-tenant aware; this is 
> bound to fail.

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

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to