added way how to detect if something was wrong in a code, on a remote
shared tomcat without access to logs...