I added this and one change I notice is when apache is restarted, jboss also drops all 8009 connections which was not happening earlier.
However on apache, all the established connections get into closed_wait state and never released. This forces apache to be restarted often. Do we have a permanent fix for this from jboss.