Show TOC Start of Content Area

Background documentation Web Container Service  Locate the document in its SAP Library structure

The Web Container Service manages J2EE Web components across cluster environment, generates dynamic responses, and so on.

The Web Container Service runs on servers only.

Server

Property

Description

Default Value

DestroyTimeOut

Specifies a time period (in milliseconds), after which the execution of a servlet is stopped forcefully.

5000

CompileOnStartUp

Specifies whether to compile JSPs on server startup or during J2EE application deployment.

false

InternalCompiler

Specifies if the compilation of Web application files is done by calling methods of the com.sun.tools.javac.Main class. The property takes Boolean values.

For more information, see Setting up the Compiler in the Administration Manual.

false

ExternalCompiler

Specifies the external compiler the system uses.

javac

CompilerDebuggingInfo

Specifies the amount of debug information the compiler generates. It takes a Boolean value. If set to true, the compiler generates more debug information. If this property is set to false, the local variable values are invisible in debug mode.

false

EnableChunkedResponse

Determines whether chunked transfer coding is applied to responses generated by servlets or JSP pages.

true

EclipseJspDebugSupport

Enables JSP debug option, when using SAP NetWeaver Developer Studio.

true

ValidateDescriptors

Specifies whether the Web applications’ deployment descriptors are validated against their DTD.

false

HeaderForNoCompression

Specifies the name of the header that, if present in the response message, prevents the response from being compressed using gzip transfer encoding.

No-Compress

HeaderForCompression

Specifies the name of the header that, if present in the response message, forces gzip compression of the response.

 

MultipartBodyParameterName

Specifies the name of the multipart request body attribute.

com.sap.servlet.multipart.body

DelayAuthentication

Specifies whether authentication for clients that are not logged in is delayed.

If set to true, the client authorization is delayed. That is, the Web Container would attempt to log the client in, upon access to a protected resource only.

If set to false, the client will not be logged in, even if login information is present in the HTTP request.

false

TraceLevel

Determines the level of detail of information that is logged about the client HTTP request. A negative integer value means that no additional information is logged. To activate logging more details, you must provide a positive value to the property.

-1

ApplicationStoppedFile

Specifies the absolute path to the custom HTML page that must be returned to the client if the Web application he or she requested is currently stopped.

 

ResolveHostName

Determines if the Web Container attempts to resolve the remote host’s address when the getRemoteHost() method of the ServletRequest is called. The value of false means that the above method will return the IP address of the remote host instead of its fully qualified host name.

false

ApplicationStoppedAliases

Specifies a list of application aliases of Web applications deployed on the current server process. If an alias appears in this list, then the corresponding Web application cannot be requested (an “application stopped” response is returned to the client).

The aliases in the list are separated by commas.

 

GetResourcePathsOld

This property controls the behavior of the getResourcePaths() method of the ServletContext. The default value of false means that the method returns the resources residing in the corresponding directory preceded by the directory itself. For example, if the application contains the resource /catalog/products.html, then the getResourcePaths(“/catalog/”) method call returns /catalog/products.html and /catalog/. If the value of the property is set to true, then the same method call as above would return just products.html.

false

DisableDynamicResponseCaching

This property can be used to disable caching of dynamic responses (that is, responses generated by servlets or JSPs) by shared and non-shared (client) caches. This property takes effect only in cases when caching behavior is not defined explicitly by setting the appropriate headers to the HTTP response in the source code of the servlet or the JSP.

The default value of false means that the J2EE Engine does not explicitly take care to set any of the Cache-Control, Pragma, or Expires headers to the response. This way, caching of dynamic responses is determined by the implementation of the HTTP client.

If the property is set to true, dynamic responses are never cached as the J2EE Engine sets the headers mentioned above that control the caching behavior of the client cache.

For more information, see Configuring HTTP Responses Caching by Client Caches in the Administration Manual.

False

SessionIPProtectionEnabled

Specifies whether the session IP protection is enabled. When this property is set to true, the HTTP session cannot be accessed from different IP addresses. Only requests from the IP address that started the session are processed.

If you use a proxy server, any type of a load-balancer or SAP Web dispatcher in front of the J2EE Engine, you have to configure the ClientIpHeaderName property of the HTTP Provider Service. The value of this property must be set to the name of the header field that is used by the proxy server, load-balancer or SAP Web dispatcher to include the IP address of the client. For example, SAP Web dispatcher uses header field x-forwarded-for to include the IP address of the client. Therefore, in case SAP Web dispatcher is used, the value of the ClientIpHeaderName property must be set to x-forwarded-for and the SAP Web dispatcher profile parameter wdisp/add_xforwardedfor_header must be set to true.

false

SessionIdRegenerationEnabled

When this property is set to true, new session cookie JSESSIONMARKID will be created and will be used as secured session identifier. This session identifier will be generated on every login.

false

 

See also:

 

Web Container Service in the Administration Manual.

 

 

End of Content Area