mailman.uni-konstanz.de
Sign In Sign Up
  • Sign In
  • Sign Up
  • Manage this list

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

2025

  • July
  • June
  • May
  • April
  • March
  • February
  • January

2024

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2023

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2022

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2021

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2020

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2019

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2018

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2017

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2016

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2015

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2014

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2013

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2012

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2011

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January

2010

  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
List overview
Download
thread

None

None
27 Jan 2025 27 Jan '25
7:58 a.m.

I general, the integration of JaxRx has been simplified and generalized a lot since Version 6.1. If you're working with the sources, you can checkout the main and api package and directly run the contained basexrest(.bat) script. Otherwise, you'll need to...

1. get basex.jar and basex-jar.api: http://basex.org/download

2. get one of the start scripts (win or linux/mac): https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/basexrest.bat https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/basexrest

3. get the external libraries referenced from the start script: https://svn.uni-konstanz.de/dbis/basex/trunk/api/lib/

Hope this helps, Christian

2010/12/13 Mahender Didwania mahender@didwania.co.uk:

...

Hi,

Two things:

Earlier I was using version 6.2.9 and the class StartJaxRx.java seemed to=

work fine. =A0The need is to have the ability to invoke the server from a = script.

...

I can't find the StartJaxRx in 6.3.3 any more. =A0Using the old class wit=

h 6.3.3, the server says it started up fine, but when I attempt to access i= t over HTTP/REST, I get error for /basex/jax-rx (note that /basex/ is okay)= :

...

Problem accessing /basex/jax-rx/. Reason:

=A0 =A0tried to access method org.basex.server.ClientSession.execute(Ljav=

a/lang/String;Ljava/io/OutputStream;)V from class org.basex.api.jaxrx.BXOut= put

...

Caused by:

java.lang.IllegalAccessError: tried to access method org.basex.server.Cli=

entSession.execute(Ljava/lang/String;Ljava/io/OutputStream;)V from class or= g.basex.api.jaxrx.BXOutput

...

=A0 =A0 =A0 =A0at org.basex.api.jaxrx.BXOutput.exec(BXOutput.java:62) =A0 =A0 =A0 =A0at org.basex.api.jaxrx.BXJaxRx$1.code(BXJaxRx.java:61) =A0 =A0 =A0 =A0at org.basex.api.jaxrx.BXCode.run(BXCode.java:56) =A0 =A0 =A0 =A0at org.basex.api.jaxrx.BXOutput.write(BXOutput.java:51) =A0 =A0 =A0 =A0at com.sun.jersey.core.impl.provider.entity.StreamingOutpu=

tProvider.writeTo(StreamingOutputProvider.java:71)

...

=A0 =A0 =A0 =A0at com.sun.jersey.core.impl.provider.entity.StreamingOutpu=

tProvider.writeTo(StreamingOutputProvider.java:57)

...

=A0 =A0 =A0 =A0at com.sun.jersey.spi.container.ContainerResponse.write(Co=

ntainerResponse.java:299)

...

=A0 =A0 =A0 =A0at com.sun.jersey.server.impl.application.WebApplicationIm=

pl._handleRequest(WebApplicationImpl.java:1326)

...

=A0 =A0 =A0 =A0at com.sun.jersey.server.impl.application.WebApplicationIm=

pl.handleRequest(WebApplicationImpl.java:1239)

...

=A0 =A0 =A0 =A0at com.sun.jersey.server.impl.application.WebApplicationIm=

pl.handleRequest(WebApplicationImpl.java:1229)

...

=A0 =A0 =A0 =A0at com.sun.jersey.spi.container.servlet.WebComponent.servi=

ce(WebComponent.java:420)

...

=A0 =A0 =A0 =A0at com.sun.jersey.spi.container.servlet.ServletContainer.s=

ervice(ServletContainer.java:497)

...

=A0 =A0 =A0 =A0at com.sun.jersey.spi.container.servlet.ServletContainer.s=

ervice(ServletContainer.java:684)

...

=A0 =A0 =A0 =A0at javax.servlet.http.HttpServlet.service(HttpServlet.java=

:820)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.servlet.ServletHolder.handle(ServletH=

older.java:511)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.servlet.ServletHandler.handle(Servlet=

Handler.java:401)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.servlet.SessionHandler.handle(Session=

Handler.java:182)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.handler.ContextHandler.handle(Context=

Handler.java:766)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.handler.HandlerWrapper.handle(Handler=

Wrapper.java:152)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.Server.handle(Server.java:326) =A0 =A0 =A0 =A0at org.mortbay.jetty.HttpConnection.handleRequest(HttpConn=

ection.java:542)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.HttpConnection$RequestHandler.headerC=

omplete(HttpConnection.java:928)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:=

549)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.=

java:212)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.HttpConnection.handle(HttpConnection.=

java:404)

...

=A0 =A0 =A0 =A0at org.mortbay.jetty.bio.SocketConnector$Connection.run(So=

cketConnector.java:228)

...

=A0 =A0 =A0 =A0at org.mortbay.thread.QueuedThreadPool$PoolThread.run(Queu=

edThreadPool.java:582)

...

For version 6.1, you provide various files, including a .zip, on your web=

site; for 6.3.3, you only provide basex.jar and basex-api.jar. =A0I had ear= lier created my own maven build to include all dependencies (including the = ones from java.net repository), but as noted above, I cannot get 6.3.3 to w= ork. =A0Could you please provide a .zip file for every release like you hav= e for 6.1 on your web-site (merely replacing BaseX61.jar with basex.jar and= BaseX61-jaxrx.jar with basex-api.jar (for 6.3.3 versions) does not seem to= help)?

...

Thanks, Mahender. _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

0 0
Reply

Back to the thread

Back to the list

Powered by HyperKitty version 1.3.7.