Hi, This article may deal with your problem http://blog.mattwoodward.com/accessing-a-network-drive-from-apache-and-tom
-Jukka Rahkonen- > -----Alkuperäinen viesti----- > Lähettäjä: Simone Giannecchini > [mailto:simone.giannecch...@geo-solutions.it] > Lähetetty: 17. joulukuuta 2010 1:06 > Vastaanottaja: Phil Maloney > Kopio: geoserver-users@lists.sourceforge.net > Aihe: Re: [Geoserver-users] ImageMosaic using images on a > network share > > Ciao Phil, > I am testing using a nightly build form trunk and here is the result: > > -1- a put a mosaic on a network laptop on our net and I pointed the > imagemoisac to it: > > \\192.168.1.105\work\mosaic_sample > > of course (murphy's law) it worked > > -2- ok, I said, let me try by name: > > \\Portatile-ele\work\mosaic_sample > > it worked again. > > K, let's see: > > -1-. I am running a war in tomcat which I started myself (no service) > -2- I tried to access the remote share myself beforehand and I had to > authenticate > -3- I checked I had write privileges on the remote share since the > imagemosaic must build its index > > Thinking.... let me install tomcat as a service and try again. I am > using 6.0.18.... > > Well, right now, I don't manage to get it working, neither by name nor > by ip. Mmhh, looked around a bit > it seems that when you run tomcat as a service there might be > difficulties accessing a remote share. I have not had more time to > investigate atm. > > One thing I can suggest it to use the geotools developer logging level > and send me the logs of geoserver. > > Ciao, > Simone. > > > ------------------------------------------------------- > Ing. Simone Giannecchini > GeoSolutions S.A.S. > Founder > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584962313 > fax: +39 0584962313 > mob: +39 333 8128928 > > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.linkedin.com/in/simonegiannecchini > http://twitter.com/simogeo > > ------------------------------------------------------- > > > > On Wed, Dec 15, 2010 at 11:56 AM, Phil Maloney > <pj_malo...@hotmail.com> wrote: > > Thanks Roger, yes this is running as a Windows service so I > have explicitly > > set up shared folders to avoid mapped drives and use UNC > paths instead. > > After some trial and error I am now getting a "Could not > list layers for > > this store, an error occurred retrieving them: Unable to > acquire a reader > > for this coverage with format: ImageMosaic". The data > folder contains a > > number of sub directories which it obviously scans but then > it fails to > > generate the necessary index and projection files. > Needless to say, the > > store can be set up without error if the data folder is on > the same machine > > as GeoServer. > > > > Simone, this is GS 2.0.2, using JRE6 (update 22). I have > tried a mapped > > drive but it failed immediately. (As above) I get a bit > further when using a > > UNC path. An example path used in the connection parameters > section of the > > store - file:\\[machine]\[share]\OrdnanceSurvey\OS25KRaster\ > > > > Phil > > > > From: Roger Bedell > > Sent: Tuesday, December 14, 2010 9:47 PM > > To: Simone Giannecchini > > Cc: Phil Maloney ; geoserver-users@lists.sourceforge.net > > Subject: Re: [Geoserver-users] ImageMosaic using images on > a network share > > Phil, yes it is possible, but you cannot use mapped drives > if you are > > running Geoserver as a service, Windows doesn't allow this. > UNC paths should > > work, but it is tricky at times. Unfortunately I can't > remember exactly how > > I got it running... > > > > Roger > > > > On Tue, Dec 14, 2010 at 7:11 PM, Simone Giannecchini > > <simone.giannecch...@geo-solutions.it> wrote: > >> > >> Ciao Phil, > >> yeah this is supported, although on windows I tend to map such > >> resources as real drive (Y: as an instance) in order to avoid > >> problems. > >> > >> I would try that but also I would like to ask you a bit more info > >> about what you are doing: > >> > >> - geoserver version > >> - jdk versione > >> - full path you are accessing > >> > >> > >> Ciao, > >> Simone. > >> ------------------------------------------------------- > >> Ing. Simone Giannecchini > >> GeoSolutions S.A.S. > >> Founder > >> > >> Via Poggio alle Viti 1187 > >> 55054 Massarosa (LU) > >> Italy > >> > >> phone: +39 0584962313 > >> fax: +39 0584962313 > >> mob: +39 333 8128928 > >> > >> > >> http://www.geo-solutions.it > >> http://geo-solutions.blogspot.com/ > >> http://www.linkedin.com/in/simonegiannecchini > >> http://twitter.com/simogeo > >> > >> ------------------------------------------------------- > >> > >> > >> > >> On Tue, Dec 14, 2010 at 3:32 PM, Phil Maloney > <pj_malo...@hotmail.com> > >> wrote: > >> > I am attempting to configure a ImageMosaic store by > accessing images on > >> > a > >> > network share. This is in a web farm environment > accessing over 60GB of > >> > TIFF > >> > imagery on another dedicated server. I have tried using > a UNC path (e.g. > >> > \\[server]\[share]) but this does not appear to be supported. > >> > > >> > Is accessing data in this way possible? > >> > > >> > Regards > >> > > >> > Phil > >> > > >> > > -------------------------------------------------------------- > ---------------- > >> > Lotusphere 2011 > >> > Register now for Lotusphere 2011 and learn how > >> > to connect the dots, take your collaborative environment > >> > to the next level, and enter the era of Social Business. > >> > http://p.sf.net/sfu/lotusphere-d2d > >> > _______________________________________________ > >> > Geoserver-users mailing list > >> > Geoserver-users@lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/geoserver-users > >> > > >> > > >> > >> > >> > -------------------------------------------------------------- > ---------------- > >> Lotusphere 2011 > >> Register now for Lotusphere 2011 and learn how > >> to connect the dots, take your collaborative environment > >> to the next level, and enter the era of Social Business. > >> http://p.sf.net/sfu/lotusphere-d2d > >> _______________________________________________ > >> Geoserver-users mailing list > >> Geoserver-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/geoserver-users > > > > > > -------------------------------------------------------------- > ---------------- > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users