5 Replies Latest reply on Jul 25, 2008 12:27 AM by Vishal Mehta

    JBoss Performance

    Vishal Mehta Newbie

      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??