Show TOC Start of Content Area

Background documentation P4 Provider Service  Locate the document in its SAP Library structure

This service provides functions for the communication of remote objects over the P4 protocol on the 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.

Note

You have to configure an HTTP host and port so that you can use HTTPS.

ssl

bindHost

Specifies a list of hosts’ IP address(es) or host name(s) that have the P4 Provider Service running on them, 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.

The default value of 0.0.0.0 also allows connections to the P4 Provider Service to be established, even in cases when the J2EE Engine is identified using a virtual IP address (or virtual host name). Virtual IP addresses are usually used in high availability scenarios for Web AS.

If the value of this property contains multiple entries, they are separated by colon (“:”).

0.0.0.0

MaxRequestSize

Specifies a limit to the size of the P4 requests that can be accepted on the Java dispatcher.

16M

InitializeConnectionTimeout

Specifies timeout for initialization of new connections. If the connection cannot be initialized for the specified period, an error message is returned to the client.

The value of the property is specified in milliseconds.

If the value is 0, then no timeout is set and the call waits until the connection is initialized.

Caution

We recommend that you do not change the default value of this property. If you really need to change it, consult first with the SAP development support.

1000

sendInQueueTimeout

Specifies the timeout period for which the dispatcher must send the reply from the client to the server. If the reply is not sent within the timeout, an exception is thrown and the connection is interrupted.

The value of the property is specified in milliseconds.

Caution

We recommend that you do not change the default value of this property. If you really need to change it, consult first with the SAP development support.

1000

forceProfile

This property is used to configure P4 communication through port forward, or NAT servers. It creates a profile of the port forward/NAT server that is used as an entry point to the P4 Provider Service on the J2EE Engine.

The value of the property has the following value:

<IP_address>@:None:<port_value>:ssl:<port_value>:httptunneling:<port_value>, where the IP_address is the public IP address of the port forward/NAT server, None specifies the port for the P4 connections, and the ssl and httptunneling specify the ports for P4 connections over SSL and HTTP Tunneling, respectively.

Example

An example value of this property is:

10.10.10.10@:None:200:ssl:300:httptunneling:400

 

Note

The default values of the properties concerning ports depend on the instance number of your Web AS installation. You can see how to calculate the port value in 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.

Caution

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

 

 

End of Content Area