Transferred from: http://www.cnblogs.com/orientsun/archive/2012/11/04/2753270.html
Error:
Java.lang.SecurityException:Servlet of Class Org.apache.catalina.servlets.InvokerServlet is privileged
Description:
The above error occurred when Tomcat was started, and I previously introduced a connection pool to the Web project and modified the Server.xml and context.xml of Tomcat.
Accuse:
The reason for finding it online is in Tomcat, if you want to use the servlet caller (Org.apache.catalina.servlets.InvokerServlet), in Conf/web.xml, put the caller The servlet registration and mapping is turned on.
Because I used the database connection pool in the Tomcat container, the connection pool needed to be the servelt caller (Org.apache.catalina.servlets.InvokerServlet), and I just didn't turn it on.
Action:
Modify the Conf/context.xml file, add two new properties, turn on the Servelt caller .
<context reloadablePrivileged= "true" ><!–default set of monitored resources–> <WatchedResource>WEB-INF/web.xml</WatchedResource></Context>
Java.lang.SecurityException:Servlet of Class Org.apache.catalina.servlets.InvokerServlet is privileged