tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Using Sun JAI with Tomcat
Date Tue, 29 Jul 2003 17:58:40 GMT

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 []
>Sent: Tuesday, July 29, 2003 1:44 PM
>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
>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 ""
>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...
>Want to chat instantly with your online friends?  Get the FREE Yahoo!
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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:
For additional commands, e-mail:

View raw message