Appendix B Repository Properties Reference


Web application properties

Description

Web application property names begin with com.sybase.jaguar.webapplication .


com.sybase.jaguar.webapplication.application

Description

The application where this Web application is installed.

Syntax

The application name, or no value if the Web application is not installed in any application.

Usage

A Web application can be installed in one application, or directly to one or more servers. A Web application cannot be installed both directly in a server and to an application.

See Also

com.sybase.jaguar.application.webapplications,
com.sybase.jaguar.server.webapplications


com.sybase.jaguar.webapplication.cache.locale-sensitive

Description

For installed servlets, specifies the default for the servlet property com.sybase.jaguar.servlet.cache.locale-sensitive.

Syntax

See com.sybase.jaguar.servlet.cache.locale-sensitive.


com.sybase.jaguar.webapplication.cache.message-topics

Description

For installed servlets, specifies the default for the servlet property com.sybase.jaguar.servlet.cache.message-topics.

Syntax

See com.sybase.jaguar.servlet.cache.message-topics.


com.sybase.jaguar.webapplication.cache.request-headers

Description

For installed servlets, specifies the default for the servlet property com.sybase.jaguar.servlet.cache.request-headers.

Syntax

See com.sybase.jaguar.servlet.cache.request-headers.


com.sybase.jaguar.webapplication.cache.request-parameters

Description

For installed servlets, specifies the default for the servlet property com.sybase.jaguar.servlet.cache.request-parameters.

Syntax

See com.sybase.jaguar.servlet.cache.request-parameters.


com.sybase.jaguar.webapplication.cache.session-attributes

Description

For installed servlets, specifies the default for the servlet property com.sybase.jaguar.servlet.cache.session-attributes.

Syntax

See com.sybase.jaguar.servlet.cache.session-attributes.


com.sybase.jaguar.webapplication.cache.timeout

Description

For installed servlets, specifies the default for the servlet property com.sybase.jaguar.servlet.cache.timeout.

Syntax

See com.sybase.jaguar.servlet.cache.timeout.


com.sybase.jaguar.webapplication.cache.use-sessionid

Description

For installed servlets, specifies the default for the servlet property com.sybase.jaguar.servlet.cache.use-sessionid.

Syntax

See com.sybase.jaguar.servlet.cache.use-sessionid.


com.sybase.jaguar.webapplication.context-param

Description

Specifies the context initialization parameters for the servlets in the Web application.

Syntax

Same as the servlet property com.sybase.jaguar.server.servlet.context-param.

Usage

All servlets and JSPs in a Web application share a common set of context initialization properties specified by the deployment descriptor. Servlet code can retrieve the values by calling the getInitParamers() and getInitParameterNames() methods in interface javax.Servlet.ServletContext.

Environment properties can be used for the same purpose as context-initialization properties, and allow additional datatypes besides java.lang.String.

See com.sybase.jaguar.server.servlet.context-param for an explanation of context parameters.

See Also

com.sybase.jaguar.webapplication.env-entry


com.sybase.jaguar.webapplication.context-path

Description

The request-path prefix that clients use in URLs to access your Web application's static content, servlets, and JSPs.

Syntax

The context path, which must be a string containing no path separators. For example, if you enter "estore," users access your Web application with the prefix:

http://host:port/estore/

The default context path is the name of the Web application.


com.sybase.jaguar.webapplication.cookie.persistence

Description

Specifies whether session data cookies are persistent or temporary.

Syntax

true or false . The default is false , which means cookies are temporary.

Usage

When this property is false (the default), EAServer stores session data in temporary cookies. When set to true, EAServer sends a persistent cookie that expires when the Web application session-timeout setting expires. This property affects only the cookies that EAServer creates to store session data for the Web application (available to servlets and JSPs via request.getSession). It does not affect cookies created explicitly by servlets and JSPs.


com.sybase.jaguar.webapplication.dependencies

Description

Specifies dependencies on standard Java extensions.

Syntax

A string of the form:

dep1, dep2, dep3, ...

Where dep1, dep1, dep3 are of the form:

