Re: Installing Java Advanced Imaging In Tomcat.

2010-04-26 Thread Thad Humphries
That was me, but I had a different problem. (1) I was running Tomcat 6.0.26; and (2) my servlet could find the classes, but the Iterator returned by ImageIO. getImageReadersByFormatName("tiff") returned false for hasNext(). On Mon, Apr 26, 2010 at 6:49 PM, Stephen Souness wrote: > ... > > I thi

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-26 Thread Stephen Souness
aditya siram gmail.com> writes: > > 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_imagei

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Deech, On 4/23/2010 4:31 PM, aditya siram wrote: > I know that JAI is installed correctly because a stand-alone app is > able to access the required class. Good. You didn't mention your platform, and so a missing native library could have been the pr

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-23 Thread Thad Humphries
I agree with Pidster--remove the other JAI jars. I use JAI and JAI ImageIO in my application. I have three JAI jar files in my WEB-INF/lib directory: jai_codec.jar, jai_core.jar, and jai_imageio.jar If you need JAI in $JAVA_HOME, I recommend you install a second copy of the JDK without JAI, and

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-23 Thread Pid
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 equi

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-23 Thread aditya siram
1.6.0_15. 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 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 runn

Re: Installing Java Advanced Imaging In Tomcat.

2010-04-23 Thread Pid
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_im