1. What is the PermGen Space error. Is it to do with memory? 2. What is the difference between "exception" and "root cause"?
I noticed the PermGen space error happens in JBoss after I've hot deployed an application many times without restarting JBoss. There must be a memory leak in the deployment routine. If that's the case, then it's something that probably won't affect a production machine, but it's annoying to a software developer.
I assume that the exception is the ServletException, and the root cause is the Exception that is returned by ServletException.getRootCause()?