You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tiles.apache.org by Iliass Pho <il...@oracle.com> on 2015/06/17 16:01:12 UTC

org.apache.struts.tiles.TilesUtilImpl.doInclude causing compilations

Hi,

 

I am realizing a kind of performance review for an app running on WebLogic Server. We have an internal tool that permits us to track long requests. We have to restart server to install the tool. 

With this tool output, I see that customer is using Tiles.

I am attaching a request during around 6 seconds, almost all these 6 seconds are corresponding to execution of org.apache.struts.tiles.TilesUtilImpl.doInclude method spending lots of time to compile page (weblogic.servlet.jsp.JavelinxJSPStub.compilePage).

request-42.png

I can see weblogic.servlet.jsp.JavelinxJSPStub.compilePage even if related page has already been called but I do not have enough output to affirm compilePage is called during all execution duration.

Does anyone of you know if compilations are done only after server restart or during all execution, and if it is possible to pre-compile JSP pages using Tiles ?

 

Thanks a lot and best regards,

Iliass 

Re: org.apache.struts.tiles.TilesUtilImpl.doInclude causing compilations

Posted by Nicolas Le Bas <ma...@nlebas.net>.
Yes, that's how JSP works.

On 15-06-17 04:26 PM, Iliass Pho wrote:
> Hi Nicolas,
> 
> Thanks a lot for your update.
> So you can confirm there is nothing to do in app level to manage compilation ? No parameter to deal with to change this behavior ?
> 
> Thanks again and best regards,
> 
> Iliass
> 
> -----Message d'origine-----
> De : Nicolas Le Bas [mailto:mail@nlebas.net] 
> Envoyé : mercredi 17 juin 2015 21:02
> À : users@tiles.apache.org
> Objet : Re: org.apache.struts.tiles.TilesUtilImpl.doInclude causing compilations
> 
> Hi Iliass,
> 
> JSP compilation is controlled by your application server; struts and tiles work independently from that.
> 
> Perhaps you could have a look at your application server documentation.
> For instance
> http://docs.oracle.com/cd/E13222_01/wls/docs81/jsp/reference.html.
> 
> Hope this helps.
> 
> 
> On 15-06-17 10:01 AM, Iliass Pho wrote:
>> Hi,
>>
>>  
>>
>> I am realizing a kind of performance review for an app running on 
>> WebLogic Server. We have an internal tool that permits us to track 
>> long requests. We have to restart server to install the tool.
>>
>> With this tool output, I see that customer is using Tiles.
>>
>> I am attaching a request during around 6 seconds, almost all these 6 
>> seconds are corresponding to execution of 
>> org.apache.struts.tiles.TilesUtilImpl.doInclude method spending lots 
>> of time to compile page (weblogic.servlet.jsp.JavelinxJSPStub.compilePage).
>>
>> request-42.png
>>
>> I can see weblogic.servlet.jsp.JavelinxJSPStub.compilePage even if 
>> related page has already been called but I do not have enough output 
>> to affirm compilePage is called during all execution duration.
>>
>> Does anyone of you know if compilations are done only after server 
>> restart or during all execution, and if it is possible to pre-compile 
>> JSP pages using Tiles ?
>>
>>  
>>
>> Thanks a lot and best regards,
>>
>> Iliass
>>

RE: org.apache.struts.tiles.TilesUtilImpl.doInclude causing compilations

Posted by Iliass Pho <il...@oracle.com>.
Hi Nicolas,

Thanks a lot for your update.
So you can confirm there is nothing to do in app level to manage compilation ? No parameter to deal with to change this behavior ?

Thanks again and best regards,

Iliass

-----Message d'origine-----
De : Nicolas Le Bas [mailto:mail@nlebas.net] 
Envoyé : mercredi 17 juin 2015 21:02
À : users@tiles.apache.org
Objet : Re: org.apache.struts.tiles.TilesUtilImpl.doInclude causing compilations

Hi Iliass,

JSP compilation is controlled by your application server; struts and tiles work independently from that.

Perhaps you could have a look at your application server documentation.
For instance
http://docs.oracle.com/cd/E13222_01/wls/docs81/jsp/reference.html.

Hope this helps.


On 15-06-17 10:01 AM, Iliass Pho wrote:
> Hi,
> 
>  
> 
> I am realizing a kind of performance review for an app running on 
> WebLogic Server. We have an internal tool that permits us to track 
> long requests. We have to restart server to install the tool.
> 
> With this tool output, I see that customer is using Tiles.
> 
> I am attaching a request during around 6 seconds, almost all these 6 
> seconds are corresponding to execution of 
> org.apache.struts.tiles.TilesUtilImpl.doInclude method spending lots 
> of time to compile page (weblogic.servlet.jsp.JavelinxJSPStub.compilePage).
> 
> request-42.png
> 
> I can see weblogic.servlet.jsp.JavelinxJSPStub.compilePage even if 
> related page has already been called but I do not have enough output 
> to affirm compilePage is called during all execution duration.
> 
> Does anyone of you know if compilations are done only after server 
> restart or during all execution, and if it is possible to pre-compile 
> JSP pages using Tiles ?
> 
>  
> 
> Thanks a lot and best regards,
> 
> Iliass
> 

Re: org.apache.struts.tiles.TilesUtilImpl.doInclude causing compilations

Posted by Nicolas Le Bas <ma...@nlebas.net>.
Hi Iliass,

JSP compilation is controlled by your application server; struts and
tiles work independently from that.

Perhaps you could have a look at your application server documentation.
For instance
http://docs.oracle.com/cd/E13222_01/wls/docs81/jsp/reference.html.

Hope this helps.


On 15-06-17 10:01 AM, Iliass Pho wrote:
> Hi,
> 
>  
> 
> I am realizing a kind of performance review for an app running on
> WebLogic Server. We have an internal tool that permits us to track long
> requests. We have to restart server to install the tool.
> 
> With this tool output, I see that customer is using Tiles.
> 
> I am attaching a request during around 6 seconds, almost all these 6
> seconds are corresponding to execution of
> org.apache.struts.tiles.TilesUtilImpl.doInclude method spending lots of
> time to compile page (weblogic.servlet.jsp.JavelinxJSPStub.compilePage).
> 
> request-42.png
> 
> I can see weblogic.servlet.jsp.JavelinxJSPStub.compilePage even if
> related page has already been called but I do not have enough output to
> affirm compilePage is called during all execution duration.
> 
> Does anyone of you know if compilations are done only after server
> restart or during all execution, and if it is possible to pre-compile
> JSP pages using Tiles ?
> 
>  
> 
> Thanks a lot and best regards,
> 
> Iliass
>