2 Replies Latest reply on Jul 7, 2004 11:22 AM by oberkom

    Too much JSPs ??

    oberkom Newbie


      I use JBoss 3.0.6.-Tomcat 4.1.18 with jdk1.3.1_01, Oracle as DataBase and a EAR Aplication with 38 stateless session EJB and 1 statefull session EJB. in the web side we have a 2100 JSP...

      Jboss is in a P4 2.4Ghz, 1 Gb RAM, Windows 2000, Jboss runs with 512M for him but, its impossible to compile all the JSP without having out of memory errors. Do you know why Jboss wastes so much memory in compilation process and how i can avoid it ??

      Thank you in advance.

        • 1. Re: Too much JSPs ??
          Shura kaur Newbie

          Sorry, I can't help you.
          But may be you tell how can I compile all my jsp-files?


          • 2. Re: Too much JSPs ??
            oberkom Newbie

            I was talking about normal jsp compilation (entering the jsp url and let the jboss do...)

            You can do a "hard precompile" with ant (javac) and declare jsp as servlets (with all the web.xml stuff). But i dont like to have about 2100 servlets....

            Question: What kind of objets waste more memory in VM ?? I must be carefull only with connections, recordsets, preparedstatements ? I cant believe jboss cant server cant compile all jsp with navigator....