[jboss-user] [Clustering/JBoss] - Preventing JBoss from loading all the servlets on Startup
do-not-reply at jboss.com
Thu Jul 17 00:01:43 EDT 2008
I have a simple Java/JSP application in which I have compiled all the JSPs using Jakarta ANT 1.5 into servlets and placed them in the WEB-INF/classes folder. I have modified my web.xml file accordingly and put all the servlet mapping entries in the web.xml file.
Now the main problem is that when JBoss starts it by default loads all the servlets into the memory. I have around 7000 servlet files which when loaded into the memory gives "Out of Memory" error after some time.
It does not happen in Tomcat since Tomcat does not load all the servlets during startup.
Can anyone please suggest me how to prevent loading of all the servlets in the memory at the time of startup??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164907#4164907
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164907
More information about the jboss-user