Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 92972 invoked from network); 17 Feb 2009 21:10:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Feb 2009 21:10:34 -0000 Received: (qmail 10936 invoked by uid 500); 17 Feb 2009 21:10:32 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 10922 invoked by uid 500); 17 Feb 2009 21:10:32 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 10911 invoked by uid 99); 17 Feb 2009 21:10:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 13:10:32 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jhberges@gmail.com designates 209.85.134.185 as permitted sender) Received: from [209.85.134.185] (HELO mu-out-0910.google.com) (209.85.134.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 21:10:21 +0000 Received: by mu-out-0910.google.com with SMTP id i10so1243244mue.1 for ; Tue, 17 Feb 2009 13:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=xveOG8uzrkNYds2PmeEa36/LCGjY7jgKWFcpR2v0bz4=; b=Z33dwjpcYqei2ncXLsYAn/um05ToVc3VRt8+GyYsfhtERLLMuSBEi/Jp/+94vVAUh7 8C1HYn4UQdg8CKskXGRJ0omSWvLpCHpmOaTmAHsOm1Rr8+OcUIUT2rmD1Ufg8B8/WsqU 7A3rCBjWu+xVg0FySnt9ncmS60Rv8GtCOFATw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=URFZ8PMY2dzZuG4v7pCNIxeNutk8K3IiB2MDcMjvIZo6y5/XYdgkGbElcTOG2iTwP1 1gG2KGZT352bQazb06H1dNTEq0GPtxEL2HzOhrsivcdjCdu/plKX8IDshH+6/1BXLP9W sZzdGRYxLzq5boPupUZCOpcCOyuyaX8XosIWE= MIME-Version: 1.0 Received: by 10.103.240.5 with SMTP id s5mr3990216mur.133.1234905001031; Tue, 17 Feb 2009 13:10:01 -0800 (PST) Date: Tue, 17 Feb 2009 22:10:00 +0100 Message-ID: <27564c150902171310v63a5e6a8w73c076e8605b4e0b@mail.gmail.com> Subject: Jackrabbit embedded in Jahia 6 CE generates incorrect SQL for PostgreSQL. From: Jan-Helge Bergesen To: users@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=001636920027eafa2c046323b925 X-Virus-Checked: Checked by ClamAV on apache.org --001636920027eafa2c046323b925 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi there. I'm trying to get Jahia 6 CE up and running with PostgreSQL 8.3 on Ubuntu 8.10. Jahia has a config wizard, which does a fair attempt at setting things up -- however it does come a bit short in relation to Jackrabbit. So, I'm almost good, however the jackrabbit instance fails with the following message: 2009-02-17 21:55:20,359: ERROR [org.apache.jackrabbit.core.fs.db.DatabaseFileSystem] - failed to initialize file system org.postgresql.util.PSQLException: ERROR: type "varbinary" does not exist at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1592) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1327) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:336) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:282) at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) at org.apache.jackrabbit.core.fs.db.DatabaseFileSystem.checkSchema(DatabaseFileSystem.java:1180) I'm not sure if it's possible to enable debug to view the SQL, but using Wireshark I see that the generated SQL is: Query: create table JR_FSG_FSENTRY (FSENTRY_PATH varchar not null, FSENTRY_NAME varchar not null, FSENTRY_DATA varbinary null, FSENTRY_LASTMOD bigint not null, FSENTRY_LENGTH bigint not null) I'm not sure where I should start looking for faults, and I wasn't able to find any previous useful postings regarding this error so any help would be appreciated. TIA. // JHB http://linkedin.com/janhelgebergesen Sent from: Bergen Hordaland Norway. --001636920027eafa2c046323b925--