support env for tomcat