Now i found the error, i changed my system environment variable from 'JAVA_HOME' to 'JAVA_HOME2'. Catalina file defaults to JAVA_HOME and it can't start tomcat normally where the program was deployed because it needs either jdk or jre.