I wanted to pass along a couple bugs related to integrating with Tomcat.
First, the lines inserted at the top should be inserted AFTER the "#/bin/sh" line. I call the startup script from within a csh script so this causes problems.
Second, the setting of JAVA_OPTS should be quoted so that if JAVA_OPTS is previously set, it will work. Like this: