mahovictim / rapla

Automatically exported from code.google.com/p/rapla
0 stars 0 forks source link

Rapla 1.8.0 does not work with postgres #448

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install Rapla 1.8.0 and Postgres 9.3.5 or 9.2.9 with appropriate 
postgresxxx.xxx.jar
2. Follow wiki 'DatabaseInstallation'
also try
3.   PGPoolingDataSource  in rapla.xml as described here: 
http://sourceforge.net/p/rapla/mailman/message/33078469/

What is the expected output? What do you see instead?
The Server does not start, log-Output: 'ERROR rapla.rapladb - Datasource object 
class org.postgresql.ds.PGConnectionPoolDataSource does not implement a 
datasource interface._

What version of the product are you using? On what operating system?
1.8.0 & 1.8.0beta on Win 7 64bit

Please provide any additional information below.
HSQLDB and MySQL are working as desribed with 1.8.0 and 1.7.8 is working with 
PGPoolingDataSource in rapla.xml

Original issue reported on code.google.com by gertwi...@googlemail.com on 19 Dec 2014 at 7:47

GoogleCodeExporter commented 9 years ago
Which postgres driver do you use?

Does 1.8.0 work when you configure

PGPoolingDataSource in contexts/rapla.xml

Original comment by christop...@gmail.com on 19 Dec 2014 at 1:06

GoogleCodeExporter commented 9 years ago
> Which postgres driver do you use?

9.3-1102 JDBC 41, 9.3-1102 JDBC 4, 9.3-1102 JDBC 3 and 9.2-1004 JDBC 4

> Does 1.8.0 work when you configure PGPoolingDataSource in contexts/rapla.xml

no, but this is the only working setup for me at 1.7.8

Original comment by gertwi...@googlemail.com on 21 Dec 2014 at 6:42

GoogleCodeExporter commented 9 years ago
Tested with 1.8 and

org.postgresql.ds.PGPoolingDataSource

with 9.3-1102 JDBC 41 and  9.2-1004 JDBC 4

works. Have changed the wiki and the commented section in rapla.xml

Have you placed the driver inside the lib/ext folder in 1.8?

Also try replacing the rapla.war in 1.7 with the 1.8

Only jetty libs were updated between 1.7 and 1.8

Regards

Chris

Original comment by christop...@gmail.com on 22 Dec 2014 at 1:05

GoogleCodeExporter commented 9 years ago
Many thanks,

I will try to retrace immediately after my holydays,

kind regards,

Gert

Original comment by gertwi...@googlemail.com on 23 Dec 2014 at 8:47

GoogleCodeExporter commented 9 years ago
All works ok now, can't reproduce failure again, so it was my failure,

many thanks and kind regards,

Gert

Original comment by gertwi...@googlemail.com on 5 Jan 2015 at 1:23

GoogleCodeExporter commented 9 years ago

Original comment by christop...@gmail.com on 5 Jan 2015 at 1:51