(prefix=name,extension-name=name,specification-version=vnum,specification-vendor=spec-vendor,implementation-version=inum,implementation-vendor-id=impl-vendor-id,implementation-vendor=impl-vendor,implementation-url=impl-url)

Table 15-8 describes the values and the corresponding entries in the manifest.mf file within an extension JAR file.

Table 15-8: Java Extension Properties
Property value Manifest entry Description
name Extension-Name The extension name.
vnum Specification-Version The version number of the specification that the extension conforms to.
spec-vendor Specification-Vendor The company or organization responsible for the specification that the extension conforms to.
inum Implementation-Version The implementation version number.
impl-vendor Implementation-Vendor The company or organization responsible for the implementation.
impl-vendor-id Implementation-Vendor-ID A unique identifier for the company or organization responsible for the implementation. Usually follows the reverse-domain naming convention used in Java packages, for example, "com.sybase."
impl-url Implementation-URL A Web URL to obtain information on the implementation.

com.sybase.jaguar.webapplication.destroy-wait-time

Description

The number of seconds that EAServer should wait for servlet service calls to return before calling the servlet destroy method. Affects all servlets installed in the Web application.

Syntax

The timeout value in seconds. A value of 0 indicates infinity.

See Also

com.sybase.jaguar.webapplication.init-timeout


com.sybase.jaguar.webapplication.distributable

Description

Specifies whether multiple instances of the Web application can run in a distributed server environment on different servers.

Syntax

true or false . The default is false .

Usage

Setting this property to true causes Web client session data to be stored in a remote database, so all servers in a cluster can share the data. Additional configuration is required to configure the datastore. See "Creating Web Applications" in the EAServer Programmer's Guide for more information.


com.sybase.jaguar.webapplication.DOMfactory

Description

Specifies the class name for a custom DOM XML parser factory class.

Syntax

The class name. If the class is in a JAR file, the JAR file name must be listed in the com.sybase.jaguar.webapplication.java.classes property or placed in the WEB-INF/lib directory under the Web application's context root.

See Also

com.sybase.jaguar.webapplication.jagmgr.DOMFactoryChoice,
com.sybase.jaguar.webapplication.SAXfactory,
com.sybase.jaguar.server.XSLTfactory


com.sybase.jaguar.webapplication.ejb-local-ref

Description

Specifies a list of EJB local references that define aliased JNDI names for local EJB components invoked by servlets in the Web application.

Syntax

ejb-ref1, ejb-ref2, ...

Where ejb-ref1, ejb-ref2, and so forth follow the syntax of EJB local reference properties.

Usage

Use this property for beans invoked through the local interface. Use com.sybase.jaguar.webapplication.ejb-ref for beans invoked through the remote interface.

See Also

EJB local reference properties, com.sybase.jaguar.webapplication.ejb-ref


com.sybase.jaguar.webapplication.ejb-ref

Description

Specifies a list of EJB references that define aliased JNDI names for EJB components invoked by servlets in the Web application.

Syntax

ejb-ref1, ejb-ref2, ...

Where ejb-ref1, ejb-ref2, and so forth follow the syntax of EJB reference properties.

Usage

Use this property for beans invoked through the remote interface. Use com.sybase.jaguar.webapplication.ejb-local-ref for beans invoked through the local interface.

See Also

EJB reference properties, com.sybase.jaguar.webapplication.ejb-local-ref


com.sybase.jaguar.webapplication.env-entry

Description

Environment properties allow you to specify global read-only data for use by the servlets in the Web application. Servlets must use JNDI to retrieve environment properties, using the prefix java:comp/env in JNDI lookups.

Syntax

See Environment properties.


com.sybase.jaguar.webapplication.files

Description

Specifies additional files to be included when the Web application is exported into a Jaguar JAR file or replicated using the synchronization feature.

Syntax

Same as com.sybase.jaguar.applicationclient.files.


com.sybase.jaguar.webapplication.filter-mapping

Description

Associates filters with servlets and URL paths.

Syntax

mapping1, mapping2, mapping3, ...

Where mapping1, mapping2, mapping3 are strings of the form:

