!--a11y-->
SAP J2EE Engine PortsThese ports are used for communication with the J2EE Engine as part of the SAP Web AS. They are generated at installation time and when new cluster elements have to be created.
For the J2EE Engine, 20 ports are available for the dispatcher element and 80 are available for the server elements, since five is the maximum number of ports for a server process. Therefore, no more than 16 server cluster elements can be created on one instance.
The J2EE Engine ports must meet the following requirements:
· The port value must be a number over 50000
· For each cluster element the ports begin with 50000+100*instance_number, where instance_number is a two digit number from 00 to 99 specifying the number of central instance and dialog instances
¡
For
dispatcher cluster elements
The ports are created from 50000+100*instance_number+port_index, where port_index is a number from 0 to 19 inclusive.
Dispatcher port_index Values
Index |
Port Name |
0 |
HTTP port |
1 |
HTTP SSL port |
2 |
IIOP Initial Context port |
3 |
IIOP SSL port |
4 |
P4 port |
5 |
P4 HTTP Tunneling port |
6 |
P4 SSL port |
7 |
IIOP port |
8 |
Telnet port |
10 |
JMS port |
According to the formula mentioned above and the port_index values, the dispatcher ports for the J2EE Engine are as follows (in the table below, NN corresponds to instance_number):
J2EE Engine Dispatcher Ports
Service Name |
Port Number |
Default Value |
Range (min-max) |
HTTP |
5NN00 |
50000 |
50000-59900 |
HTTP over SSL |
5NN01 |
50001 |
50001-59901 |
IIOP |
5NN07 |
50007 |
50007-59907 |
IIOP Initial Context |
5NN02 |
50002 |
50002-59902 |
IIOP over SSL |
5NN03 |
50003 |
50003-59903 |
P4 |
5NN04 |
50004 |
50004-59904 |
P4 over HTTP |
5NN05 |
50005 |
50005-59905 |
P4 over SSL |
5NN06 |
50006 |
50006-59906 |
Telnet |
5NN08 |
50008 |
50008-59908 |
JMS |
5NN10 |
50010 |
50010-59910 |
¡
For
server cluster elements
The ports are created from 50000+100*instance_number+20+n*5+port_index,
where n is the number of server elements from 0 to 15 and
port_index is from 0 to 4.

The ports for J2EE Engine server3 with instance_number=15 are from 51535 (50000+100*15+20+3*5+0) to 51539 (50000+100*15+20+3*5+4).
Server port_index Values
Index |
Port Name |
0 |
Join port |
1 |
Debug port |
According to the formula mentioned above and the port_index values, the server ports for the J2EE Engine are as follows:
J2EE Engine Server Ports
Internal Port |
Value |
Server Join Port |
For s0: 5NN20, for s1=5NN25, for s2=5NN30….for s15=5NN95, where s0, s1, s2,..s15 shows the number of server processes and NN is instance_number. |
Server Debug Port |
For s0: 5NN20, for s1=5NN25, for s2=5NN30….for s15=5NN95, where s0, s1, s2,..s15 shows the number of server processes and NN is instance_number. |
The port for P4 on a dispatcher element with instance_number=15 is:
P4 port=50000+100*15+4=51504
