jGuru
Register Email     Password Forgot your
password?
HOME FAQS FORUMS DOWNLOADS ARTICLES PEERSCOPE LEARN

  Search   jGuru Search Help

View:
Tomcat FAQ Home Page

FAQ Manager is guru Alessandro A. Garbagnati PREMIUM.

Tomcat is a commercial-quality server solution based on the Java Platform that supports the Servlet and JSP specifications. Managed by the Apache Jakarta Project, it is developed in an open and cooperative fashion.

This FAQ is for questions specific to Tomcat, Jasper, and Catalina configuration and usage. Questions on Servlets or JSP in general are in the Servlets FAQ or the JSP FAQ. [FAQ created by Alex Chaffee].

What's New

retrieving resources via class loader I first posted my question on the IO forum, but I now realize its more of a app server question. I have an xml file deployed directly under my web-inf directory....
Tools:AppServer, Tools:AppServer:WebServer:Tomcat
Steve Pruitt, Jan 13, 2006
The following code is from the ActionServlet-class from Struts , method protected void parseModuleConfigFile(Digester digester, String path) that loads...
Is it possible to restrict access to particular web application with Tomcat?
Tools:AppServer:WebServer:Tomcat:Security, Tools:AppServer:WebServer:Tomcat:Configuration
Alessandro A. Garbagnati PREMIUM, Apr 29, 2004
Yes, it can be done by using two predefined Valves, that are the RemoteHostValve or the RemoteAddrValve. These valves can be used inside any container...
How to set up Basic HTTP Authorization in Tomcat 4
Tools:AppServer:WebServer:Tomcat:Security, Tools:AppServer:WebServer:Tomcat:Configuration
Alessandro A. Garbagnati PREMIUM, Dec 2, 2003
There are two required steps to activate Basic HTTP authentication in Tomcat. The first one is Tomcat specific task. You need to define the type of Realm...


How the catalina.home and catalina.base system properties are used?
Tools:AppServer:WebServer:Tomcat:Installation, Tools:AppServer:WebServer:Tomcat:Configuration
Alessandro A. Garbagnati PREMIUM, Oct 14, 2003
The presence of those two properties is required only when you want to use multiple instances of Tomcat without having to install the software multiple...
Cross Site Scripting (XSS) with Jakarta Tomcat.
Java:API:Servlets:Products:Tomcat, Tools:AppServer:WebServer:Tomcat:Security, Tools:AppServer:WebServer:Tomcat:Bugs, Tools:AppServer:WebServer:Tomcat:Configuration
Alessandro A. Garbagnati PREMIUM, Jul 31, 2003
Hi, The XSS vulnerability has been found at the time Tomcat 4.0.3 has been released (and 4.1.2 was in beta). The problem was connected to the fact that...
Tomcat 4.x and /servlet/ mapping.
Java:API:Servlets:Products:Tomcat, Tools:AppServer:WebServer:Tomcat:Versions, Tools:AppServer:WebServer:Tomcat:Configuration
Alessandro A. Garbagnati PREMIUM, Jul 31, 2003
 With Tomcat 3.x, by default the servlet container was set up to allow invoking a servet through a common mapping under the /servlet/ directory. A...
