I'm having an application which is having 5 servlets and all of them are having negative values for load-on-startup in web.xml.
When i try to deploy this in Websphere, it takes more than 30 mins to deploy(As such the application is very small). Will the "load-on-startup" play a significant role with respect to performance / deployment time?
Which is advisable, negative or positive values for load-on-startup? I dont need a specific sequence in which the servlets has to be loaded.
negative - means servelet will be loaded but with no priority positive - servlet will be loaded with priority (based on the number)
This parameter definitely increses start up time, but i am not sure it would consume 30 minutes for this. Did you observe how much time it is consuming to load if you remove these statements?
Also it depends on the requirement of your application. Is it performance based app? If performance is not a bottleneck, then this parameter can be removed.
Same time, i would assume there might some other reasons, as to why it is taking such a long time to bring up the server. Might not be this parameter. For example, HEAP size or RAM, did you consider all those parameter?
PMP CSQA SCJP SCWCD SCBCD INS 21 INS 23
Joined: Aug 27, 2004
Its only happening in our production environment. Its starting up fine in unittest, integration test, system test environments(less than 5 mins).
There are several other applications also deployed in the production server which are not having this problem. So, When i was trying to debug this issue, i was not too sure whether load-on-startup is the one which casuses the problem.
Regarding all the other parameters, since the other applications are running ok in the same server, i dont think those might be a reason for the delay.
Trying to debug. If you have any other clue let me know.