22 July 2015
httpd 2.4.16 VC14 build with
Visual Sudio 2015 RTM
Do not forget to install
the new C++ Redistributable
Keep Server Online|
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Apache Lounge is not sponsored by anyone.
Your donations will help to keep this site alive and well, and continuing the building of the binaries.
Joined: 15 Nov 2013
Location: Estonia, Tartu
|Posted: Thu 03 Apr '14 12:29 Post subject: mod_jk setup with Tomcat 7 freezes and 502
A rather complicated tomcat java webapp freezes ~3 times a week. The application itself installed and configured tomcat, but apache and mod_jk I installed myself.
Freeze = main page does not load and nothing is written into catalina.out about it (loglevel warn). And going directly though aadress:8080/appmain is also "frozen". Not sure if this is caused by mod_jk somehow, so I would need to know if my setup is correct in that part. Can this tomcat freeze be caused by apache or mod_jk at all?
If this cannot be caused by my apache, mod_jk setup I need to contact the software-s support.
Oracle JDK 1.7.051
tomcat 7.0.33 preconfigured by the application
mod_jk version 1.2.39
The application is meant to be accessed though apache-s SSL for certificate information ( SSLOptions +ExportCertData). https://aadress/appmain
And aliases like Alias /app_html/ "/opt/app/appname/app_html/"
SSL.conf contains Certificate handling and some RewriteCond-s for ending session.
LoadModule jk_module /etc/httpd/modules/mod_jk.so
JkRequestLogFormat "%w %V %T"
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkMount /appmain ajp13
JkMount /appmain/* ajp13
Adding to mod_jk advanced options like keepalives, retries, JkShmFile, +DisableReuse and enabling apache-s keepalive caused 502 bad gateway errors showing up.
Is there something wrong is this setup, that could cause a tomcat freeze or 502 bad gateway errors?
Thank you in advance!