I am struggling to have Tomcat load the additional .so file. I have a few files such as "librxtxSerial.so" I want Tomcat to locate. I copied all the .so files to /usr/java/j2sdk1.4.2_06/jre/lib/i386. Java classes run from the command are fine, but the servlet returns:
javax.servlet.ServletException: librxtxSerial: librxtxSerial.so: cannot open shared object file: No such file or directory