Tomcat Section Index | Page 3
Can Tomcat be accessed without a port? Currently I have to access Tomcat through my IP plus my port. I would like to be able to access it with just the IP. Would creating a VIP be a solution here?
Configuring tomcat to run on port 80, that is the default port for web (HTTP)service, you can just specify the hostname in the url address of your browser. To configure in tomcat the port you hav...more
Check out the jGuru JSP FAQ.
Check out the jGuru EJB FAQ.
Check out the jGuru AppServer FAQ.
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
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
Tomcat 4.x and /servlet/ mapping.
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
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
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
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
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
How could I use NTLM Authentication to authenticate via Windows NT Authentication for a servlet based intranet-application ?
[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 reading the thread to mak...more
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 in two different packaging options: Standard: T...more