Hi Andrea: I have finally had a chance to "give it a go". It has been working fine for me ... but Andrea Antonello has reported a problem. I think the problem comes from the time required to unpack the EPSG database into a temp directory; since I was testing out the service in a plugin activator there was a strict time limit (5000ms) that was not being respected :-( So what I would like to try and set up is some additional methods to test if the temp directory needs to be created; so I can start that in a separate thread.
-- provided log -- !MESSAGE While loading class "org.h2.message.Message", thread "Thread[Finalizer,8,system]" timed out waiting (5000ms) for thread "Thread[main,5,main]" to finish starting bundle "net.refractions.udig.libs_1.2.0 [41]". To avoid deadlock, thread "Thread[Finalizer,8,system]" is proceeding but "org.h2.message.Message" may not be fully initialized. !STACK 0 org.osgi.framework.BundleException: State change in progress for bundle "upd...@../WORKSPACES/jgrass4udigtrunk/udigTrunk/trunk/plugins/net.refractions.udig.libs/" by thread "main". at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1073) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:278) at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408) [...] at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at org.h2.message.Message.<clinit>(Message.java:36) at org.h2.engine.Session.finalize(Session.java:279) On Mon, Jun 15, 2009 at 4:45 PM, Andrea Aime<aa...@opengeo.org> wrote: > Jody Garnett ha scritto: >> >> I like this second option; however you are the module maintainer here >> so we do trust your judgement. >> >> I like the idea of H2 just to cut down on dependencies :-) I belive >> Andrea Anotonello (as a PSC for the uDig community) also expressed >> support for this direction. >> >> So let me know and I will give this a try on udig trunk? > > Just committed it in unsupported on trunk. Give it a go :) > Cheers > Andrea > > -- > Andrea Aime > OpenGeo - http://opengeo.org > Expert service straight from the developers. > ------------------------------------------------------------------------------ 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