Every time I want to share a library with all Tomcat6 applications on Ubuntu 8.10+ stick the library in : /usr/share/tomcat6/lib
For instance I am using this library: /usr/share/tomcat6/lib/RXTXcomm.jar -> /usr/share/java/RXTXcomm.jar
For some reason, when I stick the library in /var/lib/tomcat6/lib has no include value. And if you stick the libraries in both it can create a problem, especially with RXTXcomm. So whats the deal, do both directories include, and what order, and does that matter?
I have been frustrated with the fact there are two locations to stick libraries for tomcat. I'll have to find why later. Not enough time to discover why now.