
If you want the HTTP Provider Service to accept incoming requests, you have to specify several properties that the system uses when opening the server sockets that carry out the client-server communication. These include:
You can configure more than one HTTP and SSL port to be opened. You must just provide the necessary entries as a value of the Ports property as described by the procedure below.
Use the Visual Administrator tool to perform this configuration task:
Each port configuration can contain the following attributes:
| Attribute Name | Value |
|---|---|
|
Port: |
Specifies the port number.
To determine the proper values for the HTTP and SSL ports, refer to the J2EE Engine Ports . |
|
Type: |
Specifies the type of the port. It can be http or ssl. |
|
SocketQueue: |
Specifies the length of the queue of indications of incoming connections. |
|
BindAddress: |
Specifies an IP address to bind all incoming connections to this address only. If the value is an empty string, connections will be accepted on any of the local addresses configured. |
|
AcceptingThreadsCount: |
Changes the default value of the number of threads that listen to the server socket for incoming connections. The value of the property must be an integer number.
We recommend that you do not change the default value of this property. It is estimated to be optimal for a system with default configuration. |
Only the Port: and the Type: attributes are mandatory for a valid port configuration. If you do not explicitly specify the rest of the attributes, their default values are assumed. They are: SocketQueue:200, BindAddress:<an empty string>, and AcceptingThreadsCount:10.
To apply these changes, choose (Save Properties).
You now have basically configured your HTTP Provider Service running on the Java dispatcher to forward incoming HTTP requests to the appropriate server modules (HTTP Provider Service, and Web Container Service if the request is directed to a J2EE web application). If you want to further fine-tune your HTTP Provider Service, proceed with the setup of your virtual hosts .
Once you have configured the ports, the information about the first HTTP and the first SSL ports (exactly as they appear in the value of the Ports property of the HTTP Provider Service) is sent to the message server and the ICM. This information is required by the SAP Web Dispatcher for load balancing. For more information about the topic, see Load Balancing Between Many Java Instances in the Architecture Manual. The ICM requires this information in order to redirect requests to the J2EE Engine.