Hi Michael, something that I've seen new while investigating a new problem with 12.3.4+hf2.
Upon start, the JCP waits for the incoming connection of the PWP on its defined JCP.PORTS.
Only after a successful connection, the JCP will continue to create the REST Endpoint.
Special attention should be taken when running the AE on multiple nodes, as not only the inbound CP.PORTS need to be free in the firewall, but also the JCP.PORTS.
Also, using the default random ;JCP.PORTS creates more difficulties when setting up the firewall, so should be avoided.
In the image, I see that there is an incoming line from the PWP to the JCP, so seems fine.
Another thing is that, upon user login in AWI, the JWP will check if the JCP REST Endpoint is available.
I'm not sure how this is internally done, if the JWP only checks if there is a registered MQSRV_RestEndpoint in the database or if it actually tries to reach it (Case was opened), but it could be added an arrow from the JWP to the JCP REST Port.
Unless it's a bug and this is updated.
Best Regards,
Roney Uba
Original Message:
Sent: 12-11-2019 05:51 AM
From: Michael Lowry
Subject: AWA v12.3 inter-process communication
AWA v12.3 introduced some changes to the ucsrv.ini file, including a new [PORTS]
section. I have updated my inter-process communication diagram accordingly.
|
- All DB actions related to AE objects & tasks are performed by work processes (orange).
(Additionally, all AE server processes use the DB for message queuing; these connections are not shown in the diagram.)
- Among non-Java WPs, only the primary work process opens a listening port (
pwpPort ). All other WPs establish a connection to this port (pink).
- CPs open a listening port (
CP.PORTS ). Each work process establishes a connection with every communications process (blue). CPs do not make outbound connections.
- Each Agent, JUI, AWI server, and Java API-based app connects to a single communications process.
- The java work process handles communication with LDAP and Kerberos servers (gray). JWPs also open a listening port (
JWP.SYNC.PORTS ), and other WPs connect to this port (purple – not all shown).
- The java communications process handles REST API requests and a subset of AWI functions such as advanced object search. The JCP opens a listening port (
JCP.PORTS ) and WPs connect to this port. The JCP also accepts incoming REST calls on a second listening port ([REST] port ).
|
The options that specify the listening ports of AE server processes are located in different sections of the ucsrv.ini file:
[TCP/IP]
pwpPort
[PORTS]
CP.PORTS
JWP.SYNC.PORTS
JCP.PORTS
[REST]
port