Hi,
I'm trying to activate CACHERESTXQ option while launching from "basexhttp".
If I start only "basexserver", CACHERESTXQ value is successfully read it
from my .basex configuration file and applied. From the client, "get
CACHERESTXQ" return true.
If launched from "basexhttp" (see logs below), it read the good value
while launching basexhttp. It then start itself the server part. And
what's strange, is that the debug show again CACHERESTXQ variable but
this time setted to false.
Am I doing something wrong?
Should this option be set in another way? jetty.xml?
Thanks for your help.
Mathieu
-----------------
$ basexhttp -d
DEBUG: true
CACHERESTXQ: true
TEXTINCLUDE: gk,geokret,waypoint
UPDINDEX: true
AUTOOPTIMIZE: true
ATTRINCLUDE:
id,waypoint,lat,lon,latitude,longitude,missing,state,date,ownername
Creating Database...
. 13.66 ms (12976 KB)
BaseX 8.4.4 [HTTP Server]
[main] INFO org.eclipse.jetty.server.Server - jetty-8.1.18.v20150929
[main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO
JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
LOG: false
WEBPATH: /srv/BaseXWeb
DEBUG: true
CACHERESTXQ: false
TEXTINCLUDE: gk,geokret,waypoint
UPDINDEX: true
AUTOOPTIMIZE: true
ATTRINCLUDE:
id,waypoint,lat,lon,latitude,longitude,missing,state,date,ownername
Server was started (port: 1984).
[main] INFO org.eclipse.jetty.server.AbstractConnector - Started
SelectChannelConnector@0.0.0.0:8984
HTTP Server was started (port: 8984).
^CHTTP Server was stopped (port: 8984).
Server was stopped (port: 1984).
From another console:
$ basexclient
Username: admin
Password:
BaseX 8.4.4 [Client]
Try 'help' to get more information.
>
> get CACHERESTXQ
CACHERESTXQ: false
$ cat .basex
# General Options
DEBUG = false
DBPATH = /srv/BaseXData
LOGPATH = .logs
REPOPATH = /srv/BaseXRepo
LANG = English
LANGKEYS = false
GLOBALLOCK = false
# Client/Server Architecture
HOST = localhost
PORT = 1984
SERVERPORT = 1984
USER =
PASSWORD =
SERVERHOST =
PROXYHOST =
PROXYPORT = 0
NONPROXYHOSTS =
IGNORECERT = false
TIMEOUT = 30
KEEPALIVE = 600
PARALLEL = 8
LOG = false
LOGMSGMAXLEN = 1000
ASYNCTIMEOUT = 3600
# HTTP Services
WEBPATH = /srv/BaseXWeb
RESTPATH =
RESTXQPATH =
HTTPLOCAL = false
STOPPORT = 8985
AUTHMETHOD = Basic
# Local Options
AUTOOPTIMIZE = true
UPDINDEX = true
TEXTINCLUDE = gk,geokret,waypoint
ATTRINCLUDE =
id,waypoint,lat,lon,latitude,longitude,missing,state,date,ownername
CACHERESTXQ = true