-
1. Re: JBoss+Tomcat JSP Precompile
zyfno1 Mar 9, 2003 9:09 PM (in response to wxie)You can configurate the tomcat41-service.xml file. Set false in the file. Since you restart your server the .class files in tomcate work dir are kept!
-
2. Re: JBoss+Tomcat JSP Precompile
snikolaidis Mar 14, 2003 4:31 AM (in response to wxie)Why don't you compile the jsp files before deployment? Personally, I use this solution and I find it pretty helpful. And very fast too!! :)
-
3. Re: JBoss+Tomcat JSP Precompile
mark.wigmans Apr 11, 2003 4:52 PM (in response to wxie)How can this precompilation be done? I'am looking for a "how to" but I can't find.
-
4. Re: JBoss+Tomcat JSP Precompile
jonlee Apr 21, 2003 7:37 AM (in response to wxie)Another thing to prevent memory leaks and improve the compile speed itself is to use the Jikes compiler. This does not work in Windows as the Jikes compiler does not support the -encoding attribute necessary.
The standard Sun compiler up to j2sdk 1.4.1 has a memory leak that affects the Tomcat JVM - Jikes doesn't suffer from this problem. 1.4.1_01 apparently fixes the problem. I still use Jikes in Linux installs as it is a faster compiler - actually we use it for development code compiles as well.
Read about this and pre-compilation in the Tomcat documentation - especially the Jasper 2 documentation. Note that you are staddling projects and JBoss documentation won't help you with Tomcat configuration. :) -
5. Re: JBoss+Tomcat JSP Precompile
kalimero Jun 2, 2003 11:55 AM (in response to wxie)Can you also tell us how to precompile (eg. for tomcat) the JSP files?
We cannot find any docs about this topic.
thx.
wolfgang -
6. Re: JBoss+Tomcat JSP Precompile
jonlee Jun 3, 2003 8:10 AM (in response to wxie)There are a number of ways, however, the load-on-startup option is the most container independent means. It is also recource intensive at start up. Note this is servlet configuration and covered under the servlet/JSP spec. See here:
http://www.jguru.com/faq/view.jsp?EID=425278
With Tomcat, you can also refer to Tomcat specific pre-compilation methods at:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html -
7. Re: JBoss+Tomcat JSP Precompile
test Nov 20, 2003 7:52 AM (in response to wxie)Another way to precompile a JSP is to compile it before using it, ... thank you all for your help!!!!!
-
8. Re: JBoss+Tomcat JSP Precompile
draftdog Dec 2, 2003 7:28 AM (in response to wxie)or do it in development
http://sourceforge.net/mailarchive/forum.php?thread_id=3435763&forum_id=28502