(description=desc,filter-name=filter,type=pattern-or-servlet)

Where:

See Also

com.sybase.jaguar.webapplication.filters


com.sybase.jaguar.webapplication.filters

Description

Specifies filters installed in this Web application.

Syntax

A comma-separated list of filter names.

See Also

Filter properties,
com.sybase.jaguar.webapplication.filters


com.sybase.jaguar.webapplication.init-timeout

Description

Specifies how long to wait for each installed servlet's init method to return.

Syntax

The timeout in seconds. The default is 0, which indicates that there is no time limit.

See Also

com.sybase.jaguar.webapplication.destroy-wait-time


com.sybase.jaguar.webapplication.jagmgr.DOMFactoryChoice

Description

Specifies the XSLT parser configuration displayed in Jaguar Manager.

Syntax

Value To indicate
0 No parse.
1 Platform default
2 The parser specified by the com.sybase.jaguar.webapplication.DOMfactory property

See Also

com.sybase.jaguar.webapplication.DOMfactory,
com.sybase.jaguar.webapplication.jagmgr.SAXFactoryChoice,
com.sybase.jaguar.webapplication.jagmgr.XSLTFactoryChoice


com.sybase.jaguar.webapplication.jagmgr.SAXFactoryChoice

Description

Specifies the SAX parser configuration displayed in Jaguar Manager.

Syntax

Value To indicate
0 No parser
1 Platform default
2 The parser specified by the com.sybase.jaguar.webapplication.SAXfactory property

See Also

com.sybase.jaguar.webapplication.SAXfactory,
com.sybase.jaguar.webapplication.jagmgr.DOMFactoryChoice,
com.sybase.jaguar.webapplication.jagmgr.XSLTFactoryChoice


com.sybase.jaguar.webapplication.jagmgr.XSLTFactoryChoice

Description

Specifies the XSLT parser configuration displayed in Jaguar Manager.

Syntax

Value To indicate
0 No parser
1 Platform default
2 The parser specified by the com.sybase.jaguar.webapplication.XSLTfactory property

See Also

com.sybase.jaguar.webapplication.XSLTfactory,
com.sybase.jaguar.webapplication.jagmgr.DOMFactoryChoice,
com.sybase.jaguar.webapplication.jagmgr.SAXFactoryChoice


com.sybase.jaguar.webapplication.jarlist

Description

Specifies the class loading order when classes are loaded from JAR files in the WEB-INF/lib directory under the Web application's context root.

Syntax

A comma-separated list of JAR files. JAR files not listed in this property are loaded in directory order; that is, the order that they are returned in a directory listing.

See Also

com.sybase.jaguar.webapplication.java.classes


com.sybase.jaguar.webapplication.java.classes

Description

Specifies additional classes and JAR files to be loaded by the Web application's custom class loader, in addition to those deployed in the WEB-INF/lib and WEB-INF/classes directories.

Syntax

Same as for com.sybase.jaguar.application.java.classes.

See Also

com.sybase.jaguar.application.java.classes,
com.sybase.jaguar.server.java.classes,
com.sybase.jaguar.servlet.java.classes


com.sybase.jaguar.webapplication.large-icon

Description

Specifies the name of the large icon file associated with the Web application. This property is not used in EAServer, but accommodated to comply with the Servlet 2.3 Web archive descriptor.

Syntax

A file name.


com.sybase.jaguar.webapplication.listeners

Description

Specifies application lifecycle event listeners installed in this Web application.

Syntax

A comma-separated list of listener class names. Listeners are notified in the order that they are listed.


com.sybase.jaguar.webapplication.login-config

Description

Configures login authentication for the Web application.

Syntax

(form-login-config=(form-login-page=lpage,form-error-page=epage),realm-name=realm,auth-method=method)

Where:

lpage When method is FORM, the login form page. Unused for other methods.
epage When method is FORM, the login error page.
realm The realm name. When using the BASIC authentication method, some browsers display the realm name when prompting for authentication credentials.
method One of the following:
  • NONE - no authentication is available.
  • FORM - you supply HTML or JSP forms to collect the user credentials and respond to authentication errors. The server loads the login form when authentication is required.
  • BASIC - when authentication is required, the browser collects the user credentials and sends them to the server in the HTTP basic authentication header.
  • CLIENT-CERT - the client connects to the server using HTTPS and provides an SSL certificate that the server accepts and authenticates.


