On the above web page, the documentation states: The file $CATALINA_HOME/bin/jsvc/native/tomcat.sh can be used as a template for starting Tomcat automatically at boot time from /etc/init.d. The file is currently setup for running Tomcat 4.1.x, so it is necessary to edit it and change the classname from BootstrapService to Bootstrap. First off, $CATALINA_HOME/bin/jsvc is a file, not a directory. Nowhere in $CATALINA_HOME, does a tomcat.sh file exist; it isn't in the tar file.
I see a tomcat.sh in the jsvc.tar.gz file: it's under the native subdirectory, as the instructions suggest. And if you copy the files created when making jsvc under a directory with that name, jsvc is a directory in addition to a file.
(In reply to comment #1) > I see a tomcat.sh in the jsvc.tar.gz file: it's under the native subdirectory, > as the instructions suggest. And if you copy the files created when making jsvc > under a directory with that name, jsvc is a directory in addition to a file. It can't be both in the same place. The web page is *STILL* wrong. It's the next to the last paragraph.
It CAN be in two places: first it's in the tar.gz file, then it's wherever you expand the tar.gz file. But let's try this: please provide the text you'd like to see on the setup documentation page. I'll be glad to apply any clarifications or further explanations on the documentation that make you happy.
The docs make sense to me but I am also sure they could be improved. To re-iterate Yoav's comments, if you would like to provide some alternative words we would be happy to consider them. Marking as an ehancement.
This page was updated when the commons-daemon packaging was updated.