Apache + Tomcat - Mod_JK using Loadbalancer to setup clustering
Joined: May 24, 2011
I've read a lot of documentation, I've spent many hours studying this, but I can't even do the basic: when I go to localhost/examples apache should redirect to localhost:8080/examples but that simply not working.
(what is the 8443 port? I tried 80 and 8080 but dont work too)
I place the distributed tag at web.xml.
So I did this by the book but it's not working. My problem is, when I go localhost/examples page is "not found". It should be found as I place localhost:8080/examples, but Apache it's not doing his job for some reason.
Anyone can please help? I get no errors and empty logs, so I have not a clue about what's happening.
EDIT: A very strange this is, if I place workers.properties on conf.d/ I get on of those errors invalid command 'worker.list=worker1', perhaps misspelled or defined by a module not included in the server configuration. Yes I updated the location on apache2.conf. I dont know if it's related.
In Ubuntu, it's not a bad idea to create a separate conf file for things like your connector definitions. That way they can be switched on and off by moving them from the deployed apps directory to the undeployed apps directory and back. Plus it keeps the main conf file from getting big and confusing as you manage more and more products.
Port 8443 is the SSL traffic port corresponding to Apache's port 443. Port 8009 is the AJP connector, and the directive you referenced is merely telling Tomcat to look for encrypted traffic on 8443.
Customer surveys are for companies who didn't pay proper attention to begin with.