pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: chhui@ps.asl.com.hk
To: pgsql-bugs@postgresql.org
Subject: BUG #12851: Failed to initial Jackrabbit JCR Repository
Date: Wed, 11 Mar 2015 16:55:56 +0000
Message-ID: <20150311165556.4035.21117@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      12851
Logged by:          Harry Hui
Email address:      chhui@ps.asl.com.hk
PostgreSQL version: 9.4.0
Operating system:   Fedora 20 x86 64Bit
Description:        

I had set up PostgreSQL 9.4 DBR version on Fedora 20. There are two
instances of PostgreSQL to perform the replication. This function was
working fine. However, I started a Jackrabbit JCR repository with
persistence manager
[org.apache.jackrabbit.core.persistence.bundle.PostgreSQLPersistenceManager].
It could not start with PostgreSQL DBR. 
It throw exception below. This exception only happened in DBR version.
Normal PostgreSQL 4.0 is working fine with Jackrabbit.
11.03.2015 11:12:48 DEBUG localhost-startStop-1 [StatManager.init:48]
Started StatManager. QueryStat is enabled false
11.03.2015 11:12:48 INFO  localhost-startStop-1 [RepositoryImpl.<init>:256]
Starting repository...
11.03.2015 11:13:06 ERROR localhost-startStop-1
[ConnectionHelper$RetryManager.doTry:548] Failed to execute SQL (stacktrace
on DEBUG log level): org.postgresql.util.PSQLException: ERROR: Cannot UPDATE
table repository_fsentry because it does not have primary key.
  Hint: Add primary key to the table
11.03.2015 11:13:06 DEBUG localhost-startStop-1
[ConnectionHelper$RetryManager.doTry:549] Failed to execute SQL
org.postgresql.util.PSQLException: ERROR: Cannot UPDATE table
repository_fsentry because it does not have primary key.
  Hint: Add primary key to the table 


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)  latest in thread

Message-ID: <20150311165556.4035.21117@wrigleys.postgresql.org>
Permalink:  ../20150311165556.4035.21117@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20150311165556.4035.21117@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: chhui@ps.asl.com.hk
  Subject: Re: BUG #12851: Failed to initial Jackrabbit JCR Repository
  In-Reply-To: <20150311165556.4035.21117@wrigleys.postgresql.org>
  References: <20150311165556.4035.21117@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox