BLOG.TIGABEATS.COM

A shrine where thoughts, ideas and random stuff is preserved

Jboss

Spring 3.1 & JBoss 7.1 Serving static content

Although the static content should be served by the Webserver i will make another post for that, but during development for local testing purposes you might want to serve Static content from the Application server, Spring provides several options to achieve this, i am sharing one such option that i use most of the time. Make sure [...]

, , ,

How to fix “java.net.SocketException: Protocol family unavailable”

While working on a Spring MVC based web application for Jennet-IP network control, i came across the following exception. java.net.SocketException: Protocol family unavailable The cause of this exception is that the targeted system i am connecting to is IPV6 based and i am coming from a IPV4 stack, and my JVM falls to IPV4 by [...]

, , , ,

ATG: Tuning Apache + Tomcat

I did some tuning on Apache which vastly decreased response times. The tests show increase vast decrease in response. (see table below) which is due to the following improvements made effective by the tuning (Increased maxclients, KeepAlive on. KeepAliveTimeout etc): 1) Reusable connections to handle multiple requests from the same client, which in return causes [...]