05-18-2015 11:56 AM
The message after sudo service nuxeo start
:
Expression nuxeo.server.declare_datasources is undefined on line 51, column 21 in server.xml.nxftl.
The problematic instruction:
----------
==> if !isWizard && nuxeo.server.declare_datasources == "true" [on line 51, column 3 in server.xml.nxftl]
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression nuxeo.server.declare_datasources is undefined on line 51, column 21 in server.xml.nxftl.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
What do I need to do to troubleshoot/repair this problem?
05-18-2015 02:21 PM
You must have a custom overloaded server.xml.nxftl
. There is no nuxeo.server.declare_datasources
anymore in Nuxeo 6.0, it's been changed (with opposite meaning) to nuxeo.db.embeddedDatasources
in NXP-14728.
Take the server.xml.nxftl
from the standard distribution (templates/common-base/conf/server.xml.nxftl
) and re-apply your custom changes to it.
05-18-2015 02:21 PM
You must have a custom overloaded server.xml.nxftl
. There is no nuxeo.server.declare_datasources
anymore in Nuxeo 6.0, it's been changed (with opposite meaning) to nuxeo.db.embeddedDatasources
in NXP-14728.
Take the server.xml.nxftl
from the standard distribution (templates/common-base/conf/server.xml.nxftl
) and re-apply your custom changes to it.
05-18-2015 03:48 PM
Thank you, this is exactly what was wrong. Of course there is a secondary error after this is cleared.
05-18-2015 03:55 PM
Seems as though my local configuration also has a web.xml.nxftl in its conf/
folder -- perhaps this is a similar issue? (We used it to conditionally deploy a servlet filter for request logging)
05-18-2015 04:25 PM
I left out the bottom of the stack trace that was checking for the runtime's initialization status
05-24-2015 11:13 PM
You should carefully review the changes you made in your customized templates. Start with the standard Nuxeo ones and add your customizations one by one to see which one breaks.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.