Skip to content

XPathException when running exist-db war on payara application server

I get this stacktrace when starting teipublisher:

StandardWrapperValve[XQueryURLRewrite]: Servlet.service() for servlet XQueryURLRewrite threw exception
org.exist.xquery.XPathException: err:XPST0081 error found while loading module pages: Error while loading module modules/lib/pages.xql: error found while loading module pm-config: Error while loading module ../pm-config.xql: error found while loading module pmu: Error while loading module : error found while loading module odd: Error while loading module : Invalid qname console:log
        at org.exist.xquery.FunctionFactory.createFunction(FunctionFactory.java:49)

I haven't been able to locate where FunctionFactory finds an invalid console:log.

Do you have a hunch what could be the cause? We would realy like to run on a maintained payara instead of built-in jetty.

Could it be console:log isn't declared in one of the files?

Bye, Eduard

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information