For the sake of this how-to, assume you have a development host with two host names, ren and stimpy. Let’s also assume one instance of Tomcat running, so $CATALINA_HOME refers to wherever it’s installed, perhaps/usr/local/tomcat.
Also, this how-to uses Unix-style path separators and commands; if you’re on Windows modify accordingly.