This patch modifies Oozie and Sqoop (the only Tomcat components that frequently require users to install SQL connectors, AFAIK) to build up BIGTOP_CLASSPATH, and if non-empty, to append it to Tomcat's classpath. This patch also adds a couple of suggestions from Mark Grover's review of
BIGTOP-939 - mainly changing the use of "default" and "secure" in Oozie's configuration names to "http" and "https". I'm open to other suggestions if we don't like these names, I just personally didn't think it sounded comforting to the user the the default would be "non-secure".
I also noticed while testing these changes, that
BIGTOP-939 caused some problems when Oozie was installed and removed repeatedly (or upgraded). I was creating some symlinks post-install, but moved them to be part of the package contents directly. This appears to work well on openSUSE 12.3, RHEL 6, and Ubuntu Lucid - although I'm a tad hesitant because I know I've had problems with including absolute symlinks in packages before if the file they pointed to wasn't installed on the build system. I was a little surprised this worked. Anyone know more? Are we doing something to force package builds to allow this?