how to start and configure Jetty?

Monday, 22 June 2020 · 2 messages
N
Nicholas22 Jun 2020 04:27 #
I don't quite understand what it means for Jetty to be "embedded" in or with BaseX, but presumably there's a configuration? I see: |DEBUG =falseDBPATH =/home/nicholas/basex/data LOGPATH =.logs REPOPATH =/home/nicholas/basex/repo LANG =EnglishLANGKEYS =falseFAIRLOCK =falseCACHETIMEOUT =3600#Client/ServerArchitectureHOST =localhost PORT =1984SERVERPORT =1984USER =PASSWORD =SERVERHOST =PROXYHOST =PROXYPORT =0NONPROXYHOSTS =IGNORECERT =falseIGNOREHOSTNAME =falseTIMEOUT =30KEEPALIVE =600PARALLEL =8LOG =trueLOGMSGMAXLEN =1000#HTTP ServicesWEBPATH =/home/nicholas/basex/webapp RESTPATH =RESTXQPATH =PARSERESTXQ =3HTTPLOCAL =falseSTOPPORT =8985AUTHMETHOD =Basic but there's nothing actually at WEBPATH, no directory. Perhaps RESTXQPATH requires configuration? Really, just guessing. See also: https://askubuntu.com/q/1252599/847449 If I installed BaseX with apt, should it also pull in Jetty, then? thanks, Nick |
CG
Christian Grün22 Jun 2020 09:29 #
Hi Nick, If you want to use the BaseX HTTP Server with Ubuntu, you should install our own full distributions [1,2]. Best, Christian [1] https://docs.basex.org/wiki/Startup#Full_Distributions [2] https://docs.basex.org/wiki/Web_Application
Quoted text · Nicholas · 56 lines
On Mon, Jun 22, 2020 at 2:27 AM Nicholas <saunders.nicholas at gmail.com> wrote: > > I don't quite understand what it means for Jetty to be "embedded" in or with BaseX, but presumably there's a configuration? > > > I see: > > > DEBUG = false > DBPATH = /home/nicholas/basex/data > LOGPATH = .logs > REPOPATH = /home/nicholas/basex/repo > LANG = English > LANGKEYS = false > FAIRLOCK = false > CACHETIMEOUT = 3600 > > # Client/Server Architecture > HOST = localhost > PORT = 1984 > SERVERPORT = 1984 > USER = > PASSWORD = > SERVERHOST = > PROXYHOST = > PROXYPORT = 0 > NONPROXYHOSTS = > IGNORECERT = false > IGNOREHOSTNAME = false > TIMEOUT = 30 > KEEPALIVE = 600 > PARALLEL = 8 > LOG = true > LOGMSGMAXLEN = 1000 > > # HTTP Services > WEBPATH = /home/nicholas/basex/webapp > RESTPATH = > RESTXQPATH = > PARSERESTXQ = 3 > HTTPLOCAL = false > STOPPORT = 8985 > AUTHMETHOD = Basic > > but there's nothing actually at WEBPATH, no directory. Perhaps RESTXQPATH requires configuration? Really, just guessing. See also: > > https://askubuntu.com/q/1252599/847449 > > > If I installed BaseX with apt, should it also pull in Jetty, then? > > > > thanks, > > Nick

⚡Generated with XQuery