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 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: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Installing Java Advanced Imaging In Tomcat.

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

Any help is appreciated
-deech

[1] http://java.sun.com/javase/technologies/desktop/media/jai/

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org