"Web Application Security" in the EAServer Security Administration and Configuration Guide explains these options in more detail and describes how to create login and error form pages.

See Also

com.sybase.jaguar.webapplication.security-constraint


com.sybase.jaguar.webapplication.mime-mapping

Description

Configures MIME mappings for the Web application to augment or override the server's default MIME mappings.

Syntax

Same as the servlet property com.sybase.jaguar.server.servlet.mime-mapping.


com.sybase.jaguar.webapplication.name

Description

Specifies the Web application name.

Syntax

The name.


com.sybase.jaguar.webapplication.resource-env-ref

Description

Resource environment references are logical names applied to objects administered by EAServer.

Syntax

See Resource environment reference properties.

Usage

In Jaguar Manager, set this property using the Resource Env Refs tab in the Web Application Properties dialog box.

See Also

Resource environment reference properties.


com.sybase.jaguar.webapplication.resource-ref

Description

Specifies aliased JNDI names for database connections, JavaMail sessions, and URL factories used by the Web application.

Syntax

See Resource reference properties.

Usage

In Jaguar Manager, set this property using the Resource Refs tab in the Web Application Properties dialog box.

See Also

Resource reference properties.


com.sybase.jaguar.webapplication.runasidentity.<id>

Description

Maps an identity name used in servlet properties to an identity defined in the EAServer repository.

Syntax

Specify the identity referenced in a servlet com.sybase.jaguar.servlet.security.runasidentity property in the property name, for example:

com.sybase.jaguar.servlet.runasidentity.ddFooId

Specify the mapped EAServer identity as the value, for example:

fooId

See Also

Security properties,
com.sybase.jaguar.servlet.security.runasidentity


com.sybase.jaguar.webapplication.SAXfactory

Description

Specifies the class name for a custom SAX XML parser factory class.

Syntax

The class name. If the class is in a JAR file, the JAR file name must be listed in the com.sybase.jaguar.webapplication.java.classes property or placed in the WEB-INF/lib directory under the Web application's context root.

See Also

com.sybase.jaguar.webapplication.jagmgr.SAXFactoryChoice,
com.sybase.jaguar.webapplication.DOMfactory,
com.sybase.jaguar.webapplication.XSLTfactory


com.sybase.jaguar.webapplication.sectrace

Description

Enables and disables security implementation tracing.

Syntax

true or false . The default is false .


com.sybase.jaguar.webapplication.security-constraint

Description

Associates required user roles and transport security for Web resource collections defined in the com.sybase.jaguar.webapplication.web-resource-collection property.

Syntax

constraint1,constraint2, ...

Where constraint1, constraint2, and so forth are of the form:

(sec-constraint-name=constraint-name,web-res-list=(res-list),user-data-constraint=(desc=desc, transport-guarantee=transport),auth-constraint=(description=desc,name=(role-list)))

Where:

constraint-name The constraint name, which must be unique.
res-list A comma-separated list of Web resource collection names, defined in the com.sybase.jaguar.webapplication.web-resource-collection property.
desc An optional text description. Neither of the two description values are displayed in Jaguar Manager.
transport The required network transport security. One of:
  • NONE - No security required.
  • CONFIDENTIAL - SSL with data encryption as well as data integrity.
  • INTEGRAL - SSL with data integrity.
role-list A comma-separated list of logical role names defined in the com.sybase.jaguar.webapplication.security-roles property.

Usage

For more information on configuring Web application security, see "Web Application Security" in the EAServer Security Administration and Configuration Guide.

See Also

com.sybase.jaguar.webapplication.login-config,
com.sybase.jaguar.webapplication.security-roles,
com.sybase.jaguar.webapplication.web-resource-collection


com.sybase.jaguar.webapplication.security-role.<j2ee-role>

Description

