This content has been marked as final.
Show 2 replies
-
1. Re: Getting error while deploying my application in Jboss, j
peterj May 18, 2007 12:06 PM (in response to shyamjig)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). -
2. Re: Getting error while deploying my application in Jboss, j
shyamjig May 19, 2007 7:56 AM (in response to shyamjig)"PeterJ" wrote:
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).
Actullly, i dont have the Tag entry < load-on-startup /> along with my servlet defination in web.xml.
Even i tried with option < load-on-startup >0< load-on-startup /> or some negative integer but still i am getting these error.
I have Tomcat version of Jboss.. here its working fine..
But when configure me application in Default version of Jboss 4.05 .. this problem get occurs.