[mapguide-users] JDBC Provider

nicholda nicholda at talgov.com
Mon Jun 11 11:19:38 EDT 2007


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.



More information about the mapguide-users mailing list