Not sure if this is just news to me, or just a rare situation. I have been testing GeoWebCache standalone (I know right) alongside GeoServer in Tomcat 7 / Java 7.
And the result does not quite function (with deep scary messages coming out of grid coverage code). Result of a debug run with Kevin shows that image formats are being picked up twice, once from geoserver and once from geowebcache - since both have been registered with SPI they can manage to trip on each other.
As a temporary measure I can move the common libraries out to the tomcat lib folder (like we do with JDBC drivers). Or I guess for JAI and ImageIO move them out the the jre/ext ).
I guess long term I could take a fix over to GeoTools that checked classloaders.
Apparently I am mistaken, issue is showing up in Jetty (not tomcat7) which makes a fair bit more sense since Jetty is a bit more lax about classloader separation. In particular it tries to automatically recognise system classes such as “javax”.
Not sure if this is just news to me, or just a rare situation. I have been testing GeoWebCache standalone (I know right) alongside GeoServer in Tomcat 7 / Java 7.
And the result does not quite function (with deep scary messages coming out of grid coverage code). Result of a debug run with Kevin shows that image formats are being picked up twice, once from geoserver and once from geowebcache - since both have been registered with SPI they can manage to trip on each other.
As a temporary measure I can move the common libraries out to the tomcat lib folder (like we do with JDBC drivers). Or I guess for JAI and ImageIO move them out the the jre/ext ).
I guess long term I could take a fix over to GeoTools that checked classloaders.
Apparently I am mistaken, issue is showing up in Jetty (not tomcat7) which makes a fair bit more sense since Jetty is a bit more lax about classloader separation. In particular it tries to automatically recognise system classes such as “javax”.
Not sure if this is just news to me, or just a rare situation. I have been testing GeoWebCache standalone (I know right) alongside GeoServer in Tomcat 7 / Java 7.
And the result does not quite function (with deep scary messages coming out of grid coverage code). Result of a debug run with Kevin shows that image formats are being picked up twice, once from geoserver and once from geowebcache - since both have been registered with SPI they can manage to trip on each other.
As a temporary measure I can move the common libraries out to the tomcat lib folder (like we do with JDBC drivers). Or I guess for JAI and ImageIO move them out the the jre/ext ).
I guess long term I could take a fix over to GeoTools that checked classloaders.
Jody
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Apparently I am mistaken, issue is showing up in Jetty (not tomcat7) which makes a fair bit more sense since Jetty is a bit more lax about classloader separation. In particular it tries to automatically recognise system classes such as “javax”.
Not sure if this is just news to me, or just a rare situation. I have been testing GeoWebCache standalone (I know right) alongside GeoServer in Tomcat 7 / Java 7.
And the result does not quite function (with deep scary messages coming out of grid coverage code). Result of a debug run with Kevin shows that image formats are being picked up twice, once from geoserver and once from geowebcache - since both have been registered with SPI they can manage to trip on each other.
As a temporary measure I can move the common libraries out to the tomcat lib folder (like we do with JDBC drivers). Or I guess for JAI and ImageIO move them out the the jre/ext ).
I guess long term I could take a fix over to GeoTools that checked classloaders.
Jody
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk