Attention 3DEXPERIENCE Users on Linux
There is a situation that may be specific to Linux in which the 3DNotification service does not start properly. It seems if the Oracle environment variables are not declared for the x3ds user (or whatever user is used to start the 3DNotification service) the service does not start properly.
Symptoms of the problem:
Try to browse to the health check page and receive 503 Service Unavailable error.
Check the status of the node and receive a message that the process ID (pid) exists but the node is dead. That can’t be good.
The root cause of the problem is that in this scenario, 3DNotification deployed on Red Hat Linux using Oracle database, is that the 3DNotification service cannot reach the ORACLE_HOME location. Furthermore, in this scenario, the PATH setting does not help the situation. That is, even though the ORACLE_HOME location is declared in the PATH variable, 3DNotification does not start normally.
To solve the problem declare the ORACLE_HOME variable with the appropriate path, for example from a shell command issue the following:
Then start the 3DNotification node and check its status:
Then browse to the health check page:
The following variables should be declared in the .bashrc file of the user used to start the 3DNotification service. In this case the x3ds user. The file is located in the /home/x3ds folder. An example of this declaration is as follows:
# Oracle related variables
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH