Ciao Earl, please, find my answer inline below...
Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- On Sat, Mar 1, 2014 at 8:17 PM, <ebarker...@cox.net> wrote: > Trying to create the Image Mosaic store from scratch. Getting this error > trying to connect to the > > Caused by: java.lang.IllegalArgumentException: java.io.IOException: Cannot > find JNDI data source: java:comp/env/jdbc/postgres > at > org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.<init>(GTDataStoreGranuleCatalog.java:194) > at > org.geotools.gce.imagemosaic.catalog.GranuleCatalogFactory.createGranuleCatalog(GranuleCatalogFactory.java:68) > at > org.geotools.gce.imagemosaic.CatalogManager.createGranuleCatalogFromDatastore(CatalogManager.java:163) It looks like you are trying to access a JNDI connection pool which is not available. Try to create a datastore directly in the UI for GeoServer for that JNDI name to make sure is correct and double check the config in Tomcat (or whateevr the application server you are using is). That said, I would not explicitly force preparedStatements to true. Let us know how it goes. > > Three files in additional to the png and pgw files: > > datastore.properties : > > SPI=org.geotools.data.postgis.PostgisNGJNDIDataStoreFactory > jndiReferenceName=java:comp/env/jdbc/postgres > host=localhost > port 5432 > database=WxCasterData > schema=public > Loose\ bbox=true > Estimated\ extends=false > validate\ connections=true > Connection\ timeout=10 > preparedStatements=true > > indexer.properties: > > TimeAttribute=time > Schema=*geom:Polygon,location:String,time:java.util.Date, > PropertyCollectors=TimestampFileNameExtractorSPI[timeregex](ingestion) > > timeregex.properties: > > regex=[0-9]{8}T[0-9]{9}Z(\?!.\*[0-9]{8}T[0-9]{9}Z.\*) > > ---- ebarker...@cox.net wrote: >> Yes, pretty simple image, here is the content: >> >> >> 0.01 >> 0.0 >> 0.0 >> -0.01 >> -125.0 >> 50.0 >> ---- Daniele Romagnoli <daniele.romagn...@geo-solutions.it> wrote: >> > Hi, >> > Do you also have world files for those images? >> > >> > Daniele >> > >> > == >> > Our support, Your Success! Visit http://opensdi.geo-solutions.it for more >> > information. >> > == >> > Ing. Daniele Romagnoli >> > Senior Software Engineer >> > >> > GeoSolutions S.A.S. >> > Via Poggio alle Viti 1187 >> > 55054 Massarosa (LU) >> > Italy >> > phone: +39 0584 962313 >> > fax: +39 0584 1660272 >> > >> > http://www.geo-solutions.it >> > http://twitter.com/geosolutions_it >> > >> > ------------------------------------------------------- >> > >> > >> > On Mon, Feb 24, 2014 at 4:00 PM, <ebarker...@cox.net> wrote: >> > >> > > Sorry about that. >> > > >> > > There are X number of files (I haven't worked out the purging of the >> > > db, >> > > etc yet). The files are named with the date time. etc >> > > 20140222T200300Z.png >> > > >> > > I'll try the mosaic configuration using the mosaicking machinery. >> > > >> > > thanks. >> > > ---- Daniele Romagnoli <daniele.romagn...@geo-solutions.it> wrote: >> > > > Hi, >> > > > keeping the mailing list in the loop for future reference regarding >> > > similar >> > > > issues. >> > > > That property file will be automatically created by the mosaicking >> > > > machinery. >> > > > Could you retry the mosaic configuration without that file in the >> > > > folder? >> > > > Not sure to fully understand: do you have a single PNG file? >> > > > >> > > > Cheers, >> > > > Daniele >> > > > >> > > > == >> > > > Our support, Your Success! Visit http://opensdi.geo-solutions.it for >> > > more >> > > > information. >> > > > == >> > > > Ing. Daniele Romagnoli >> > > > Senior Software Engineer >> > > > >> > > > GeoSolutions S.A.S. >> > > > Via Poggio alle Viti 1187 >> > > > 55054 Massarosa (LU) >> > > > Italy >> > > > phone: +39 0584 962313 >> > > > fax: +39 0584 1660272 >> > > > >> > > > http://www.geo-solutions.it >> > > > http://twitter.com/geosolutions_it >> > > > >> > > > ------------------------------------------------------- >> > > > >> > > > >> > > > On Mon, Feb 24, 2014 at 3:26 PM, <ebarker...@cox.net> wrote: >> > > > >> > > > > Daniele, >> > > > > >> > > > > Thanks.. the image is a png, here is the >> > > > > RADAR_NATIONAL_BREF.properties file content: I created the file >> > > manually. >> > > > > >> > > > > Levels=0.01,0.01 >> > > > > Heterogeneous=false >> > > > > TimeAttribute=time >> > > > > AbsolutePath=false >> > > > > Name=RADAR_NATIONAL_BREF >> > > > > TypeName=RADAR_NATIONAL_BREF >> > > > > Caching=false >> > > > > ExpandToRGB=false >> > > > > LocationAttribute=location >> > > > > >> > > SuggestedSPI=com.sun.media.imageioimpl.plugins.png.CLibPNGImageReaderSpi >> > > > > LevelsNum=1 >> > > > > ---- Daniele Romagnoli <daniele.romagn...@geo-solutions.it> wrote: >> > > > > > Hi, >> > > > > > A couple of questions to gather some more info: >> > > > > > Which format of data are you mosaicking? >> > > > > > Could you please report the content of >> > > RADAR_NATIONAL_BREF.properties? >> > > > > > Does that file it have been automatically created on configuration >> > > or did >> > > > > > you set it by yourself? >> > > > > > >> > > > > > Please, let us know. >> > > > > > Best Regards, >> > > > > > Daniele >> > > > > > >> > > > > > == >> > > > > > Our support, Your Success! Visit http://opensdi.geo-solutions.it >> > > > > > for >> > > > > more >> > > > > > information. >> > > > > > == >> > > > > > Ing. Daniele Romagnoli >> > > > > > Senior Software Engineer >> > > > > > >> > > > > > GeoSolutions S.A.S. >> > > > > > Via Poggio alle Viti 1187 >> > > > > > 55054 Massarosa (LU) >> > > > > > Italy >> > > > > > phone: +39 0584 962313 >> > > > > > fax: +39 0584 1660272 >> > > > > > >> > > > > > http://www.geo-solutions.it >> > > > > > http://twitter.com/geosolutions_it >> > > > > > >> > > > > > ------------------------------------------------------- >> > > > > > >> > > > > > >> > > > > > On Sun, Feb 23, 2014 at 1:45 AM, <ebarker...@cox.net> wrote: >> > > > > > >> > > > > > > I'm trying to create a imagemosaic store of radar mosaics using >> > > > > postgres >> > > > > > > for feature info. I'm getting the below error when trying to >> > > > > > > save >> > > the >> > > > > > > store. I have a datastore.properties, >> > > RADAR_NATIONAL_BREF.properties >> > > > > files >> > > > > > > in the data directory. I created a layer from the failed store >> > > > > (allowed me >> > > > > > > to save but still had the error), the feature info (validtime, >> > > location >> > > > > > > (filename), region, type are all fine. Just no image. I saw a >> > > post in >> > > > > > > Sept 25 2013 similar but no resolution other than update for >> > > > > > > Linux >> > > > > (I'm on >> > > > > > > windows). I am running GeoServer 2.4.4. any help would be >> > > > > > > greatly >> > > > > > > appreciated. thanks. Below is the error message. >> > > > > > > >> > > > > > > Failed to create reader from >> > > > > > > file://e:\earl-web\radar\geoserver\RADAR_NATIONAL_BREF and hints >> > > Hints: >> > > > > > > FILTER_FACTORY = FilterFactoryImpl STYLE_FACTORY = >> > > > > > > StyleFactoryImpl >> > > > > > > FEATURE_FACTORY = >> > > > > >> > > org.geotools.feature.LenientFeatureFactoryImpl@1155013FORCE_AXIS_ORDER_HONORING= >> > > http FORCE_LONGITUDE_FIRST_AXIS_ORDER = true >> > > > > > > EXECUTOR_SERVICE = >> > > > > > > java.util.concurrent.ThreadPoolExecutor@1bb310f >> > > > > [Running, >> > > > > > > pool size = 0, active threads = 0, queued tasks = 0, completed >> > > tasks = >> > > > > 0] >> > > > > > > LENIENT_DATUM_SHIFT = true COMPARISON_TOLERANCE = 1.0E-9 >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > >> > > ------------------------------------------------------------------------------ >> > > > > > > Managing the Performance of Cloud-Based Applications >> > > > > > > Take advantage of what the Cloud has to offer - Avoid Common >> > > Pitfalls. >> > > > > > > Read the Whitepaper. >> > > > > > > >> > > > > > > >> > > > > >> > > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk >> > > > > > > _______________________________________________ >> > > > > > > Geoserver-users mailing list >> > > > > > > Geoserver-users@lists.sourceforge.net >> > > > > > > https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > > > > > > >> > > > > >> > > > > >> > > >> > > >> >> >> ------------------------------------------------------------------------------ >> Flow-based real-time traffic analytics software. Cisco certified tool. >> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >> Customize your own dashboards, set traffic alerts and generate reports. >> Network behavioral analysis & security monitoring. All-in-one tool. >> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >> _______________________________________________ >> Geoserver-users mailing list >> Geoserver-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users