tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micael <caraun...@harbornet.com>
Subject Re: Servlet Compilation Takes Way Too Long
Date Tue, 13 Aug 2002 17:16:58 GMT
That is very helpful, Glenn.  Thanks for your response.  Can I pretty much 
slip Tomcat 4.1 into my setup and expect reasonable results, or will I go 
through a serious recoding period?  Also, can I Jasper 2 be added to Tomcat 
4.0?

Micael

At 03:57 PM 8/12/2002 -0500, you wrote:
>Tomcat 4.1.x uses Jasper 2.  Jasper 2 can do JSP compilations in the 
>background.
>If a JSP page had already been compiled it's class is used to serve pages
>until the new JSP has finished compilation.  Result, no requests are delayed
>due to recompilation of a JSP page.  It can also detect changs in JSP pages
>which were included at compile time and force a recompile of the page which
>included them.
>
>Regards,
>
>Glenn
>
>micael wrote:
>>Whenever I change a jsp page, it takes forever for the program to 
>>compile. ("Forever" = five to fifteen minutes.) During that time my site 
>>is essentially shut down.
>>I am current running aTomcat 4.0 with Struts 1.2. I have an application 
>>set for www.myapp.com with the following code in server.xml, where the 
>>code for "/anniversaries" is reapeated for 24 different sites.
>><Context path=""
>>docBase="myapp"
>>debug="0"
>>reloadbale="true"/>
>><Context path="/manager"
>>docBase="manager"
>>debug="0"
>>privileged="true"/>
>><Context path="/mysubapp-0NE"
>>docBase="mysubapp-0NE"
>>debug="0"
>>reloadable="true"/>
>><Context path="/mysubapp-TWO"
>>docBase="mysubapp-TWO"
>>debug="0"
>>reloadable="true"/>
>>...........
>><Context path="/mysubapp-TWENTY-FIVE"
>>docBase="mysubapp-TWENTY-FIVE"
>>debug="0"
>>reloadable="true"/>
>>Am I doing something dumb, or am I misusing one of the applications? Or, 
>>what? Thanks.
>>Micael
>>
>>
>>--
>>To unsubscribe, e-mail:
>><mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
>>For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message