On 23/04/2010 22:09, aditya siram wrote: > I just uninstalled JAI and my stand-alone app could not find a > suitable image reader. I put the jars back in and the problem goes > away. > > BTW thanks for getting back to me so quick!
So are you relying on specific classes from the JAI jars? Are equivalents not available in the JDK itself? p > -deech > > On 4/23/10, Pid <[email protected]> wrote: >> On 23/04/2010 21:53, aditya siram wrote: >>> 1.6.0_15. >> >> Isn't JAI/IIO part of that JDK now? >> I don't think you need to add the older jars do you? >> >> >> p >> >>> I originally started off without anything in the WEB-INF/lib file >>> because I thought my original install in JAVA_HOME would be found. >>> >>> -deech >>> >>> On 4/23/10, Pid <[email protected]> wrote: >>>> On 23/04/2010 21:31, aditya siram wrote: >>>>> Hi all, >>>>> I am having issues using jai [1] with a Tomcat webapp. I am running >>>>> the tomcat6 package installed from the Ubuntu repos. >>>>> >>>>> The webapp does some image decompression and is unable to detect >>>>> CLibJpegImageReader which is a class in the jai_imageio.jar. >>>>> >>>>> I have copied this jar file to my WEB-INF/lib directory and also to >>>>> /var/lib/tomcat6/lib and /usr/share/tomcat6/lib hoping that it would >>>>> work from one of these locations. Additionally it is in my >>>>> JAVA_HOME/jre/lib/ext directory so it should be available after the >>>>> bootstrap phase. >>>>> >>>>> I know that JAI is installed correctly because a stand-alone app is >>>>> able to access the required class. >>>> >>>> The jar should only be present in one location at any given time, >>>> multiple locations will almost certainly produce unexpected conditions. >>>> >>>> Which version of Java are you using? >>>> >>>> >>>> p >>>> >>>>> [1] http://java.sun.com/javase/technologies/desktop/media/jai/ >>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>> >>>> >>>> >> >> >>
signature.asc
Description: OpenPGP digital signature
