Requirements for a single servlet implementation

This configuration is intended for customers who:

  • Want to manage all client connections with one multithreaded process
  • Only expect up to 50 concurrent client connections
  • Want to specify the communications ports the Service Manager implementation uses
  • Want a simple configuration to test servlet features
Number of Service Manager hosts required
This implementation requires the following number of hosts.
1
Parameters required in sm.cfg
You must set the following configuration parameters.
sm -httpPort:<value> - httpsPort:<value>
  • httpPort – identify the communications port that a servlet container process uses to communicate with clients using HTTP. The servlet container communications port must be unique on the host on which you start the servlet container.
  • httpsPort – identify the communications port that a servlet container process uses to communicate with clients using HTTPS. The servlet container communications port must be unique on the host on which you start the servlet container.
Parameters required in sm.ini
You must set the following initialization parameters.
  • sessiontimeout – define the number of minutes a client connection can remain unresponsive before the server closes the connection.
  • threadsperprocess – identify the total number of threads the servlet container process supports. Use a value of threads that maximizes the system resources of your Service Manager host.
    The recommend maximum value for the parameter threads per process is 60. Usually the value of this parameter should be below 50.
Parameters required in web.xml
You must set the following Web parameters.
  • serverHost – identify the host name of the Service Manager host
  • serverPort – identify the communications port on which the Service Manager host listens for client connections requests
Windows client preferences required
You must set the following preferences from the Connection menu.
  • Server host name – identify the host name of the Service Manager host
  • Server port number – identify the communications port on which the Service Manager host listens for client connections requests

Related topics

Servlet implementation
Servlet implementation options
Parameter: httpPort
Parameter: httpsPort