What is an invoker servlet in a Tomcat servlet container?
When I recompile a servlet which is already loaded by the container, it is automatically reloaded. However the destroy() method of the servlet does not get called. Does this mean that the servlet is not unloaded before reloading? I’ve setup Tomcat 3.1 with Apache on my web server to serve JSP pages. It works well for Java Servlets and JSP pages. However, this is one issue: if the target JSP page does not exist, the server will send out a File Not Found Error 404 along with the DETAIL PATH, such as “File /usr/local/jakarta-tomcat/webapps/… Not found”. How can I stop tomcat from spilling off its own detail file path on the server. How is SingleThreadModel implemented in Tomcat? In other containers? [I would assume that Tomcat uses its connection thread pool, and creates a new instance of the servlet for each connection thread, instead of sharing one instance among all threads. Is that true?
When I recompile a servlet which is already loaded by the container, it is automatically reloaded. However the destroy() method of the servlet does not get called. Does this mean that the servlet is not unloaded before reloading? I’ve setup Tomcat 3.1 with Apache on my web server to serve JSP pages. It works well for Java Servlets and JSP pages. However, this is one issue: if the target JSP page does not exist, the server will send out a File Not Found Error 404 along with the DETAIL PATH, such as “File /usr/local/jakarta-tomcat/webapps/… Not found”. How can I stop tomcat from spilling off its own detail file path on the server. How do I disable initial messages from Tomcat like “Starting tomcat. Check logs/tomcat.log for error messages” I am starting Tomcat using integrated JVM inside my C++ process using JNI.
Related Questions
- Some of our Java based applications are hosted on Tomcat (Servlet container), since there is no need for an EJB container in those applications. Will Skyway support it?
- Why does my Tomcat 6.0 server fail to start after I enable the Invoker servlet?
- What is an invoker servlet in a Tomcat servlet container?