Caused by: java.lang.RuntimeException: Unable to obtain connection: Cannot
create JDBC driver of class 'org.postgresql.Driver' for connect URL
'jdbc:postgresql://localhost:5432/postgres'
at
org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1679)
Postgres/PostGis is running, I can see tables with a SQL client (Squirrel to
be precise) with exactly the same parameters or connection string. I found
in the geoserver lib an ancient 8.4 jdbc3 driver, which I exchanged to a
postgresql-9.3-1100.jdbc3.jar, which is the DB version and restarted, but no
effect.
Geoserver is 2.4.1, Win7, Tomcat 7.0.39
JVM: Java HotSpot(TM) Client VM (24.45-b08, mixed mode)
Java: version 1.7.0_45, vendor Oracle Corporation
Bit puzzled.
Christian
-----
____________________________
Dr Christian Maul
Project Manager
Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000
Caused by: java.lang.RuntimeException: Unable to obtain connection: Cannot
create JDBC driver of class ‘org.postgresql.Driver’ for connect URL
‘jdbc:postgresql://localhost:5432/postgres’
at
org.geotools.jdbc.JDBCDataStore.createConnection(JDBCDataStore.java:1679)
Postgres/PostGis is running, I can see tables with a SQL client (Squirrel to
be precise) with exactly the same parameters or connection string. I found
in the geoserver lib an ancient 8.4 jdbc3 driver, which I exchanged to a
postgresql-9.3-1100.jdbc3.jar, which is the DB version and restarted, but no
effect.
Geoserver is 2.4.1, Win7, Tomcat 7.0.39
JVM: Java HotSpot™ Client VM (24.45-b08, mixed mode)
Java: version 1.7.0_45, vendor Oracle Corporation
Bit puzzled.
Christian
Dr Christian Maul
Project Manager
Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk