Use the derby.drda.maxThreads property to set a maximum number
of connection threads that Network Server will allocate. If all of the connection
threads are currently being used and the Network Server has already allocated
the maximum number of threads, the threads will be shared by using the derby.drda.timeslice property to determine when sessions will be swapped.
Syntax
derby.drda.maxThreads=numthreads
Example
derby.drda.maxThreads=50
Static or dynamic
Static. You must restart the Network Server for changes to take effect.