Information on the "500 Servlet Exception" error message

From EtherWiki
Revision as of 20:30, 29 April 2010 by Sstrader (talk | contribs)
Jump to: navigation, search

The Resin application server, used by Lunarpages hosting, will sometimes report the following error:

500 Servlet Exception
java.lang.OutOfMemoryError: PermGen space

This will subsequently cause another error:

500 Servlet Exception
java.lang.OutOfMemoryError: Java heap space

According to Resin's web site this will generally appear when new code is uploaded [1]. It usually takes 15-20 minutes to clear up after the server deploys the new code. Alternately, you can force a redeploy of the JSPs to reset the project.