First, the cause of this problem: When using AJP, this problem is caused by a request coming from the httpd (apache) server to tomcat, but the apache server is stopped from listening for the response from the tomcat server. Usually Read More …
Category: Tomcat
Shell Script to check tomcat status and restart
Shell Script to check tomcat status and restart The below script checks the status of a particular tomcat status and restarts it if the tomcat does not respond…. TOMCAT_HOME=/usr/local/tomcat-folder/ is_Running () { Read More …
make tomcat as Linux service
vi /etc/init.d/tomcat ================================================================================ #!/bin/bash # This is the init script for starting up the # Jakarta Tomcat server # # chkconfig: 345 91 10 # description: Starts and stops the Tomcat daemon. # # Source function library. . /etc/rc.d/init.d/functions # Read More …
Tomcat Install in Linux
Introduction This article discusses how to install Apache Tomcat 6.0 (6.0.18) on 64-bit Debian Linux 4.0. Additionally it shows how to setup multiple Tomcat JVM instances on a single Linux server. For each Tomcat JVM instance a web application and Read More …
Install apche with enable mod proxy
tar -zxvf httpd-2.2.25.tar.gz rm -fr httpd-2.2.25/ ./configure –prefix=/usr/local/apache2 \ –with-mpm=worker \ –enable-mods-shared=most \ –enable-maintainer-mode \ –with-expat=builtin \ –enable-ssl \ –enable-proxy \ –enable-proxy-http \ –enable-proxy-ajp ——————————————— ./configure –prefix=apache_installation_directory \ –with-mpm=worker \ –enable-mods-shared=most \ –enable-maintainer-mode \ –with-expat=builtin \ –enable-ssl \ –enable-proxy \ Read More …
Configure Apache to load mod_jk
Configure Apache to load mod_jk Modify APACHE_HOME/conf/httpd.conf and add a single line at the end of the file: # Include mod_jk’s specific configuration file Include conf/mod-jk.conf Next, create a new file named APACHE_HOME/conf/mod-jk.conf: # Load mod_jk module # Specify the filename Read More …
Virtual Host + Apache httpd server + Tomcat + mod_jk connector
Virtual Host + Apache httpd server + Tomcat + mod_jk connector In my last post (Virtual Host in Tomcat) we discussed about how setup the virtual host in Tomcat. Its cost effective technique because only one public IP is enough Read More …
How to install Apache, Java, Tomcat and Solr
How to install Apache, Java, Tomcat and Solr Here is the procedure to install Apache, Tomcat, Java and Solr: First of all we need Apache in our box: Download the Apache source. tar -zxvf httpd-2.2.24.tar.gz cd httpd-2.2.24 ./configure –enable-so –enable-expires Read More …