0 Replies Latest reply on May 23, 2007 8:03 AM by Shyamji Gupta

    How to Prevent Jboss Server to load servlet at startup.

    Shyamji Gupta Newbie

      Hi Friends,

      I have intalled Jboss 4.0.* (Default) and its working fine.
      But Problem is, i have 7000 Servlet in my application, which are mapped wth theirs repective classes in web.xml.

      If i deploy my application in Jboss.. While loading my context it get stuck for some time (means it loading all my servlet classes) and after some time, its gives the error MemoryOutOfError. Even i tried with the option of
      <load-on-startup>-1</load-on-startup> with my servlet class mapping.

      But still its giving error.

      Does there exist any configuration to avoid, to load my servlet at server startup.