Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 84158 invoked from network); 29 Jul 2003 18:07:55 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 29 Jul 2003 18:07:55 -0000 Received: (qmail 12369 invoked by uid 97); 29 Jul 2003 18:10:33 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 12361 invoked from network); 29 Jul 2003 18:10:33 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 29 Jul 2003 18:10:33 -0000 Received: (qmail 82654 invoked by uid 500); 29 Jul 2003 18:07:33 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 82641 invoked from network); 29 Jul 2003 18:07:32 -0000 Received: from web80601.mail.yahoo.com (66.218.79.90) by daedalus.apache.org with SMTP; 29 Jul 2003 18:07:32 -0000 Message-ID: <20030729180736.57609.qmail@web80601.mail.yahoo.com> Received: from [80.58.0.235] by web80601.mail.yahoo.com via HTTP; Tue, 29 Jul 2003 19:07:36 BST Date: Tue, 29 Jul 2003 19:07:36 +0100 (BST) From: =?iso-8859-1?q?Ivan=20Montoro?= Subject: RE: Using Sun JAI with Tomcat To: Tomcat Users List In-Reply-To: <9C5166762F311146951505C6790A9CF8A6E907@US-VS1.corp.mpi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DLL's (.dll/.so files) should be placed somewhere OS can find them, either via "/etc/ld.so.conf" (making a ldconfig) or in a directory listed in LD_LIBRARY_PATH variable (as I'm doing in my custom start_tomcat.sh script, that is actualy a wrapper of startup.sh) If I put everything in TOMCAT_HOME/shared/lib/ and set LD_LIBRARY_PATH to that directory, Tomcat do render the JPEG/GIF images I'm doing... But the problem is when I change that directory to somewhere else, as TOMCAT_HOME/shared/lib/sun.jai-1.1.2-linux-i386/lib/ Yes, I could be smart and leave everything in the same directory, but our app do use lots of external jars (ororegexp, jdbc from 5 different vendors, etc), and I would like to leave shared/lib/ as clean as possible to track versioning of those jar files. --- "Shapira, Yoav" wrote: > > Howdy, > Don't DLLs usually end in .dll, rather than .jar? > So they won't get > loaded even if you put them in shared/lib (or any of > tomcat's other lib > directories), as tomcat only looks for .jar files. > > Yoav Shapira > Millennium ChemInformatics > > > >-----Original Message----- > >From: Ivan Montoro [mailto:epi4029@yahoo.co.uk] > >Sent: Tuesday, July 29, 2003 1:44 PM > >To: tomcat-user@jakarta.apache.org > >Subject: Using Sun JAI with Tomcat > > > >Hi everybody, > > > >I've read tons of questions about CLASSPATH and > >CATALINA_OPTS ways to add classes to Tomcat's env > and > >why this should be avoided. Our app requires some > >graphics manipulation, and I've read good comments > >about Sun's "Java Advanced Imaging API". > > > >This is one of the trickiest packages I've ever > seen, > >as it does not require X to be installed and > running > >in order to make awt manipulations, but it uses > some > >DLL/SO files for Solaris (sparc/i386), Linux and > >Windows. DLL's in Unix platforms have the same > name, > >so I cannot just put both them in the same > directory > >(say CATALINA_HOME/shared/lib/) > > > >So I would rather prefer to have both versions in > >different subdirectories and append one or another > to > >classpath/classloader depending on `uname -o/i/p`. > Say > >CATALINA_HOME/shared/lib/sun.jai-1.1.2--/lib/ > > > >How do I do that? I'm in the correct path? Does > >anybody know why multiplatform is broken with this > >library? Any suggestions on my "start_tomcat.sh" > >script parameters will be realy appreciated. > > > >By now I've set "-Xbootclasspath/a:/path/to/jai/" > and > >"LD_LIBRARY_PATH=/path/to/jai/" (both exported), > but > >it doesn't work... > > > >Thanks!! > > > >Ivan > > > >_______________________________________________________________________ > _ > >Want to chat instantly with your online friends? > Get the FREE Yahoo! > >Messenger http://uk.messenger.yahoo.com/ > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > >For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > > > > > This e-mail, including any attachments, is a > confidential business communication, and may contain > information that is confidential, proprietary and/or > privileged. This e-mail is intended only for the > individual(s) to whom it is addressed, and may not > be saved, copied, printed, disclosed or used by > anyone else. If you are not the(an) intended > recipient, please immediately delete this e-mail > from your computer system and notify the sender. > Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > tomcat-user-help@jakarta.apache.org > ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org