Decided to go with the unpacking in a separate thread solution; and it  
is working for the most part.

Most developers are successful with this; but I have had one  
interesting report with the following stack trace:

org.geotools.factory.RecursiveSearchException: Recursive call while  
creating a 'LongitudeFirstEpsgDecorator' object.
        at  
org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java: 
665)
        at  
org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java: 
500)
        at org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java: 
191)
        at javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:793)
        at javax.imageio.spi.FilterIterator.next(ServiceRegistry.java:811)
        at org.geotools.resources.LazySet.addNext(LazySet.java:70)
        at org.geotools.resources.LazySet.size(LazySet.java:87)
        at java.util.AbstractCollection.toArray(AbstractCollection.java:119)
        at java.util.ArrayList.<init>(ArrayList.java:131)
        at  
org 
.geotools 
.referencing 
.DefaultAuthorityFactory 
.getBackingFactory(DefaultAuthorityFactory.java:96)
        at  
org 
.geotools 
.referencing 
.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:69)
        at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:183)
        at org.geotools.referencing.CRS.decode(CRS.java:421)
        at org.geotools.referencing.CRS.decode(CRS.java:349)
        at  
net 
.refractions.udig.libs.internal.Activator.configureEPSG(Activator.java: 
124)
        at net.refractions.udig.libs.internal.Activator$1.run(Activator.java: 
99)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Jody

On 11/08/2009, at 1:04 PM, Jody Garnett wrote:

> Thanks - I found that in the code base just now. What is more amazing
> to me is the *size* of the unpacked h2 database on disk. I am going to
> try and bundle it up in an eclipse plugin (where the result will be
> zipped up); but andrea is correct in that generating the database
> using the sql script is the most space efficient technique. HSQL was
> about 8 megs; H2 about 30 megs when "unpacked".
>
> Jody
>
> On Tue, Aug 11, 2009 at 12:10 PM, Michael
> Bedward<michael.bedw...@gmail.com> wrote:
>> Hi Jody,
>>
>> I remember asking Martin about it. The only way to do it is to set a
>> System property for the key ThreadedHsqlEpsgFactory.DIRECTORY_KEY
>>
>> I know it's a one-liner (plus an import) but I think it is obscure  
>> and
>> cumbersome for general users.
>>
>> Michael
>>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to