File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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"
docBase="webapps/watchlisttest"
crossContext="false"
debug="0"
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"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="port"
value="8080"/>
</Connector>
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

Mark
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: http://aspose.com/file-tools
 
subject: Tomcat Configuration
 
Similar Threads
pages cannot be seen by computer on same network
How to map a Tomcat context to Apache
How to invoke JSP over the web ??
[SOLVEDkindof]i'm hosting, now how do i access over internet from non-local computer?
cant access my application