Tomcat Section Index
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.
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 directo...more
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 (<Engine>, <Host> or <Context&...more
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 you wanna use. You can choose different ty...more
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 times, and not wasting disk space. The first...more
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 it was possible to run some specific classes...more
Tomcat 4.x and /servlet/ mapping.
That is explained in the Server Configuration Reference - The Host Container official documentation page. Just change the appBase attribute of the <Host/> tag, according to this: appBase Th...more
Why Are The Tomcat 4.1.24 MBean Server And Admin Tool Not Available? (Bootstrap: Service started javax.servlet.UnavailableException: MBeanServer is not available)
Additional Info When this problem occurs, the following exception shows up in the logs on startup: Bootstrap: Service started javax.servlet.UnavailableException: MBeanServer is not availa...more
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 application...more
How to protect directories with a password in Tomcat? is there any .htaccess-like way to achieve this?
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. Please always read the documentation. However...more
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 Configuration HOW-TO documentation pages. Then, ...more
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 addition to other information, are passed to T...more
Is it possible to install multiple instances of Tomcat on one server to create a development, test and production version?
Additional info: I am trying to create a seperate development, test and production environment on one windows NT-server. To ensure that each environment is completely seperated from all others, I ...more
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 be considered as a server-level version of Ser...more
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.