Two Laptop Bag
The moose likes Servlets and the fly likes Tomcat Configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat Configuration" Watch "Tomcat Configuration" New topic

Tomcat Configuration

Anoop Krishnan
Ranch Hand

Joined: May 03, 2001
Posts: 163
I am using Tomcat on Linux
and when i tried to add a new context(I have already 3 context working properly) to the tomcat it is not accepted
i have made the following entry to the /TOMCAT_ROOT/conf/server.xml file
<Context path="/watchlisttest"
reloadable="true" >
but the http request to http://myipaddress/watchlisttest/index.html is failed(THIS TOMCAT IS MADE AS A CONTAINER TO AN APACHE WEBSERVER )


I just want to know is there any body call my bean's Getter and Setter methods with "Please" in front - My favorite quip from Bugzilla
Mark Simms
Ranch Hand

Joined: Jul 20, 2000
Posts: 36
Be sure you have configured Apache's HTTP.CONF file...and see instructions below (from the Tomcat docs):

This most likely means that Tomcat is trying to use a port that is already being used by someone else - usually Apache or another instance of Tomcat. By default, Tomcat's comes configured to run an HTTP server on port 8080. If you examine the supplied server.xml file, you'll see the following element:
<!-- Normal HTTP -->
<Connector className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler"
<Parameter name="port"
To disable this, just comment out the entire <Connector> element. Otherwise, just change it to a port that doesn't conflict with Apache. If you're not going to use the Tomcat HTTP server, and you probably won't be if you are reading this document, disable it.
If you're running Apache / JServ, JServ may be clashing with Tomcat on port 8007

Raghvendra Sharma
Ranch Hand

Joined: Oct 09, 2000
Posts: 82
If you are able to do it for three contexts there can't be any problem
just be sure for once again that you have not missed anything.
By the way what does the error message say.

I agree. Here's the link:
subject: Tomcat Configuration
It's not a secret anymore!