Tomcat Section Index | Page 6
What is the best apache connector for Tomcat 4.0 -- mod_jk or mod_webapp? Hi, I have both mod_jk (Ajp13 connector) and mod_webapp (webapp connector) and i would like to know which one i should use...more
Sun's specifications for Servlet define only the WEB-INF/classes and WEB-INF/lib directories in order to make the web application portable. If you are not interested in portability, you can still...more
No, Tomcat has no built-in support for Web Services. However, since Web Services are all built on HTTP, it is possible to write your own SOAP or XML-RPC servlet.
Tomcat does not have built-in support for JDBC 2.0 Data Sources. These require vendor support. See What is a JDBC 2.0 DataSource? Half a standard is worse than no standard at all...more
No, Tomcat is a Web container, not an EJB container. See Does Tomcat support EJB?
TOMCAT 4.0.1 on NT4 throws the foll exception when i try to connect to Oracle DB from JSP. javax.servlet.ServletException : oracle.jdbc.driver.OracleDriver Root Cause : java.lang.ClassNotFoundEx...more
How can I get the JSP container to realize when I've modified a file that was included using <%@ include file="XXX" %>, and to recompile files that include it?
I realized that if I make changes to XXX above then for the changes to take effect in the jsp at runtime, I need to do the following: Wipe out the tomcat/work/<whatever> directory Restart ...more
The reason why you are getting the error message on the console and not on a file is because the default configuration of the tomcat.log file is set to be redirected to the console, instead of a f...more
Tomcat session keeps expiring in spite of entries in web.xml to the effect of <session-config> <session-timeout>60</session-timeout> <!-- 30 minutes --> &...more
You can do one of two things: Replace the Tomcat system files jaxp.jar and parser.jar (located in TOMCAT_HOME/lib) -- that is, delete them and install the Xerces jars in their place Include your ...more
I want to use the logger taglib from Jakarta which uses log4j. Does anyone have a sample log4j properties/initialization file that they would post so that I could take a look?
Taglib example in log-examples.war contains a sample log4j.properties file. You should set up path variable similar to TOMCAT_OPTS=-Dlog4j.configuration=file:/c:/jakarta-tomcat-3.2.1/webapps/lo...more
When I try something like <jsp:include page="default.css" flush="true"/> or <jsp:include page="widget.js" flush="true"/> I get an IllegalStateException. This applies to Tomcat 4.0. I...more
Why do I get the message "FAIL - Unknown command" when trying to run the Tomcat 4 Manager application?
Read the docs first. you need to issue a command ie "?list". It's all in the docs.
You can integrate tomcat and apache, but you have to download module. http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/ This url is the page that download the tomcat source...more
My Tomcat 3.x server is routinely being attacked by nimda. Of course it has no effect, but I'm getting a little tired of it and want to track down where the attacks are coming from. Is there a way to configure Tomcat to display IP addresses when it logs errors in tomcat.log?
Tomcat 4.0 will log all request IP addresses.