added env setup configuration for tomcat.