postgresql - Postgres and c3p0 invalid timezone error during connection -
i following error when trying connect standalone java application postgres:
org.postgresql.util.psqlexception: fatal: invalid value parameter "timezone": "america/new_york" @ org.postgresql.core.v3.connectionfactoryimpl.readstartupmessages(connectionfactoryimpl.java 572) ... @ com.mchange.v2.c3p0.drivemanagerdatasource.getconnection(drivemanagerdatasource.java: 164) ...
(sorry, have type in hand because of setup).
i using postgres 9.3.3 postgis 2.1.1 extensions, postgres 9.3-1100 jdbc driver , 0.2.6.3 c3p0 library.
i on both linux , windows systems. when changed tz gmt on linux system connection works, that's not solution.
any idea con fix this?
thanks,
ken
pavel horal had correct answer. postgres installation messed , root had access /usr/local/pgsql_933/share/timezone/america directory. once did chmod on , files in problem went away.
Comments
Post a Comment