A servlet is loaded on startup if you have the < load-on-startup /> tag defined for
the servlet. Remove the < load-on-startup /> tag and it will be loaded when
needed.
But if you eventually load all 7000 servlets, you will still wind up with an out-of-memory
exception. You need to increase the JVM hap size, you can do that in run.bat (Windows) or
run.conf (Linux).
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046874#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...