[jboss-user] [Performance Tuning] - JBoss Performance
do-not-reply at jboss.com
Fri Jul 18 01:14:35 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=4165228#4165228
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165228
More information about the jboss-user