set a environment variable tomcat_home= d:\tomcat4.1you need not CATALINA_HOME. it can be set automatically.