Hi Andre

Has your tomcat user write privileges in  C:\Program Files\Apache Software
Foundation\Tomcat 8.0 Tomcat\temp ?.

add 1)
The ImageMosaicJDBC is not aware of the JAI native library. If the library
is installed correctly it will be used.

add 2)
I never used the native library because I am deploying on IBM P Series
(Linux)

add 3)
The raster column has the needed functionality, no reason for an extra
geom-column

Cheers
Christian









On Mon, Apr 27, 2015 at 10:15 AM, Mende, Andre <
[email protected]> wrote:

> Hi Christian,
>
>
>
> ok i see that i don´t use the right format raster.
>
> Now I have imported my raster files like the tutorial.
>
>
>
> *But my geoserver fails showing the information in a wms, because of this
> error:*
>
>
>
> 2015-04-27 10:05:40,962 ERROR [imagemosaic.jdbc] - Decorde error for tile
>
> 2015-04-27 10:05:40,962 ERROR [imagemosaic.jdbc] - Can't create cache file!
>
> javax.imageio.IIOException: Can't create cache file!
>
>                 at javax.imageio.ImageIO.createImageInputStream(Unknown
> Source)
>
>                 at javax.imageio.ImageIO.read(Unknown Source)
>
>                 at
> org.geotools.gce.imagemosaic.jdbc.ImageDecoderThread.run(ImageDecoderThread.java:113)
>
>                 at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>
>                 at java.lang.Thread.run(Unknown Source)
>
> Caused by: java.nio.file.NoSuchFileException: C:\Program Files\Apache
> Software Foundation\Tomcat 8.0 Tomcat\temp\imageio8971403393129682788.tmp
>
>                 at
> sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
>
>                 at
> sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
>
>                 at
> sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
>
>                 at
> sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
>
>                 at java.nio.file.Files.newByteChannel(Unknown Source)
>
>                 at java.nio.file.Files.createFile(Unknown Source)
>
>                 at java.nio.file.TempFileHelper.create(Unknown Source)
>
>                 at java.nio.file.TempFileHelper.createTempFile(Unknown
> Source)
>
>                 at java.nio.file.Files.createTempFile(Unknown Source)
>
>                 at
> javax.imageio.stream.FileCacheImageInputStream.<init>(Unknown Source)
>
>                 at
> com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamInstance(Unknown
> Source)
>
>
>
> What can be the reason for this?
>
>
>
> Here are two additional questions for better understanding:
>
>
>
> 1) Use ImageMosaicJDBC the JAI native library if it is available?
>
> 2) What is better: Using native JAI and 32 Bit Java with only 1 GB of RAM
> or Using no native JAI (because it doesn´t exist for 64 Bit) and 64 Bit
> Java an >32 GB RAM?
>
> 3) Using raster2pgsql there isn´t any geom-column with the spatial
> attribute only the rast-column for raster information. Should I add the
> geometry-colum to get a better performance or isn´t it necessary?
>
>
>
> Thanks a lot!
>
>
>
> Best regards,
>
> André Mende
>
>
>
> *Von:* [email protected] [mailto:
> [email protected]] *Im Auftrag von *Christian
> Mueller
> *Gesendet:* Donnerstag, 23. April 2015 13:41
> *An:* Mauro Bartolomeoli
> *Cc:* GeoServer Mailing List List; Mende, Andre
> *Betreff:* Re: [Geoserver-users] ImageMosaicJDBC problem: geoserver stop
> waiting before postgres send the raster information
>
>
>
> Hi all
>
>
>
> I am the module maintainer.
>
>
>
> Did you try to use the PostGis raster extension.
>
>
>
> http://docs.geotools.org/latest/userguide/library/coverage/pgraster.html
>
>
>
> Cheers
>
> Chrilstian
>
>
>
>
>
> On Thu, Apr 23, 2015 at 11:35 AM, Mauro Bartolomeoli <
> [email protected]> wrote:
>
> Hi Andre,
>
>
>
> 2015-04-23 11:21 GMT+02:00 Mende, Andre <[email protected]
> >:
>
> Hi Mauro,
>
>
>
> thanks for your explanation. I don´t know where to find the right JIRA bug
> forum? Do you have an URL for me?
>
>
>
> You should be able to go here:
> https://osgeo-org.atlassian.net/projects/GEOT
>
>
>
> From there, click the "Log in" button, then "Create an account".
>
>
>
>
>
> Do you think there is an opportunity to contact the programmer of this
> plugin?
>
>
>
> I don't know who is the mantainer of the imagemosaic-jdbc, if he reads the
> mailing list, he will probably chime in (for this reason I moved the
> discussion to the mailing list again, please don't use private messages for
> this).
>
>
>
> Because I need this function for my gis-infrastructre and mybe I can add
> some code sniped for faster implementation?
>
>
>
> If you can fix the bug yourself and submit a pull request on GitHub, it
> will be included quickly in the code, I think.
>
>
>
> Regards,
>
> Mauro
>
>
>
>
> --
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/NWWaa2 for more information.
> ==
>
>
>
> Dott. Mauro Bartolomeoli
>
> @mauro_bart
>
> 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
>
>
>
> -------------------------------------------------------
>
>
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
>
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
>
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>
>
> --
>
> DI Christian Mueller MSc (GIS), MSc (IT-Security)
>
> OSS Open Source Solutions GmbH
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to