Hi, Can anyone shed light on this problem, presumably a simple config
error on my part...
I have a brand new clean 5.4.0 configured to use PostgreSQL,
nuxeo.templates=postgresql
I can log in, all seems fine, however when I try to create a document,
e.g. a Note I get the following error:
2010-12-09 20:29:48,639 ERROR [facelets.viewhandler] Error Rendering
View[/view_documents.xhtml]
com.sun.facelets.tag.TagAttributeException:
/widgets/summary/comments_widget_template.xhtml @7,97
test="#{currentDocument.hasFacet('Commentable') and
(documentThreadedComments.size > 0)}"
com.hp.hpl.jena.shared.JenaException: The database appears to be
unformatted or co
rrupted and
an attempt to automatically format the database has failed
....
at
com.sun.facelets.tag.TagAttribute.getObject(TagAttribute.java:235)
at
com.sun.facelets.tag.TagAttribute.getBoolean(TagAttribute.java:79)
at com.sun.facelets.tag.jstl.core.IfHandler.apply(IfHandler.java:4
Caused by: java.lang.RuntimeException:
com.hp.hpl.jena.shared.JenaException: The database appears to be
unformatted or corrupted and
an attempt to automatically format the database has failed
at
org.nuxeo.ecm.platform.relations.jena.JenaGraph.wrapException(JenaGraph.java:172)
at
org.nuxeo.ecm.platform.relations.jena.JenaGraph.getStatements(JenaGraph.java:657)
at
org.nuxeo.ecm.platform.relations.services.RelationService.getStatements(RelationService.java:413)
at
org.nuxeo.ecm.platform.comment.impl.CommentManagerImpl.getComments(CommentManagerImpl.java:142)
.....
Caused by: com.hp.hpl.jena.shared.JenaException: The database appears to
be unformatted or corrupted and
an attempt to automatically format the database has failed
at
com.hp.hpl.jena.db.impl.DriverRDB.getSystemSpecializedGraph(DriverRDB.java:311)
at
com.hp.hpl.jena.db.impl.DriverRDB.getDefaultModelProperties(DriverRDB.java:835)
at
com.hp.hpl.jena.db.DBConnection.getDefaultModelProperties(DBConnection.java:195)
at
com.hp.hpl.jena.db.impl.GraphRDBMaker.consGraph(GraphRDBMaker.java:123)
at
com.hp.hpl.jena.db.impl.GraphRDBMaker.createGraph(GraphRDBMaker.java:107)
at
com.hp.hpl.jena.rdf.model.impl.ModelMakerImpl.createModel(ModelMakerImpl.java:47)
at
com.hp.hpl.jena.rdf.model.impl.ModelMakerImpl.createModel(ModelMakerImpl.java:50)
at
org.nuxeo.ecm.platform.relations.jena.JenaGraph.openGraph(JenaGraph.java:280)
at
org.nuxeo.ecm.platform.relations.jena.JenaGraph.openGraph(JenaGraph.java:181)
at
org.nuxeo.ecm.platform.relations.jena.JenaGraph.getStatements(JenaGraph.java:650)
... 190 more
.....
Caused by: com.hp.hpl.jena.db.RDFRDBException: Exception when checking
for database lock -
com.hp.hpl.jena.db.RDFRDBException: Internal error in driver - database
not locked for cleaning.
at com.hp.hpl.jena.db.impl.DriverRDB.doCleanDB(DriverRDB.java:1002)
at
com.hp.hpl.jena.db.impl.DriverRDB.getSystemSpecializedGraph(DriverRDB.java:303)
... 199 more
The tables in the PostgeSQL have been created (as expected), but I do
have a derby directory in the 'data' directory. Should this derby
directory exist if the server is configured to use PostgeSQL?
Any ideas? (I can't see any relevant JIRA ticket)
Thanks,
Sean
--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
http://www.tacolaecm.com/
t: +44 (0)845 KEY HELP
t: +44 (0)845 539 4357
m: +44 (0)7802 24 24 86
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm