Appendix B Repository Properties Reference
Servlet
property names begin with com.sybase.jaguar.servlet
. Servlet
properties apply to servlet entities defined in the EAServer installed
servlets folder (com.sybase.jaguar.server.servlets
property),
as well as to servlets and JSPs installed in a Web application (com.sybase.jaguar.webapplication.webcomponents
property).
Enables and disables servlet response caching.
To enable caching:
CtsComponents/PageCache
No value means caching is disabled.
When response caching is enabled, specifies whether to include the accept-languages header in the cache key.
true
or false
.
The default is false
.
com.sybase.jaguar.servlet.cache
When response caching is enabled, specifies message service topic names used to synchronize the cache with an external storage mechanism such as a database.
A comma-separated list of topic names.
com.sybase.jaguar.servlet.cache
When response caching is enabled, specifies request headers to include in the cache key.
A comma-separated list of request headers. For example, if
you include date
, EAServer
looks for cache entries whose date headers match the request's
date header.
com.sybase.jaguar.servlet.cache
When response caching is enabled, specifies request parameters to include in the cache key.
A comma-separated list of parameter names, or "*" to include all of them.
com.sybase.jaguar.servlet.cache
When response caching is enabled, specifies session attributes to include in the cache key.
A comma-separated list of attribute names, or "*" to include all of them.
com.sybase.jaguar.servlet.cache
When response caching is enabled, specifies the cache timeout value.
The timeout value in seconds. A value of 0 indicates infinity.
com.sybase.jaguar.servlet.cache
When response caching is enabled, specifies whether to include the session ID in the cache key.
true
or false
.
The default is false
.
com.sybase.jaguar.servlet.cache
An optional description of the servlet or JSP.
The descriptive text.
Overrides the server-wide servlet destroy timeout setting for this servlet.
Same as the server property com.sybase.jaguar.server.servlet.destroy-wait-time.
Specifies additional files to be included if this servlet is archived or replicated to another installation using the synchronize feature.
Same as for the com.sybase.jaguar.applicationclient.files component property.
com.sybase.jaguar.component.files, com.sybase.jaguar.webapplication.files
Specifies initialization parameters for the servlet.
Same as for the com.sybase.jaguar.filter.init-param filter property.
com.sybase.jaguar.filter.init-param
Overrides the server-wide servlet initialization timeout for this servlet.
Same as the server property com.sybase.jaguar.server.servlet.init-timeout.
Specifies the servlet implementation class.
The Java class name, for example:
com.acme.SearchServlet
com.sybase.jaguar.servlet.java.classes
Specifies additional classes to be reloaded when the servlet is refreshed.
Same as for the com.sybase.jaguar.application.java.classes component property.
com.sybase.jaguar.servlet.java.class,
com.sybase.jaguar.component.java.classes
If this servlet is generated from a JSP file, specifies the .jsp file name.
The file name, including the path relative to the Web application's context root directory. For example:
annotation/annotated_account.jsp
com.sybase.jaguar.servlet.servletorjsp
Specifies the name of the large icon file associated with the servlet. This property is not used in EAServer, but accommodated to comply with the Servlet 2.3 Web archive descriptor.
A file name.
Specifies whether the servlet is loaded at server start-up time, or after the first client request.
Value | To specify |
---|---|
No value. | The servlet is not loaded at start-up. |
0 | Load at start-up, with unspecified position relative to other servlets loaded at start-up. |
A positive integer. | Load at start-up, with specified position relative to other servlets loaded at start-up. |
The servlet name.
For a servlet in a Web application:
web-app/servlet
For a servlet not in a Web application:
servlet
Where servlet is the servlet name as displayed in Jaguar Manager, and web-app is the Web application name.
Specifies the run-as identity used for component calls. If this property is not set, intercomponent calls use the client identity.
(specified=id,role=role-name,desc=desc)
Where:
id | Is a logical identity name which must
be mapped to an EAServer identity by setting a corresponding package
property, com.sybase.jaguar.webapplication.runasidentity.<id> where <id>
is
the logical identity name.
|
role-name | Is a logical role name which must be
mapped to an EAServer role by setting a corresponding Web application
property, com.sybase.jaguar.webapplication.security-role.<j2ee-role> where <j2ee-role>
is
the logical role name. The mapping can also be established by setting
the application property com.sybase.jaguar.application.security-role.<j2ee-role>.
The mapped EAServer identity should be in the mapped EAServer role. |
desc | Is an optional description of the run-as authorization requirement. The description can help users when the Web application is deployed to another server, and the deployer must choose a different identity mapping. |
com.sybase.jaguar.webapplication.runasidentity.<id>,
com.sybase.jaguar.webapplication.security-role.<j2ee-role>,
com.sybase.jaguar.application.security-role.<j2ee-role>
Specifies whether this servlet is generated from a JSP.
Value | To indicate |
---|---|
SERVLET
|
A servlet |
JSP
|
A JSP |
com.sybase.jaguar.servlet.jsp-file
For servlets not in a Web application, specifies whether the servlet can use sessions.
true
or false
.
The default is false
.
For Web application servlets, sessions are always enabled.
For servlets not in a Web application, specifies the session timeout.
The timeout value in seconds. A value of 0 indicates infinity.
For Web application servlets, the Web application com.sybase.jaguar.webapplication.session-config property specifies the session timeout value.
com.sybase.jaguar.webapplication.session-config
Specifies whether an instance of the servlet class can be run simultaneously on multiple threads.
true
or false
.
The default is false
.
com.sybase.jaguar.servlet.singlethread.poolsize
If the servlet is single-threaded, specifies the number of threads to run the servlet on. More threads may decrease the average client response time by eliminating the need to serialize requests.
A positive integer, or 0 to indicate no limit. The default is 1.
com.sybase.jaguar.servlet.singlethread
Specifies the name of the small icon file associated with the servlet. This property is not used in EAServer, but accommodated to comply with the Servlet 2.3 Web archive descriptor.
A file name.
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |