Replacing property reference from web.xml with context listener.

Using property reference in web.xml is apparently not standard and only supported by Tomcat. This change should make the teConfigFile property supported on other containers.