I'm testing Nuxeo 5.1 and I changed the default database configuration to a
MySql datasource
Nuxeo EP 5.1.6-GA
O.S.: Windows XP
DB: MySQL 5.1.34
After follow nuxeo-book, the application works fine, but it have some problems.
*When Nuxeo starts there is the following error:*
11:59:50,421 ERROR RelationService Error while initializing graph default
java.lang.RuntimeException: com.hp.hpl.jena.db.RDFRDBException: Failed to lock d
atabase after 5 attempts.
Try later or else call DriverRDB.unlockDB() after ensuring
that no other Jena applications are using the database.
at org.nuxeo.ecm.platform.relations.jena.JenaGraph.wrapException(JenaGra
ph.java:181)
at org.nuxeo.ecm.platform.relations.jena.JenaGraph.size(JenaGraph.java:8
36)
....
Caused by: com.hp.hpl.jena.db.RDFRDBException: Failed to lock database after 5 a
ttempts.
Try later or else call DriverRDB.unlockDB() after ensuring
that no other Jena applications are using the database.
at com.hp.hpl.jena.db.impl.DriverRDB.lockDB(DriverRDB.java:925)
at com.hp.hpl.jena.db.impl.DriverRDB.getSystemSpecializedGraph(DriverRDB
.java:296)
...
12:00:15,437 ERROR RelationService Error while initializing graph documentComm
ents
java.lang.RuntimeException: com.hp.hpl.jena.db.RDFRDBException: Failed to lock d
atabase after 5 attempts.
Try later or else call DriverRDB.unlockDB() after ensuring
that no other Jena applications are using the database.
at org.nuxeo.ecm.platform.relations.jena.JenaGraph.wrapException(JenaGra
ph.java:181)
....
Caused by: com.hp.hpl.jena.db.RDFRDBException: Failed to lock database after 5 a
ttempts.
12:00:15,531 INFO Server JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Bran
ch_4_0 date=200610162339)] Started in 2m:49s:219ms
*And then, when I try to access to Relatins tab, resutls in a 404 error:*
HTTP Status 404 -
/nuxeo/nxdoc/default/5776e51c-5df3-4ec2-ba2b-dc7d076face2/view_documents</address>
type Status report
message
/nuxeo/nxdoc/default/5776e51c-5df3-4ec2-ba2b-dc7d076face2/view_documents</address>
description The requested resource
(/nuxeo/nxdoc/default/5776e51c-5df3-4ec2-ba2b-dc7d076face2/view_documents) is
not available.
The error log in server.log file is the following:
2009-05-04 11:48:17,000 ERROR STDERR 04-may-2009 11:48:17
com.sun.facelets.FaceletViewHandler handleRenderException</address>
GRAVE: Error Rendering View[/view_documents.xhtml]</address>
javax.faces.FacesException: javax.el.ELException:
/incl/tabs/document_relations.xhtml @12,62 rendered="#{(empty
relationActions.outgoingStatementsInfo) and (empty
relationActions.incomingStatementsInfo)}":
org.nuxeo.ecm.core.api.ClientException: com.hp.hpl.jena.db.RDFRDBException:
Failed to lock database after 5 attempts.</address>
Try later or else call DriverRDB.unlockDB() after ensuring</address>
that no other Jena applications are using the database.</address>
at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:880)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
at
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181)
at
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
Thanks.
Jorge Isi
--
Posted by "jisi" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2420#6566>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm