The import javax.servlet can’t be resolved 

You need to add the Servlet API to your classpath. In Tomcat 6.0, this is in a JAR called servlet-api.jar in Tomcat’s lib folder. You can either add a reference to that JAR to the project’s classpath, or put a copy of the JAR in your Eclipse project and add it to the classpath from there. If you want … Read more

org.apache.jasper.JasperException

when i open first time website its show error like this but if i refresh then site will open perfectly but if u leave idle sometime then if u open next then also same error after that if u refresh then site open perfect this is the problem, its applying in entire application in any … Read more

Is Tomcat running?

Why grep ps, when the pid has been written to the $CATALINA_PID file? I have a cron‘d checker script which sends out an email when tomcat is down: I guess you could also use wget to check the health of your tomcat. If you have a diagnostics page with user load etc, you could fetch … Read more

Should I set a MaxMetaspaceSize?

As I commented on the previous answer the reasons for setting a limit on those memory pools is different. If your users previously increased the MaxPermSize above the default that probably was either to avoid Full GCs / concurrent mode failures with CMS or because their applications genuinely needed a lot of perm gen space. … Read more