EAServer calls each servlet’s destroy method before shutting down or after you have refreshed or stopped the servlet using EAServer Manager. If service calls are still active, the Destroy Timeout setting specifies the number of seconds that the server should wait for the service calls to return before calling the destroy method. The default behavior specifies that the server wait indefinitely for service calls to return. You can specify a finite timeout by setting these properties:
For the server, the Destroy Timeout setting on the Servlets tab in the EAServer Manager Server Properties dialog box specifies a timeout for servlets that are installed directly in the server. You can also set this property as com.sybase.jaguar.server.servlet.destroy-wait-time using jagtool.
For the Web application, the Destroy Timeout setting on the General tab in the EAServer Web Application Properties dialog box specifies a timeout for servlets in the Web application. You can also set this property as com.sybase.jaguar.webapplication.destroy-wait-time using jagtool.
For individual servlets, the com.sybase.jaguar.servlet.destroy.wait-time property, set using jagtool or on the Advanced tab in the EAServer Manager Web Component Properties dialog box.
To specify a timeout, set the property to a positive integer, which specifies the number of seconds to wait. The default is 0, which specifies that EAServer calls destroy immediately.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |