jena + postgres
---------------
Key: NXP-3168
URL: http://jira.nuxeo.org/browse/NXP-3168
Project: Nuxeo Enterprise Platform
Issue Type: Problem
Components: Relation Engine
Affects Versions: 5.2 M4
Environment: linux 64, postgres 8.3
Reporter: Ian Smith
Assignee: Thierry Delprat
I built the code from source on friday night. I used the postgres script to
configure my datasources/config
(/nuxeo/nuxeo-distribution/nuxeo-platform-ear/postgresql-setup) and then
changed the default repository to postgres. The error is at the bottom of this
message.
I am running postgres 8.3 and tried running on a fresh database and also with
both the 8.2 and 8.3 JDBC drivers with the same result.
16:13:42,163 INFO [RelationService] create RDF Graph wiki
16:13:42,408 ERROR [RelationService] Error while initializing graph wiki
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:178)
at
org.nuxeo.ecm.platform.relations.jena.JenaGraph.size(JenaGraph.java:833)
at
org.nuxeo.ecm.platform.relations.services.RelationService.frameworkEvent(RelationService.java:514)
at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:200)
at
org.nuxeo.osgi.jboss.JBossOSGiAdapter.handleNotification2(JBossOSGiAdapter.java:219)
at
org.jboss.system.ListenerServiceMBeanSupport.handleNotification(ListenerServiceMBeanSupport.java:403)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
at $Proxy63.handleNotification(Unknown Source)
at
org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
at
org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:110)
at
org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:916)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:595)
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:288)
at
org.nuxeo.ecm.platform.relations.jena.JenaGraph.openGraph(JenaGraph.java:187)
at
org.nuxeo.ecm.platform.relations.jena.JenaGraph.size(JenaGraph.java:828)
... 17 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.Driver_Derby.doCleanDB(Driver_Derby.java:179)
at
com.hp.hpl.jena.db.impl.DriverRDB.getSystemSpecializedGraph(DriverRDB.java:303)
... 26 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets