Show TOC Start of Content Area

Procedure documentation Additional Configuration Settings  Locate the document in its SAP Library structure

Use

You can set and modify the following features in your Web application:

·        Alert message to be displayed on the screen, warning you that a server node running a particular Web application will be shut down.
The displayed tabs and fields correspond to the following tags in the web-j2ee-engine.xml:

<!ELEMENT fail-over-alert (message?, message-timeout?)>
<!ELEMENT message (#PCDATA)>
<!ELEMENT message-timeout (#PCDATA)>

·        The number of maximum user sessions to an application.
The displayed indicator corresponds to the following tag in the web-j2ee-engine.xml:

<!ELEMENT max-sessions (#PCDATA)>

·        The timeout period for HTTP sessions that are created in the corresponding Web application. After being inactive for the specified timeout, the HTTP sessions expire. The period is specified in minutes:

<!ELEMENT session-timeout (#PCDATA)>

Note

You can only change the session timeout property in the application’s own deployment descriptors. This is not possible for the Global Web Descriptor.

·        If session tracking is performed using cookies or the URL rewriting mechanism. By default, the URL Session Tracking is not set, which means that cookies are used when client supports cookies, and URL rewriting in cases when client does not support cookies. If URL Session Tracking is set, URL rewriting is used in each of the cases.
The displayed indicator corresponds to the following tag in the web-j2ee-engine.xml:

<!ELEMENT url-session-tracking (EMPTY)>

·        Control the behavior of the HttpServletRequest.getRequestURL() method when it is called from a forwarded servlet or JSP.

The dropdown list that is displayed corresponds to the following tag in the web-j2ee-engine.xml:

 

<!ELEMENT get-request-url-mode (#PCDATA)>

·        Configuring the attributes that the Web Container uses when creating session or load balancing cookies.
The displayed tabs and fields correspond to the following tags in the web-j2ee-engine.xml:

<!ELEMENT cookie-config (cookie+)>
<!ELEMENT cookie (type, path?, domain?, max-age?)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT path (#PCDATA)>
<!ELEMENT domain (#PCDATA)>
<!ELEMENT max-age (#PCDATA)>

Procedure

If You Want To

Then

Set alert message

...

       1.      Choose Fail Over Alert in the Main tab

       2.      Enter Message Timeout value
It specifies the remaining time (in minutes) before the server node shuts down. For example, if you enter 10 in the Message Timeout field, then an alert message will be displayed on the screen 10 minutes before the server node shuts down. It will warn you that the particular server will be shut down.

       3.      In Message, enter the warning message you want to be displayed

Set the number of maximum user sessions

Enter the number of the maximum sessions in Max Sessions filed in the Main tab

Set the timeout period for HTTP sessions

Enter the corresponding value in the Session Timeout field in the Main tab. A negative value means that the session will never expire.

Disable URL session tracking

Check URL Session Tracking indicator in the Main tab.

Configure cookies attributes

...

       1.      Choose Cookie Config in the Main tab

       2.      Select the attributes for the current cookie displayed in Cookie Name

Note

The names of the cookies are set automatically.

For more information about the cookie’s attributes, see web-j2ee-engine.dtd

Control the behavior of the getRequestURL() method

In the Main tab page, select the appropriate value from the Request Url Mode dropdown list. For more information about the semantics of the values, see web-j2ee-engine.dtd.

 

 

End of Content Area