Bradn Jones

Greenhorn
+ Follow
since Mar 24, 2017
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bradn Jones

Tim,

Thank you for your clarifications!  Yes that post on DO is mine.
7 years ago
Here are the logs based on your suggestion, it doesn't seem like there is an issue with port 8009 starting as line 36 of the catalina.out says this "Initializing ProtocolHandler ["ajp-nio-127.0.0.1-8009"]" but I'm not 100% sure:

Also, how do I ensure that the Apache-to-Tomcat tunnel on port 8009 uses IPv4.  I didn't see anything I could change in the server.xml connector config to specify IP Type??

Apologies, I'm new to configuring tomcat and this is a bit of a learning process for me.

Thanks much!

Localhost.log:


catalina.out after running systemctl restart tomcat as root




7 years ago
I'm following this guide to setup Tomcat 8 on Ubuntu Server 16.04 using Apache2's mod_jk module as a reverse proxy:

https://www.digitalocean.com/community/tutorials/how-to-encrypt-tomcat-8-connections-with-apache-or-nginx-on-ubuntu-16-04

Everything works until the last step, which is to change the HTTP and AJP Connectors in server.xml to only listen on localhost. Here's the change I made to the AJP Connector (added localhost in the address):



Before this change, typing https://myhostname takes me to the Tomcat administration page; after it, I get "503 Service Unavailable".

Here's the relevant portion of mod_jk.log

7 years ago