
I use mod_jk now and its no big hassle installing plus there are many people already using it out there for long with setup similar to yours
I didn't say there is anything wrong with that. Actually if I find it deployed, I wouldn't pull it out. That said, if its a new deployment, I wouldn't consider it. For one, its more work, you already have a solution installed along with apache2. The other reason is maintenance. Apache people have said they no longer support it. Sure lots of people are still using it but those are old deployments. Would you go about installing Windows XP though 30% of Windows installed base is on XP?
On Sun, Jan 19, 2014 at 1:12 AM, William Muriithi < william.muriithi@gmail.com> wrote:
Use mod_jk
FYI
In my humble opinion, its better not to use mod_jk. It was only good for apache 1 and no longer maintained. If you try, you will quickly realize you got to install from source, a bad idea in production system.
Use mod_ajp, it come installed by default if you already have Apache installed.
You need to enable proxy by uncommenting 5 lines somewhere near the
bottom
of http.conf. Remember to disable forward proxy else you become an open relay.
You need to add 2 lines, starting with ajp and point them to tomcat by mapping it to the domain tomcat is servicing. By default, Apache will handle anything else that's not proxied through ajp
Sorry on phone so don't have necessary lines to post for you
On Sat, Jan 18, 2014 at 9:40 PM, Brian Ngure <brian@pixie.co.ke> wrote:
This should give you some ideas
http://www.pixie.co.ke/blog/permalink/installing-jk-connector-for-tomcat-6-w...
On Sat, Jan 18, 2014 at 9:30 PM, harry amwayi <harryamwayi@gmail.com
wrote:
hi techies I have two applications one runs on Apache2 and the other on
tomcat.
Is it possible to make the application running on tomcat6 accessible without necessarlily having to specify the port number without affecting the other application that running on Apache2?
-- Kind Regards Harry Amwayi
William _______________________________________