jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Tagliani (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3445) PostgreSQL error with setValidationQueryTimeout
Date Mon, 19 Nov 2012 10:52:59 GMT

     [ https://issues.apache.org/jira/browse/JCR-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Luca Tagliani updated JCR-3445:

    Attachment: JCR-3445.patch

Hi all,
  the problem remains, because the setValidationQuerytimeout didn't raise any exception.
The problem arise when we try to get a connection from the configured datasource i.e. first
line of method getExtraNameCharacters in ConnectionHelper.

While there's no implementation in PostgreSQL jdbc driver, I think we have to avoid the setting
at all, instead of surrounding with a try...catch statement.

I submit this patch for review.


> PostgreSQL error with setValidationQueryTimeout
> -----------------------------------------------
>                 Key: JCR-3445
>                 URL: https://issues.apache.org/jira/browse/JCR-3445
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.4.3, 2.5.2
>         Environment: Linux Ubuntu 10.04 server with PostgreSQL 9.1 remote DB
>            Reporter: Luca Tagliani
>            Assignee: Bart van der Schans
>            Priority: Critical
>             Fix For: 2.4.4, 2.5.3
>         Attachments: catalina.out, JCR-3445-1.patch, JCR-3445.patch, repositorySimple.xml
> In this version inside o.a.j.c.util.db.ConnectionFactory class, it's been added a validationQueryTimeout
(line 344).
> The problem is that the use of queryTimeout is not implemented in any PostgreSQL jdbc
driver (see http://jdbc.postgresql.org/todo.html Compliance section)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message