Category Archives: Computers and other brainy stuff

Tomcat Server Configuration

Staying on the road with less difficulty, the requirements are basically as follows:

(1)  Requests for some web pages on our domain name ….. to be processed by the Java Tomcat server, and

(2)  The remaining pages to be processed by the Apache web server.

An easy way to think of the two is to have all the html pages processed by the Apache web server, and all other url requests to be processed  by programs written in the Java programming language and processed by the Tomcat web server.

For example:

               http://www.programmer.com.au/form —>  Form

That is, the web page “form” will then be processed by the Tomcat web server, and not Apache. 

Apache listens on port 80 for all new connections to our domain programmer.com.au ( and  the Tomcat server does not ) so we want Apache to pass on this request for “form” to the Tomcat Server ( which listens on port 8009 for such requests from Apache ).

Note: the firewall previously set up here, does not need changing to prevent access to port 8009 from outside the server, as the default for new connection from outside is to deny them.

The 8080 port number used to access the manger for the Tomcat server is another matter, which is explained below.

Continue reading

© 2017, James Harry Burton. All rights reserved.