Why Are The Tomcat 4.1.24 MBean Server And Admin Tool Not Available? (Bootstrap: Service started javax.servlet.UnavailableException: MBeanServer is not available)
Tools:AppServer:WebServer:Tomcat:Installation, Tools:AppServer:WebServer:Tomcat:Configuration
Michael Duffy, Jun 27, 2003
Additional Info When this problem occurs, the following exception shows up in the logs on startup: Bootstrap: Service started javax.servl...
How to change the location of TOMCAT_HOME/webapps on Tomcat 4.1.x?
Tools:AppServer:WebServer:Tomcat:Installation, Tools:AppServer:WebServer:Tomcat:Configuration
Alessandro A. Garbagnati PREMIUM, Jun 27, 2003
That is explained in the Server Configuration Reference - The Host Container official documentation page. Just change the appBase attribute of the &l...
Configurating datasources with ant? Is there a way to configure a datasource using ant that will result in the server.xml updated to give me datasources? I can delete, update and deploy applications to...
Tools:AppServer:WebServer:Tomcat:Installation, Tools:AppServer:WebServer:Tomcat:Configuration, Tools:Build:Ant
Stefan Koch, Jun 23, 2003
A glance at the source code of the install task of tomcat tells me that it cannot replace tokens from a template configuration file. You should use...
Is it possible, with Tomcat, to allow ONLY secure connections (HTTPS) for a Context or a Directory?
Tools:AppServer:WebServer:Tomcat:Security, Tools:AppServer:WebServer:Tomcat:Configuration
Daniele Galluccio, May 8, 2003
For allowing only HTTPS (secure) connections, you need to activate Tomcat's the SSL support. If you need help on this, just refer to the Tomcat SSL Co...
How to protect directories with a password in Tomcat? is there any .htaccess-like way to achieve this?
Tools:AppServer:WebServer:Tomcat:Security, Tools:AppServer:WebServer:Tomcat:Configuration
Daniele Galluccio, May 8, 2003
To password protect your pages you can use a Realm. Please referer at the Tomcat Documentation for detailed info, like the Realm Configuration HOW-TO....
Is possible from a servlet to know the absolute path in which Tomcat 4.1 is installed
Tools:AppServer:WebServer:Tomcat
Alessandro A. Garbagnati PREMIUM, Apr 23, 2003
Yes, there is a way, but first you must know that this solution is not portable, since is for Tomcat only. Both $CATALINA_HOME and $CATALINA_BASE, in...
Is it possible to install multiple instances of Tomcat on one server to create a development, test and production version?
Tools:AppServer:WebServer:Tomcat:Installation, Tools:AppServer:WebServer:Tomcat:Configuration
JIA Java Italian Association PREMIUM, Feb 25, 2003
Additional info: I am trying to create a seperate development, test and production environment on one windows NT-server. To ensure that each environment...
How to log or view the pages being accessed by the user in Tomcat.
Tools:AppServer:WebServer:Tomcat:Development
Alessandro A. Garbagnati PREMIUM, Feb 24, 2003
Hi, If you are working on Tomcat, and you are looking for a Tomcat specific solution (not portable), then you can use the Tomcat 4.x valves, that can...
Is it possible to use COM ports in TOMCAT on a Win32 system? I get the "Port COM1 does not exist." error message every time I try to access to the serial port.
Tools:AppServer:WebServer:Tomcat:Installation:Windows, Tools:AppServer:WebServer:Tomcat:Configuration
eduardo picardi, Jan 22, 2003
The JDK used by Tomcat, specified by environment variable JAVA_HOME, was missing the win32com.dll library and the comm port properties file javax.comm...
How could I use NTLM Authentication to authenticate via Windows NT Authentication for a servlet based intranet-application ?
Java:API:Servlets:Security, Java:API:Servlets:Products:Microsoft IIS, Tools:AppServer:WebServer:Tomcat:Installation:Windows
Chad Skeeters, Jan 11, 2003
[There was a great discussion of this at http://www.jguru.com/faq/viewquestion.jsp?EID=393110 The code below seems to be the final solution, but I recommend...
What's the difference between Tomcat 4.1.x and Tomcat 4.1.X-LE-jdk1.4???
Tools:AppServer:WebServer:Tomcat:Installation
Alessandro A. Garbagnati PREMIUM, Dec 12, 2002
You can find the answer by reading the notes at the end of the Tomcat download page. Apache Tomcat 4.1.x This release of Tomcat 4.1.x is available...
SSL Error on Tomcat 4.1.12. WARNING: Exception getting SSL attributes
Tools:AppServer:WebServer:Tomcat:Bugs
Allistair Crossley, Dec 12, 2002
WARNING: Exception getting SSL attributes javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl....
SMC Barricade How do i configure my router (SMC Barricade 7004-ABR) to work with TOMCAT. It works by just typing http://localhost and all that, but I can't access it from another computer. I tried accessing...
Tools:AppServer:WebServer:Tomcat
John Mason, Dec 11, 2002
You have to open filters in your router or put the IP address of the system that is running tomcat in the DMZ system field. The Baricade has a management...
I see several thousand lines of this when I start Tomcat on Windows 2000 Pro. Is there a way to turn this off?
Tools:AppServer:WebServer:Tomcat:Configuration
Terry Laurenzo, Dec 9, 2002
45866 [main] DEBUG org.apache.commons.di gester.Digester.sax - startElement(,,extension) 45866 [main] DEBUG org.apache.commons.digester.Digester ...
« previous beginning next »


Ask A Question



Related Links

Tomcat Forum

Jakarta Project

Tomcat Documentation

jGuru JSP FAQ

jGuru Servlet FAQ

Wish List
Features
About jGuru
Contact Us