New function for canl-java-tomcat