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
Where can I learn (more) about Java JSP (JavaServer Pages)?
Check out the jGuru JSP FAQ.
Where can I learn (more) about Java's EJB (Enterprise JavaBeans)?
Check out the jGuru EJB FAQ.
Where can I learn (more) about Application Servers?
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
Is it possible to restrict access to particular web application with Tomcat?
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
How the catalina.home and catalina.base system properties are used?
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.
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
How to change the location of TOMCAT_HOME/webapps on Tomcat 4.1.x?
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?
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
Is possible from a servlet to know the absolute path in which Tomcat 4.1 is installed
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
How to log or view the pages being accessed by the user in Tomcat.
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
What's the difference between Tomcat 4.1.x and Tomcat 4.1.X-LE-jdk1.4???
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