Re: [digilib-devel] jpeg 2000
A versatile image viewing environment for the internet
Brought to you by:
robcast
|
From: Robert C. <ca...@mp...> - 2018-12-17 13:41:37
|
Hello Hans,
On 17.12.18 12:02, Scholte, Hans wrote:
> trying it in Jetty isn't an option. We are using Tomcat and that's it :-{
I just installed the latest Tomcat 9 from <https://tomcat.apache.org> on
two servers running Ubuntu 16.04 and OpenJDK 8 yesterday and it worked
fine to just checkout the source, run mvn package and copy the resulting
files into the Tomcat's webapp directory.
Are you using a stock Tomcat from apache.org or the Debian/Ubuntu version?
> I'm getting the following error in catalina.out:
>
> 2018-12-17 11:38:09,051 [ajp-bio-8009-exec-144] ERROR - ImageLoaderDocuimage unable to identify: digilib.io.FileOpException: Can't find Reader to load File!
> 2018-12-17 11:38:09,051 [ajp-bio-8009-exec-144] ERROR - class digilib.io.FileOpException: Can't get size from hires image file!
That's digilib's message that it doesn't have the right codec. I was
thinking more about Tomcat's warning about its "leak prevention".
> I placed the jai-imageio-* in the lib directory of tomcat but appently without any relief :-{
Hmm, that is really strange.
Can you try to run digilib in Maven with "mvn jetty:run-exploded
--projects webapp" as documented in the Readme on
<https://github.com/robcast/digilib>?
Best
Robert
> ________________________________
> Van: Robert Casties <ca...@mp...>
> Verzonden: zaterdag 15 december 2018 15:37:15
> Aan: Scholte, Hans; dig...@li...
> Onderwerp: Re: [digilib-devel] jpeg 2000
>
> Dear Hans,
>
> On 15.12.18 13:43, Scholte, Hans wrote:
>> The TIFF codec is not listed in the configuraton (see below). n both
>> machines I have the same tomcat version ans same JVM.
>>
>> Still possible that tomcat isn't loading the ImageIO-plugins?
>
> Your list of codecs looks like the additional jai-imageio plugins were
> not loaded. Can you try to copy the jai-imageio-* JARs into the Tomcat's
> /lib/ directory and also check the messages that Tomcat produces to see
> if there are any messages about resources not being loaded or resource
> leaks being prevented?
>
> I haven't had this issue of codecs not loading in a while. Which version
> of Tomcat are you using? Is it the default install from
> https://tomcat.apache.org or something else? Can you try to use Jetty
> (https://www.eclipse.org/jetty/) to see if the problem persists?
>
> Best
> Robert
>
>> DocuImage configuration
>>
>> Supported image types
>>
>> * JPG
>> * jpg
>> * bmp
>> * BMP
>> * gif
>> * GIF
>> * WBMP
>> * png
>> * PNG
>> * jpeg
>> * wbmp
>>
>
> --
> Dr. Robert Casties -- Information Technology Group
> Max Planck Institute for the History of Science
> Boltzmannstr. 22, D-14195 Berlin
> Tel: +49/30/22667-342
>
>
--
Dr. Robert Casties -- Information Technology Group
Max Planck Institute for the History of Science
Boltzmannstr. 22, D-14195 Berlin
Tel: +49/30/22667-342 Fax: -299
|