|
weblogic.xml Deployment Descriptor Elements
This following sections describe the deployment descriptor elements defined in the
You can also access the Document Type Descriptor (DTD) for
The description element is a text description of the Web Application.
The
security-role-assignment Element
The
<security-role-assignment> <role-name> PayrollAdmin</role-name> <principal-name> Tanya</principal-name> <principal-name> Fred</principal-name> <principal-name> system</principal-name>
</security-role-assignment>
The following table describes the elements you can define within a
The
The following table describes the elements you can define within a
ejb-reference-description Element
The following table describes the elements you can define within a
Specifies the name of an EJB reference used in your Web Application. |
||
The
<session-descriptor>
<session-param>
<param-name>
CookieDomain
</param-name>
<param-value>
myCookieDomain
</param-value>
</session-param>
</session-descriptor>
Session Parameter Names and Values
The following table describes the valid session parameter names and values you can define within a
Identifies the server to which the browser sends cookie information when the browser makes a request. For example, setting the CookieDomain to The domain name must have at least two components; setting a name to If unset, this parameter defaults to the server that issued the cookie. |
||
Specifies the comment that identifies the session tracking cookie in the cookie file. If unset, this parameter defaults to |
||
Sets the life span of the session cookie, in seconds, after which it expires on the client. If the value is 0, the cookie expires immediately. The maximum value is MAX_VALUE, where the cookie lasts forever. If set to For more information about cookies, see Setting up Session Management |
||
Defines the session cookie name. Defaults to |
||
Specifies the pathname to which the browser sends cookies. If unset, this parameter defaults to |
||
Use of session cookies is enabled by default and is recommended, but you can disable them by setting this property to |
||
Sets the time, in seconds, that WebLogic Server waits between doing house-cleaning checks for timed-out and invalid sessions, and deleting the old sessions and freeing up memory. Use this parameter to tune WebLogic Server for best performance on high traffic sites. The minimum value is every second (1). The maximum value is once a week (604,800 seconds). If unset, the parameter defaults to 60 seconds. |
||
If you have set Ensure that you have enough disk space to store the number of valid sessions multiplied by the size of each session. You can find the size of a session by looking at the files created in the You can make file-persistent sessions clusterable by making this directory a shared directory among different servers. |
||
Specifies the name of a JDBC connection pool to be used for persistence storage. For more details on setting up a database connection pool, see Managing JDBC Connectivity. |
||
Sets the persistent store method to one of the following options:
|
||
Sets the time, in seconds, that WebLogic Server waits between purging the least recently-used sessions from the cache to the persistent store, when the If unset, this property defaults to 10 seconds; minimum is 1 second, and maximum is 604800 (1 week). |
||
Sets the size of the session ID. The minimum value is 8 bytes and the maximum value is Integer.MAX_VALUE. If you are writing a WAP application, you must use URL rewriting because the WAP protocol does not support cookies. Also, some WAP devices have a 128-character limit on URL length (including parameters), which limits the amount of data that can be transmitted using URL re-writing. To allow more space for parameters, use this parameter to limit the size of the session ID that is randomly generated by WebLogic Server |
||
Sets the time, in seconds, that WebLogic Server waits before timing out a session, where x is the number of seconds between a session's activity. Minimum value is 1, default is 3600, and maximum value is integer MAX_VALUE. On busy sites, you can tune your application by adjusting the timeout of sessions. While you want to give a browser client every opportunity to finish a session, you do not want to tie up the server needlessly if the user has left the site or otherwise abandoned the session. This parameter can be overridden by the |
||
Sets the time, in seconds, that WebLogic Server waits before timing out a JDBC connection, where x is the number of seconds between. |
||
Enables URL rewriting, which encodes the session ID into the URL and provides session tracking if cookies are disabled in the browser. |
||
If you enable Session Monitoring in the WebLogic Server Administration Console, set this parameter to the name of the session parameter you will use to identify each session that is monitored. For more information, see Monitoring a WebLogic Domain. |
The
JSP Parameter Names and Values
The following table describes the parameter names and values you can define within a
|
Specifies the full pathname of the standard Java compiler used to compile the generated JSP servlets. For example, to use the standard Java compiler, specify its location on your system as shown below:
You can also specify that WebLogic Server precompile JSPs on start up. For more information, see Precompiling JSPs. |
|
Passes one or more command-line flags to the compiler. Enclose multiple flags in quotes, separated by a space. For example: |
||
Name of a Java compiler that is executed in WebLogic Servers's virtual machine. (Used in place of an executable compiler such as |
||
Specifies the default character set used in the JSP page. Use standard Java character set names. If unset, this parameter defaults to the encoding for your platform. A JSP page directive (included in the JSP code) overrides this setting. For example: |
||
Saves the Java files that are generated as an intermediary step in the JSP compilation process. Unless this parameter is set to |
||
If a JSP file has numerous or deeply nested custom JSP tags and you receive a |
||
Specifies the package into which all JSP pages are compiled. |
||
Sets the interval, in seconds, at which WebLogic Server checks to see if JSP files have changed and need recompiling. Dependencies are also checked and recursively reloaded if changed. If set to 0, pages are checked on every request. If set to |
||
When set to |
||
The name of a directory where WebLogic Server saves the generated Java and compiled class files for a JSP. |
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|