On Thu, Mar 10, 2011 at 6:52 PM, John Poole <[email protected]> wrote: > I'm trying to create a GridCoverage2D from a jp2 file using > JP2KReader, but it fails with "org.geotools.data.DataSourceException: > No reader found for that source" > when it returns a FileImageInputStream instead of a > FileImageInputStreamExt from -> > ImageIO.createImageInputStream(inputFile) in the JP2KReader > constructor. > > The code works from local maven tests, but has that failure when it's > run in jboss 6.0.0. I thought a jar must not be getting deployed to > jboss, but then I also read something about new memory > leak code "deregistering" some imageio plugins.
Here we have a workaround for Tomcat, not sure what would the equivalent be for JBoss though: http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
