!--a11y-->
P4 Provider Service 
This service provides functions for the communication of remote objects over the P4 protocol on the SAP J2EE Engine. It also provides functions for communication support generation.
Dispatcher
Property |
Description |
Default Value |
allTransports |
Defines a list of low-level transport protocols that the P4 Provider Service can use to facilitate remote objects communication. |
httptunneling:ssl:https |
port |
Specifies the default port for P4 connections. |
|
ssl |
Specifies the port that the P4 Provider Service uses for SSL connections. |
|
httptunneling |
Specifies the port that the P4 Provider Service uses for connections over HTTP Tunneling. |
|
https |
Specifies the port that the P4 Provider Service uses for HTTPS connections. The port is the same as for SSL.
You have to configure an HTTP host and port so that you can use HTTPS. |
ssl |
bindHost |
Specifies the address of the server, to which connections can be established only. The value can be either the Fully-qualified Domain Name or the IP address of the server specified in dotted-quad notation. If the value is an empty string, all web servers that are configured are available for communication. |
|
MaxRequestSize |
Specifies a limit to the size of the P4 requests that can be accepted on the Java dispatcher. The limit is specified in MB. |
16 |

The default values of the properties concerning ports depend on the type of your SAP Web AS installation. You can see how to determine the port value in SAP J2EE Engine Ports in the Administration Manual.
Server
Property |
Description |
Default Value |
generateStubs |
Specifies when stubs for a remote object are generated. If this property is set to false, the stubs are dynamic and are generated at runtime. If set to true, the stubs are generated at application deployment time. |
true |
Use Component Execution Context |
Specifies whether additional information about the application is added to the ThreadContext when calling remote methods from an application. |
true |
Sleep For Write BrokerId |
Specifies the time period that the P4 Provider Service must wait before it can write the brokerID to the P4 Provider Service configuration data in the database (in case brokerId configuration is locked). The value of the property is specified in milliseconds. We recommend that you increase the value of this property if the number of the server processes in your cluster rises. |
2000 |
Tries To Write BrokerId |
Specifies the number of attempts to write the brokerID to the configuration data in the database the service must perform. We recommend that you increase the value of this property if the number of the server processes in your cluster rises. |
8 |
brokerId |
Specifies the ID of the P4 Object Broker that is used for communication over P4 protocol.
It is not advisable to change the default value of this property, since duplication of Ids can occur if you use P4 to conduct communication between two or more Web AS clusters. |
|
Instantiate Local Stubs |
Specifies whether remote objects within the same JVM communicate using local stubs or not. If the property is set to false, the calling object works directly with the implementation of the remote object. However, this case is not recommended. |
true |
