http://tomcat.apache.org/tomcat-4.1-doc/manager-howto.html#List%20OS%20and%20JVM%20Properties
You need to add a username/password combination and associate the role name manager with it, or add the manager role to some existing username/password combination.
Alternatively check the JAVA_HOME environment variable