error when caling http service with latest Basex version ( Basex 8.6 beta baadd29)
Saturday, 12 November 2016 · 2 messages
RS
Rob Stapper12 Nov 2016 09:49 #
When calling the http-srvice through my browser with:
http://robstapper.ddns.net:8984, I get an error-message from the service, see below, with the latest Basex version: Basex 8.6 beta baadd29.
HTTP ERROR 500
Problem accessing /. Reason:
Server Error
Caused by:
java.lang.NoSuchMethodError:
org.basex.query.QueryContext.parse(Ljava/lang/String;Ljava/lang/String;Lorg/
basex/query/StaticContext;)Lorg/basex/query/Module; at org.basex.http.restxq.RestXqModule.qc(RestXqModule.java:120)
at org.basex.http.restxq.RestXqModule.parse(RestXqModule.java:49)
at org.basex.http.restxq.RestXqModules.cache(RestXqModules.java:189)
at org.basex.http.restxq.RestXqModules.cache(RestXqModules.java:175)
at org.basex.http.restxq.RestXqModules.cache(RestXqModules.java:175)
at org.basex.http.restxq.RestXqModules.cache(RestXqModules.java:151)
at org.basex.http.restxq.RestXqModules.find(RestXqModules.java:65)
at org.basex.http.restxq.RestXqServlet.run(RestXqServlet.java:39)
at org.basex.http.BaseXServlet.service(BaseXServlet.java:65)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137 )
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java :231)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java :1086)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java: 193)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java: 1020)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135 )
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:1 16)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpCo nnection.java:494)
at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpC onnection.java:971)
at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplet e(AbstractHttpConnection.java:1033)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:231)
at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java :82)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint. java:696)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.j ava:53)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java: 608)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:5 43)
at java.lang.Thread.run(Unknown Source)
_____
Powered by Jetty://
CG
Christian Grün12 Nov 2016 09:52 #
Java errors (in contrast to exceptions) indicate that something is going in your configuration. I think the problems should be solved after you have set up a clean environment and try it again…
Quoted text · Rob Stapper · 125 lines
On Sat, Nov 12, 2016 at 9:49 AM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > When calling the http-srvice through my browser with: > http://robstapper.ddns.net:8984, I get an error-message from the service, > see below, with the latest Basex version: Basex 8.6 beta baadd29. > > > > HTTP ERROR 500 > > Problem accessing /. Reason: > > Server Error > > Caused by: > > java.lang.NoSuchMethodError: > org.basex.query.QueryContext.parse(Ljava/lang/String;Ljava/lang/String;Lorg/basex/query/StaticContext;)Lorg/basex/query/Module; > > at org.basex.http.restxq.RestXqModule.qc(RestXqModule.java:120) > > at org.basex.http.restxq.RestXqModule.parse(RestXqModule.java:49) > > at org.basex.http.restxq.RestXqModules.cache(RestXqModules.java:189) > > at org.basex.http.restxq.RestXqModules.cache(RestXqModules.java:175) > > at org.basex.http.restxq.RestXqModules.cache(RestXqModules.java:175) > > at org.basex.http.restxq.RestXqModules.cache(RestXqModules.java:151) > > at org.basex.http.restxq.RestXqModules.find(RestXqModules.java:65) > > at org.basex.http.restxq.RestXqServlet.run(RestXqServlet.java:39) > > at org.basex.http.BaseXServlet.service(BaseXServlet.java:65) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) > > at > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) > > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) > > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) > > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) > > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) > > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) > > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) > > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) > > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) > > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) > > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) > > at org.eclipse.jetty.server.Server.handle(Server.java:370) > > at > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) > > at > org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971) > > at > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033) > > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) > > at > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:231) > > at > org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) > > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696) > > at > org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53) > > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) > > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) > > at java.lang.Thread.run(Unknown Source) > > ________________________________ > > Powered by Jetty:// > > > > > > > > > > > > > > > > > >
Written for BaseX 8.5. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery