From: christophe g. <chr...@e-...> - 2012-10-09 08:01:57
|
In my conf.xml : ... <!-- EXQuery RESTXQ trigger to load the RESTXQ Registry at startup time --> <!--trigger class="org.exist.extensions.exquery.restxq.impl.RestXqStartupTrigger"/--> ... <!-- EXQuery Modules --> <!-- RESTXQ --> <!--module uri="http://exquery.org/ns/restxq" class="org.exist.extensions.exquery.restxq.impl.xquery.RestXqModule"/--> So, I presume restxq is disabled. But I do see some restxq error message in exist.log, especially when I save modules having dependencies, e.g. like the one below. That was actually the reason why I tried to investigate circular module dependencies: I suspect this issue is causing delays in committing modules and eventually lead to db lock and corruption as reported previously by Dan McCreary. Cheers and thanks for the attention, C. 2012-10-09 08:59:51,847 [eXistThread-45] DEBUG (XQueryContext.java [importModule]:2685) - Module http://e-smile.org/common/session already present. 2012-10-09 08:59:51,850 [eXistThread-45] DEBUG (XQueryContext.java [compileModule]:2855) - Loading module from map-extensions.xqm 2012-10-09 08:59:51,861 [eXistThread-45] DEBUG (XQueryContext.java [compileModule]:2855) - Loading module from 2012-10-09 08:59:52,098 [eXistThread-45] WARN (Type.java [getSuperType]:396) - no supertype for empty() java.lang.Throwable at org.exist.xquery.value.Type.getSuperType(Type.java:396) at org.exist.xquery.value.Type.getCommonSuperType(Type.java:422) at org.exist.xquery.ConditionalExpression.returnsType(ConditionalExpression.java:149) at org.exist.xquery.PathExpr.returnsType(PathExpr.java:393) at org.exist.xquery.CastExpression.<init>(CastExpression.java:54) at org.exist.xquery.FunctionFactory.castExpression(FunctionFactory.java:294) at org.exist.xquery.FunctionFactory.createFunction(FunctionFactory.java:87) at org.exist.xquery.FunctionFactory.createFunction(FunctionFactory.java:53) at org.exist.xquery.parser.XQueryTreeParser.functionCall(XQueryTreeParser.java:9586) at org.exist.xquery.parser.XQueryTreeParser.primaryExpr(XQueryTreeParser.java:6857) at org.exist.xquery.parser.XQueryTreeParser.expr(XQueryTreeParser.java:3482) at org.exist.xquery.parser.XQueryTreeParser.functionDecl(XQueryTreeParser.java:5477) at org.exist.xquery.parser.XQueryTreeParser.prolog(XQueryTreeParser.java:4673) at org.exist.xquery.parser.XQueryTreeParser.libraryModule(XQueryTreeParser.java:3937) at org.exist.xquery.parser.XQueryTreeParser.module(XQueryTreeParser.java:3773) at org.exist.xquery.parser.XQueryTreeParser.xpath(XQueryTreeParser.java:3562) at org.exist.xquery.XQueryContext.compileModule(XQueryContext.java:2887) at org.exist.xquery.XQueryContext.compileOrBorrowModule(XQueryContext.java:2823) at org.exist.xquery.XQueryContext.resolveInEXPathRepository(XQueryContext.java:364) at org.exist.xquery.XQueryContext.importModule(XQueryContext.java:2690) at org.exist.xquery.parser.XQueryTreeParser.importDecl(XQueryTreeParser.java:5593) at org.exist.xquery.parser.XQueryTreeParser.prolog(XQueryTreeParser.java:4666) at org.exist.xquery.parser.XQueryTreeParser.libraryModule(XQueryTreeParser.java:3937) at org.exist.xquery.parser.XQueryTreeParser.module(XQueryTreeParser.java:3773) at org.exist.xquery.parser.XQueryTreeParser.xpath(XQueryTreeParser.java:3562) at org.exist.xquery.XQueryContext.compileModule(XQueryContext.java:2887) at org.exist.xquery.XQueryContext.compileOrBorrowModule(XQueryContext.java:2823) at org.exist.xquery.XQueryContext.importModule(XQueryContext.java:2745) at org.exist.xquery.parser.XQueryTreeParser.importDecl(XQueryTreeParser.java:5593) at org.exist.xquery.parser.XQueryTreeParser.prolog(XQueryTreeParser.java:4666) at org.exist.xquery.parser.XQueryTreeParser.libraryModule(XQueryTreeParser.java:3937) at org.exist.xquery.parser.XQueryTreeParser.module(XQueryTreeParser.java:3773) at org.exist.xquery.parser.XQueryTreeParser.xpath(XQueryTreeParser.java:3562) at org.exist.xquery.XQueryContext.compileModule(XQueryContext.java:2887) at org.exist.xquery.XQueryContext.compileOrBorrowModule(XQueryContext.java:2823) at org.exist.xquery.XQueryContext.importModule(XQueryContext.java:2745) at org.exist.xquery.parser.XQueryTreeParser.importDecl(XQueryTreeParser.java:5593) at org.exist.xquery.parser.XQueryTreeParser.prolog(XQueryTreeParser.java:4666) at org.exist.xquery.parser.XQueryTreeParser.libraryModule(XQueryTreeParser.java:3937) at org.exist.xquery.parser.XQueryTreeParser.module(XQueryTreeParser.java:3773) at org.exist.xquery.parser.XQueryTreeParser.xpath(XQueryTreeParser.java:3562) at org.exist.xquery.XQueryContext.compileModule(XQueryContext.java:2887) at org.exist.xquery.XQueryContext.compileOrBorrowModule(XQueryContext.java:2823) at org.exist.xquery.XQueryContext.importModule(XQueryContext.java:2745) at org.exist.xquery.parser.XQueryTreeParser.importDecl(XQueryTreeParser.java:5593) at org.exist.xquery.parser.XQueryTreeParser.prolog(XQueryTreeParser.java:4666) at org.exist.xquery.parser.XQueryTreeParser.libraryModule(XQueryTreeParser.java:3937) at org.exist.xquery.parser.XQueryTreeParser.module(XQueryTreeParser.java:3773) at org.exist.xquery.parser.XQueryTreeParser.xpath(XQueryTreeParser.java:3562) at org.exist.xquery.XQuery.compile(XQuery.java:157) at org.exist.xquery.XQuery.compile(XQuery.java:106) at org.exist.xquery.XQuery.compile(XQuery.java:90) at org.exist.extensions.exquery.restxq.impl.XQueryCompiler.compile(XQueryCompiler.java:83) at org.exist.extensions.exquery.restxq.impl.RestXqTrigger.findServices(RestXqTrigger.java:217) at org.exist.extensions.exquery.restxq.impl.RestXqTrigger.after(RestXqTrigger.java:155) at org.exist.extensions.exquery.restxq.impl.RestXqTrigger.afterUpdateDocument(RestXqTrigger.java:105) at org.exist.collections.triggers.DocumentTriggersVisitor.afterUpdateDocument(DocumentTriggersVisitor.java:98) at org.exist.collections.Collection.addBinaryResource(Collection.java:1887) at org.exist.collections.Collection.addBinaryResource(Collection.java:1806) at org.exist.collections.Collection.addBinaryResource(Collection.java:1794) at org.exist.collections.Collection.addBinaryResource(Collection.java:1788) at org.exist.xmlrpc.RpcConnection.storeBinary(RpcConnection.java:2413) at org.exist.xmlrpc.RpcConnection.storeBinary(RpcConnection.java:2376) at org.exist.xmlrpc.RpcConnection.storeBinary(RpcConnection.java:5061) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.invoke(ReflectiveXmlRpcHandler.java:115) at org.apache.xmlrpc.server.ReflectiveXmlRpcHandler.execute(ReflectiveXmlRpcHandler.java:106) at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:46) at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86) at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200) at org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:112) at org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:196) at org.exist.xmlrpc.RpcServlet.doPost(RpcServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:542) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:224) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:98) at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47) at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:211) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:499) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111) at org.eclipse.jetty.server.Server.handle(Server.java:350) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:851) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538) at java.lang.Thread.run(Thread.java:662) On Tue, Oct 9, 2012 at 8:51 AM, Dmitriy Shabanov <sha...@gm...>wrote: > restxq enabled? > > > On Tue, Oct 9, 2012 at 11:34 AM, christophe geiser < > chr...@e-...> wrote: > >> Oups, that make sense to ask... >> Latest trunk, rev 17278. >> > > -- > Dmitriy Shabanov > -- Christophe Geiser, social entrepreneur e-Smile, solutions in monitoring and information management -- |