207 A Block, Lake Point Towers, LPT Avenue Road, Bengaluru 560068

Tomcat Deploy Web App takes long time

Observed that deployment of WAR files was taking a long time. On searching for info came to know it could be because of the bug http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4705093 The solution was to add the following line in $CATALINA_HOME/bin/setenv.sh file (create one if it is not there) [ java.awt.headless is not associated with the issue] export JAVA_OPTS=”$JAVA_OPTS -Djava.security.egd=file:/dev/./urandom […]

Read More »

Configure Reverse Proxy – CentOS 7 – httpd

By default mod_proxy is included in http package. Had created a new VM – So installing httpd yum clean all yum -y update yum -y install httpd firewall-cmd –permanent –add-port=80/tcp firewall-cmd –permanent –add-port=8080/tcp systemctl start httpd systemctl enable httpd systemctl status httpd Configure the proxy/reverse proxy. Create new config file <os-prompt># vi /etc/httpd/conf.d/r_proxy.conf <IfModule mod_proxy.c> […]

Read More »