background image
<< Start-up page | Running the Network Server >>

Trace session page

<< Start-up page | Running the Network Server >>
Derby Server and Administration Guide
42
· Specify session to trace. (If you choose this option, the Trace session page is
displayed.)
· Change tracing directory (If you choose this option, the Trace directory page is
displayed.)
· Specify threading parameters for Network Server. (If you choose this option, the
Thread parameters page is displayed.)
· Stop the Network Server.
Trace session page
If on the running page you choose to specify a session to trace, this page is displayed.
You must enter the Session ID.
You are given the option to turn tracing on or off or return to the previous menu. When
you push the Trace On/Off button, information indicating the current tracing state is
displayed.
Trace directory page
This page is displayed if the you choose to change the tracing directory on the Running
page. You must enter the Trace Directory.
You can either set a tracing directory, or you can return to the previous menu. Additional
information is displayed that indicates the current tracing directory when you push the Set
Directory button.
Set Network Server parameters
The first page is displayed if the thread parameter button is pressed. Use this page to set
the new parameters. Enter the following information:
· New maximum number of threads
· New thread time slice
If either the maximum threads or time slice parameters are left blank, that value is left
unchanged from the current setting.
Click Set Network Server parameters to display the updated values for the maximum
threads and the time slice parameters.
Derby Network Server advanced topics
This section discusses several advanced topics for users of the Derby Network Server.
Network Server security
By default, the Derby Network Server will only listen on the localhost. Clients must
use the localhost host name to connect. By default, clients cannot access the
Network Server from another host. To enable connections from other hosts, set the
derby.drda.host property, or start the Network Server with the
-h
option in the
java
org.apache.derby.drda.NetworkServerControl start
command.
In the following example the server will listen only on localhost and clients cannot access
the server from another host.
java org.apache.derby.drda.NetworkServerControl start