[mapguide-users] JDBC Provider

Haris Kurtagic haris at sl-king.com
Mon Jun 11 11:28:23 EDT 2007


Hi,

You can't use JDBC provider as FDO provider. 
FDO provider is specially written library to work with FDO.

For PostGis driver you should look for FDO provider for PostGis.
I suppose you can get it on FDO site or repository ( not sure where
binaries are ).

Haris

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of nicholda
Sent: 11. junij 2007 17:20
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] JDBC Provider


Hello friends - 

Has anyone succesfully configured Enterprise Map Guide to communicate
(with
PostGIS) using the postGIS JDBC.jars?  At this stage, I'm not too
worried
about getting to PostGIS, I think I've got a problem with the initial
configuration; after selecting the JDBC driver, I get no options for
entering connection data (i.e., no 'Data Source' label and associated
line
for entry under the Connection Properties tab).  If I click the 'Test
Connection' button, I get the following:

An exception occurred in FDO component.  Unable to load the FDO
Provider:
(null) 

Below is my xml entry; it seems likely this is my issue; the path to
postgis.jar is correct, but the rest is more or less templated. 
Specifically, I'm thinking that I'm guessing the wrong thing for the
provider value.  In addition to what is below, I've also tried the fully
qualified jdbc driver class name, but this also fails with the same
error at
test connection time. 

   <FeatureProvider>
          <Name>OSGeo.Jdbc</Name> 
          <DisplayName>JDBC Provider for Postgres/PostGIS</DisplayName> 
          <Description>JDBC Access</Description> 
          <IsManaged>False</IsManaged> 
          <Version>3.2.0.0</Version> 
          <FeatureDataObjectsVersion>3.2.0.0</FeatureDataObjectsVersion>

          <LibraryPath>C:\Program
Files\MapGuideOpenSource\Server\Bin\FDO\postgis.jar</LibraryPath> 
    </FeatureProvider>

Any insight is appreciated!

david

-- 
View this message in context:
http://www.nabble.com/JDBC-Provider-tf3902095s16610.html#a11062291
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list