Changes

Jump to navigation Jump to search
316 bytes removed ,  15:01, 25 July 2022
* If you have installed BaseX on ''Windows'', click on the '''BaseX HTTP Server (Start)''' icon.
Various Both an instance of [https://www.eclipse.org/jetty/ Jetty] and BaseX [[Command-Line_Options#HTTP Database Server|command-line options]] are available will be started. By default, Jetty listens to simplify batch processing. The the port 8080, and the [[Start_ScriptsDatabase Server|start scriptBaseX Database Server]] is accessible on port {{Code|1984}}. After startup, you can be adjusted for individual purposes (e.g. if the default memory limit is too restrictive)access a plain HTML welcome page via http://localhost:8080.
An instance of the [https://wwwUnless you have already chosen an admin password yet (e.eclipseg.org/jetty/ Jetty Web Server] will be started, which by default listens to via the port 8080. AdditionallyWindows installer or a previous installation), you can do so by invoking the BaseX [[Database Server]] will be started, accessible on port {{CodeCommand|1984PASSWORD}}. The command-line output will look something like that (the JSP warning message [https://stackoverflow.com/questions/3521654/missing-jsp-support-in-jetty-or-confusing-log-message can be ignored])on your terminal:
<syntaxhighlight lang="xml"pre>basexhttp -c PASSWORD
BaseX [HTTP Server]
[main] INFO org.eclipse.jetty.util.log - Logging initialized @375ms to org.eclipse.jetty.util.log.Slf4jLog
[main] INFO org.eclipse.jetty.server.Server - jetty-9.4.21.v20190926; built: 2019-09-26T16:41:09.154Z; git: 72970db61a2904371e1218a95a3bef5d79788c33; jvm 13+33
[main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
...
[main] INFO org.eclipse.jetty.util.log - Logging initialized @239ms to org.eclipse.jetty.util.log.Slf4jLog...HTTP STOP Server was started (port: 19848081).
HTTP Server was started (port: 8080).
HTTP STOP Server was started (portPassword: 8081)._</syntaxhighlightpreAfter startup, you can access an HTML welcome page via http://localhost:8080.
The Jetty logging level can be adjusted by adding the following properties to the start script:
-Dorg.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.StdErrLog -D{classref}.LEVEL=DEBUG
</syntaxhighlight>
 
Various [[Command-Line_Options#HTTP Server|command-line options]] are available to simplify batch processing. The [[Start_Scripts|start script]] can be adjusted for individual purposes (e.g. if the default memory limit is too restrictive).
BaseX can also be deployed as web servlet in a servlet container or with Maven:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu