Tomcat, Precompile JSP Pages



I have a website that consists of almost 200 JSP Pages. The server
hosting this site is running Tomcat. When Tomcat starts up, it kicks
off a servlet that will precompile all of the JSP pages. This servlet
pings every single JSP page in the website. When the JSP page is
pinged, it is forced to compile. It takes nearly 2 hours to compile
all of the JSP pages using this servlet. The server is a solaris 8
machine with a 333 MHz Processor and 128 Mb of RAM.

Here are my questions:
1) Should compiling 200 JSP Pages take 2 hours on this machine?
(If not, then the time is being spent trying to run each JSP page
after it is compiled.)
2) Is the server machine too slow?
3) Is there another way to precompile JSP Pages without pinging them?

Any advice would be appreciated. Thanks in advance.

.



Relevant Pages

  • Re: J2ME or network programming or...what do you recommend?
    ... I started doing the servlets along with the JSP. ... Well depending on how dynamic you want the client to ... needed) to java server programs? ...
    (comp.lang.java.programmer)
  • Re: How to open the jsp pages by click on the APPLET
    ... I want to know is there is any way to open the new window of jsp ... By this i get only html tags nothing beyond that.That is not my ... requirement.Will give syntax for getting jsp page on applet. ... only load URLs from the same server as the containing page ...
    (comp.lang.java.advocacy)
  • Re: Please Answer Newbie Question
    ... > Servlet and JSP classes are not in the J2SE, ... > the application server as a separate download. ... > that you're going to develop servlets and JSP. ... Just install *that* server, and use the ...
    (comp.lang.java.programmer)
  • Re: windows integrated authentication question
    ... > I am writing a JSP application. ... I have a servlet container (actually a ... > Websphere application server) running on an IBM iSeries. ... > ..."is a secure form of authentication because the user name and password ...
    (microsoft.public.inetserver.iis)
  • WebSphere 5.1 & compiling JSPs: StringIndexOutOfBoundsException
    ... I got a JSP which includes another JSP via ... When I request the included JSP by its own, ... compiled well on the server and the output is correct. ... Unable to compile class for JSP ...
    (comp.lang.java.developer)