A Web application archive (WAR) file, derby.war, for the
Network Server is available in $/lib. This
file registers the Network Server's servlet at the relative path /derbynet.
See the documentation for your Application Server for instructions on how
to install it.
For example, if derby.war is installed in WebSphere Application
Server with a context root of derby, the URL of the server
is:
http://<server>[:port]/derby/derbynet
- A servlet engine is not part of the Network Server.
- When the Network Server is started by the servlet interface, shutting down
the Application Server also shuts the Network Server down, since both run in the
same JVM.
The servlet takes the following optional configuration parameters:
- portNumber
- Specifies the port number to be used by the Network Server.
- startNetworkServerOnInit
- Specifies that the Network Server is to be started when the servlet is
initialized.
- tracingDirectory
- Specifies the location for trace files. If the tracing directory is not
specified, the traces are placed in derby.system.home.
This section describes the servlet pages.