W3C home > Mailing lists > Public > public-expath@w3.org > December 2015

Re: Looking to move the examples extension to its own EXPath archive

From: Florent Georges <fgeorges@fgeorges.org>
Date: Fri, 4 Dec 2015 21:01:52 +0100
Message-ID: <CADyR_r3qx4UZhshhk4Hh_ok6bogpgaR5mYYA+-9a6QkM1HODYw@mail.gmail.com>
To: Loren Cahlander <loren.cahlander@gmail.com>
Cc: exist-open <exist-open@lists.sourceforge.net>, EXPath <public-expath@w3.org>
Hi Loren.  The module is not found.  How have you tried to install it
on your eXist instance?

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/


On 4 December 2015 at 20:39, Loren Cahlander wrote:
>
>
> Hello Folks,
>
>
> I am working on a template for creating EXPath archives based on Java
> classes.
>
> It is here:
>
> https://github.com/lcahlander/echo
>
>
> I am currently getting the following error while trying to load:
>
>
> 2015-12-04 10:37:56,753 [eXistThread-42] INFO
> (AbstractExistHttpServlet.java [getOrCreateBrokerPool]:100) - Database
> already started. Skipping configuration ...
> 2015-12-04 10:37:56,753 [eXistThread-42] INFO
> (AbstractExistHttpServlet.java [doGeneralExistServletConfig]:196) - Using
> default user guest for all unauthorized requests.
> 2015-12-04 10:37:56,754 [eXistThread-42] INFO  (XQueryServlet.java
> [init]:162) - encoding = UTF-8
> 2015-12-04 10:37:57,061 [eXistThread-42] ERROR (XQueryServlet.java
> [process]:550) - Cannot compile xquery: exerr:ERROR error found while
> loading module echo: failed to load module:
> 'http://exist-db.org/xquery/echo' from: 'http://exist-db.org/xquery/echo',
> location: 'http://exist-db.org/xquery/echo'. Source not found.
> org.exist.EXistException: Cannot compile xquery: exerr:ERROR error found
> while loading module echo: failed to load module:
> 'http://exist-db.org/xquery/echo' from: 'http://exist-db.org/xquery/echo',
> location: 'http://exist-db.org/xquery/echo'. Source not found.
> at org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:444)
> [exist-optional.jar:?]
> at org.exist.http.servlets.XQueryServlet.doPost(XQueryServlet.java:199)
> [exist-optional.jar:?]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
> [servlet-api-3.0.jar:?]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> [servlet-api-3.0.jar:?]
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
> [jetty-servlet-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
> [jetty-servlet-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575)
> [jetty-security-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
> [jetty-servlet-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:229)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:103)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50)
> [exist-optional.jar:?]
> at
> org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:547)
> [exist-optional.jar:?]
> at
> org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:351)
> [exist-optional.jar:?]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> [servlet-api-3.0.jar:?]
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
> [jetty-servlet-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)
> [jetty-servlet-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> de.betterform.agent.web.filter.XFormsFilter.doFilter(XFormsFilter.java:171)
> [betterform-exist-5.1-SNAPSHOT-20151014.jar:?]
> at
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
> [jetty-servlet-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
> [jetty-servlet-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
> [jetty-security-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
> [jetty-servlet-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at org.eclipse.jetty.server.Server.handle(Server.java:370)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
> [jetty-http-8.1.17.v20150415.jar:8.1.17.v20150415]
> at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
> [jetty-http-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
> [jetty-server-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
> [jetty-io-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
> [jetty-io-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
> [jetty-util-8.1.17.v20150415.jar:8.1.17.v20150415]
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
> [jetty-util-8.1.17.v20150415.jar:8.1.17.v20150415]
> at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
> Caused by: org.exist.xquery.XPathException: exerr:ERROR error found while
> loading module echo: failed to load module:
> 'http://exist-db.org/xquery/echo' from: 'http://exist-db.org/xquery/echo',
> location: 'http://exist-db.org/xquery/echo'. Source not found.
> at org.exist.xquery.XQueryContext.compileModule(XQueryContext.java:2885)
> ~[exist.jar:?]
> at
> org.exist.xquery.XQueryContext.compileOrBorrowModule(XQueryContext.java:2854)
> ~[exist.jar:?]
> at org.exist.xquery.XQueryContext.importModule(XQueryContext.java:2799)
> ~[exist.jar:?]
> at
> org.exist.xquery.parser.XQueryTreeParser.importDecl(XQueryTreeParser.java:5663)
> ~[exist.jar:?]
> at
> org.exist.xquery.parser.XQueryTreeParser.prolog(XQueryTreeParser.java:4693)
> ~[exist.jar:?]
> at
> org.exist.xquery.parser.XQueryTreeParser.mainModule(XQueryTreeParser.java:3963)
> ~[exist.jar:?]
> at
> org.exist.xquery.parser.XQueryTreeParser.module(XQueryTreeParser.java:3908)
> ~[exist.jar:?]
> at
> org.exist.xquery.parser.XQueryTreeParser.xpath(XQueryTreeParser.java:3569)
> ~[exist.jar:?]
> at org.exist.xquery.XQuery.compile(XQuery.java:142) ~[exist.jar:?]
> at org.exist.xquery.XQuery.compile(XQuery.java:91) ~[exist.jar:?]
> at org.exist.xquery.XQuery.compile(XQuery.java:75) ~[exist.jar:?]
> at org.exist.http.servlets.XQueryServlet.process(XQueryServlet.java:441)
> ~[exist-optional.jar:?]
> ... 46 more
>
>
> Can you take a look and suggest any changes?
>
>
> I am planning on moving the SQL function module to its own EXPath archive.
> I have some additions for harvesting a databases structure.
>
> Thanks,
> Loren
>
>
Received on Friday, 4 December 2015 20:02:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:47:39 UTC