facebook

Slow and resource intensive JSP compilation problem [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #197808 Reply

    casterx
    Member

    JSP Compilation too slow

    I am using MyEclipse on a project with about 200 JSPs. During startup or setting changes, the tool proceeds to recompile every page — which is incredibly slow and resource intensive that I get out of memory errors on a 1 gig machine. Is there any way to speed up or make the recompile more efficient?

    To get around the problem, I removed the incremental jsp build task, but now, my JSPs don’t get compiled at all. Is there any way to selectively compile individual JSPs to check for syntax error before deployment?

    On a side note, is it possible to turn the reload on class change attribute for a deployed context in tomcat?

    Thanks…

    #197813 Reply

    Scott Anderson
    Participant

    Is there any way to speed up or make the recompile more efficient?

    We’re looking into it now for inclusion in a later service release.

    To get around the problem, I removed the incremental jsp build task but now, my JSPs don’t get compiled at all.

    This was a bad solution. You can simply turn off JSP compilation using the option on the syntax page of the JSP Editor configuration page in the 2.5.1 release.

    Is there any way to selectively compile individual JSPs to check for syntax error before deployment?

    Yes, turn JSP compilation off while you develop, then turn it back on before deployment. You can either then compile them all, or simply resave the ones you want to recompile and check.

    On a side note, is it possible to turn the reload on class change attribute for a deployed context in tomcat?

    We’re looking into doing server-specific reloading in an upcoming service release. In the meantime, simply ‘touch’ the web.xml file in your Eclipse project and if you’re using exploded deployment this should indicate to Tomcat to reload the application. More information can be found in the Tomcat documentation.

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Slow and resource intensive JSP compilation problem [Closed]

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in