Okay ... very interesting.

I had a copy of uDig already running; and then I was trying to test from within 
eclipse at the same time. So is the EPSG H2 database only able to be accessed 
by a single process?

I have tried to reproduce this now ... near as I can tell it *only* happened 
when running a 2.6-SNAPSHOT based uDig at the same time as a 2.6.2 based uDIG 
(I expect that within the temp folder they are creating a database for each 
version of GeoTools used?)

Jody

On 05/03/2010, at 11:19 AM, Jody Garnett wrote:

> I had initially assumed this was a JRE bundling problem... digging into it 
> now I see the catalog is erroring out with some NPE. So is the info work to 
> blame?
> 
> Digging further it seems I am personally tripping up H2 EPSG database 
> permissions:
> 
> Caused by: java.sql.SQLException: Can't read file "EPSG.zip".
>       at 
> org.geotools.referencing.factory.epsg.ThreadedH2EpsgFactory.createBackingStore(ThreadedH2EpsgFactory.java:340)
>       at 
> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore0(ThreadedEpsgFactory.java:381)
>       at 
> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:418)
>       ... 58 more
> Caused by: java.io.FileNotFoundException: 
> /var/folders/xv/xvN1hpRQE-8KP+iyx3ETuU+++TI/-Tmp-/Geotools/Databases/EPSG-H2-7.4.0/EPSG.data.db
>  (Permission denied)
> 
> 
> Is anyone else having trouble here? Or is it just me...
> 
> Jody

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to