Friday, 27 September 2013

How to Apache Tomcat Intigration with mod_jk on Linux/Centos

httpd-devel (provides /usr/sbin/apxs )
apr-devel (provides the appropriate include files)
apr (required by apr-devel)
apr-util-devel (required by httpd-devel)
apr-util (required by apr-util)

#yum install httpd-devel apr-devel apr apr-util-devel apr-util
#cd /opt/

Download connector:
 http://www.apache.org/dist/tomcat/tomcat-connectors/jk/tomcat-connectors-1.2.37-src.tar.gz
#tar -zxvf tomcat-connectors-1.2.37-src.tar.gz
#cd tomcat-connectors-1.2.37-src/native/
#which apxs (if not getting any output please install gcc)

#yum install gcc gcc-cpp gcc-c++
#which apxs
/usr/sbin/apxs
#./configure --with-apxs=/usr/sbin/apxs --enable-api-compatibility
#find / -name mod_jk.so  (if you got mod_jk.so , it's fine)
#make
#make install

Reset Grace Period of Windows Server 2012 RDS

Error: the remote session was disconnected because there are no remote desktop license servers available to provide license in aws Solu...