While loading an application I am getting warning "Unable to read image at <URL>. Can't create an ImageInputStream!"

Description

While accessing large amount of GIS, I am getting warning "Unable to read image at <URL>. Can't create an ImageInputStream!".

This seems to be known issue due to use of Java Class(i.e. Image IO and IIORegistry), because IIORegistry doesn't by default work well with servlet contexts. Reference:
https://stackoverflow.com/questions/55004449/javax-imageio-iioexception-cant-create-an-imageinputstream-in-tomcat-9-openjd

Below logs are created while loading heavy application:

  • WARN [renderer.style] - Unable to read image at <URL> : Can't create an ImageInputStream!

Environment

・Geoserver(2.15.0)
・Tomcat(8.5.14)
・Apache2(2.4.25)
・openjdk-8-jre(8u212)

Status

Assignee

Unassigned

Reporter

Sakshi Sharma

Triage

None

Fix versions

None

Affects versions

None

Priority

Medium
Configure