Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How can I use Tomcat’s built-in web server?

share|improve this question
    
what are you trying to build? –  Eric H Nov 1 '09 at 12:05

2 Answers 2

If you are trying to access the tomcat server without using Apache, you need to do a couple of things:

  1. Enable the regular http connector (usually listening on port 8080) in the server.xml configuration file. The setting should already be present, but is usually commented out. Uncomment it.
  2. Restart Tomcat.
  3. Point your web-browser to "http://servername:8080/"

That should do the trick.

share|improve this answer

The question is confusing, but I'm assuming you want to serve up tomcat pages with apache, as both services are made by the apache group.

Here are two resources at apache on how to do this:

http://wiki.apache.org/tomcat/FAQ/Connectors

http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html

Here is a guide at Ubuntu forms which will help if you are using Debian or Ubuntu:

http://ubuntuforums.org/showthread.php?t=420034&highlight=tomcat

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.