[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] postgis & postgres
|
I have one comment mainly for Vince and his team. Are you using
DatastoreFinder in your application? If you are then you might think
about why you are using it. With the uDig infrastructure and the
ServiceFactory you shouldn't really need it at all. Rather you can
create the params and call Catalog.getDefault().getServiceFactory
().acquire( params ). To get the service that works with those
parameters. Or if you know that it is a postgis use the
PostgisDatastireFactory directly.
We can fix the ArcSDEDatstoreFactory at some point but it isn't
really high priority since there are fairly simple work arounds for
it. (You are welcome to continue to convince us otherwise).
Jesse
On Oct 17, 2007, at 12:48 AM, Vince Darley wrote:
At 19:11 16/10/2007, Jody Garnett wrote:
AVVERTENZA: ArcSDE Java API seems to not be on your classpath. Please
verify that all needed jars are. ArcSDE data stores will not be
available. java.lang.NoClassDefFoundError at
org.geotools.data.arcsde.ArcSDEDataStoreFactory.class$
(ArcSDEDataStoreFactory.java:40)
at
org.geotools.data.arcsde.ArcSDEDataStoreFactory.isAvailable
(ArcSDEDataStoreFactory.java:218)
at
org.geotools.data.DataStoreFinder.getAvailableDataStores
(DataStoreFinder.java:113)
at
org.geotools.data.DataStoreFinder.getDataStore
(DataStoreFinder.java:76)
[...]
org.eclipse.equinox.launcher.Main.main(Main.java:1148) Caused by:
java.lang.ClassNotFoundException:
com.esri.sde.sdk.client.SeConnection
Why is that in the way? Arcsde??
It looks like the Arcsde module is behaving badly! Is this an
actual error? Or a log message ... if this cannot be fixed we
should remove
ArcSDE from the libs module. If you want a quick hack make use of
the PostGISFactorySPI directly rather than DataStoreFinder :-(
It's just a log message, but it is very annoying because it looks
like a real error in the log (with a full stack trace). We get
hundreds of them in our application, and it does significantly
detract from quick and easy debugging of problems.
cheers,
Vince.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel