jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vidar Ramdal <vi...@idium.no>
Subject PostgreSQLPersistenceManager reports "Bad value for type long"
Date Wed, 18 Aug 2010 07:18:54 GMT
Didn't get any response at user@
(http://markmail.org/thread/oj6x25c3fqachaso), so trying here instead.


When starting a repository configured with a
o.a.j.c.p.bundle.PostgreSQLPersistenceManager, I get this exception in
the log:
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager
Error loading bundle org.postgresql.util.PSQLException: Bad value for
type long : \002\000\000\004\000\000\000$\001[\246R\242\022\363N\351\215+x\253\246\222+\007\000\000\377\377\377\377\000\000\000\003\000\000\000%\000\000\000\002\000\000\000\000\000\000\001\377\377\377\376\0002dataStore:4b60fb4dcc58e8c8514aebb72b05db8e8e7fc0d0\000\000\000\003\000\000\000&\000\000\000\001\000\000\000\000\000\000\001\000\000\000\011image/png\000\000\000\003\000\000\000'\000\000\000\005\000\000\000\000\000\000\001\000\000\000\0352010-03-08T13:08:07.391+01:00\377\377\377\377\001\000\000\000\000
       at org.postgresql.jdbc2.AbstractJdbc2ResultSet.toLong(AbstractJdbc2ResultSet.java:2736)
       at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getLong(AbstractJdbc2ResultSet.java:2032)
       at org.postgresql.jdbc3.Jdbc3ResultSet.getBlob(Jdbc3ResultSet.java:52)
       at org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.checkConsistency(BundleDbPersistenceManager.java:854)
       at org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:626)
       at org.apache.jackrabbit.core.persistence.bundle.PostgreSQLPersistenceManager.init(PostgreSQLPersistenceManager.java:71)
       at org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1324)
       at org.apache.jackrabbit.core.RepositoryImpl.access$800(RepositoryImpl.java:114)
       at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doInitialize(RepositoryImpl.java:1936)
       at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1919)
       at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:489)
       at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:330)
       at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:627)
       at org.apache.sling.jcr.jackrabbit.server.impl.SlingServerRepository.acquireRepository(SlingServerRepository.java:141)
...

I have enabled consistencyCheck and consistencyFix, but this error
occurs repeatedly.
After the stacktrace:
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager
default: checked 0/0 bundles
... is reported.

Does this mean that consistencyCheck fails altogether because of the
above error? And what can I do to fix it?

Using Jackrabbit 1.6.2

--
Vidar S. Ramdal <vidar@idium.no> - http://www.idium.no
Sommerrogata 13-15, N-0255 Oslo, Norway
+ 47 22 00 84 00 / +47 22 00 84 76
Quando omni flunkus moritatus!

Mime
View raw message