B
boanator
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.
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.