Specifies a mapping from a J2EE role name used in the Web application to a role defined in the EAServer repository.

Syntax

com.sybase.jaguar.webapplication.security-role.j2ee-role=jag-role

Where:

Usage

In Jaguar Manager, set this property using the Role Mapping tab in the Application Properties dialog box.

Role names may also be specified at the package, component, or Web application level.

See Also

com.sybase.jaguar.webapplication.security-constraint,
com.sybase.jaguar.webapplication.security-roles,
com.sybase.jaguar.application.security-role.<j2ee-role>,
com.sybase.jaguar.application.security-roles


com.sybase.jaguar.webapplication.security-roles

Description

Specifies logical J2EE role names used in the Web application com.sybase.jaguar.webapplication.security-constraint property.

Syntax

role1, role2, ...

Where role1, role2, and so forth are of the form:

(description=role-desc, name=role-name)

Where role-desc is an optional description of the role, and role-name is the name used in the application.

See Also

com.sybase.jaguar.webapplication.security-role.<j2ee-role>,
com.sybase.jaguar.webapplication.security-constraint,
com.sybase.jaguar.application.security-roles


com.sybase.jaguar.webapplication.servlet-mapping

Description

Associates installed servlets with request paths.

Syntax

Same as the Web application property com.sybase.jaguar.server.servlet.servlet-mapping.

See Also

Servlet properties


com.sybase.jaguar.webapplication.session-config

Description

Configures HTTP session properties.

Syntax

(session-timeout=timeout)

Where timeout is the session timeout in minutes. A value of 0 indicates that sessions do not expire.


com.sybase.jaguar.webapplication.small-icon

Description

Specifies the name of the small icon file associated with the Web application. This property is not used in EAServer, but accommodated to comply with the Servlet 2.3 Web archive descriptor.

Syntax

A file name.


com.sybase.jaguar.webapplication.taglib

Description

Configures path aliases for JSP Tag Library Descriptors (TLDs) used in the Web application.

Where alias is the path used in JSP source code, and real-path is the TLD files location relative to the Web application's context root.

Syntax

alias1,alias2,...

Where alias1, alias2, and so forth are alias definitions of the form:

(taglib-uri=alias, taglib-location=real-path)

Where:

alias Is the path used in JSP source code.
real-path Is the TLD file's location relative to the Web application's context root.

com.sybase.jaguar.webapplication.web-resource-collection

Description

Specifies a collection of request paths to be protected by security constraints.

Syntax

set1,set2,...

Where set1, set2, and so forth are of the form:

(web-res-name=name,http-method=(methods),url-pattern=(patterns))

Where:

name Is the name used to refer to this collection in com.sybase.jaguar.webapplication.security-constraint property. For compatibility with Jaguar Manager, use the format:
constraint/display


Where constraint is the security constraint that uses this collection, and display is the collection name displayed when this resource collection is viewed and edited in Jaguar Manager.
methods Is a comma-separated list of HTTP methods that can include: POST , GET , TRACE , DELETE , PUT , OPTIONS
patterns Is a comma-separated list of URL patterns associated with the collection, for example:
/control/*,welcome.htm

See Also

com.sybase.jaguar.webapplication.security-constraint


com.sybase.jaguar.webapplication.welcome-file-list

Description

Configures welcome files for the Web application. Welcome files are used to satisfy HTTP requests that end in a directory name, rather than specifying the full path to a file or a path that is mapped to a servlet invocation.

Syntax

A comma-separated list of file names which may not contain path separators.


com.sybase.jaguar.webapplication.XSLTfactory

Description

Specifies the class name for a custom XSLT XML parser factory class.

Syntax

The class name. If the class is in a JAR file, the JAR file name must be listed in the com.sybase.jaguar.webapplication.java.classes property or placed in the WEB-INF/lib directory under the Web application's context root.

See Also

com.sybase.jaguar.webapplication.jagmgr.XSLTFactoryChoice,
com.sybase.jaguar.webapplication.DOMfactory,
com.sybase.jaguar.webapplication.SAXfactory

 


Copyright © 2002 Sybase, Inc. All rights reserved.