Hello,
I have successfully completed the installation of Oracle Forms and Reports 12.2.1.19.0 in a High Availability (HA) configuration. Currently, both servers are operational with the addresses x.x.x.1 and x.x.x.2 respectively.
I have also generated JNLP files using the URLs x.x.x.1:9001/forms/frmservlet?config=webutil_webstart. Testing each server individually with their respective JNLP files has yielded positive results.
However, I encountered an issue when attempting to implement NGINX as a load balancer in front of both servers. My intention was to replace the IP addresses within the JNLP files with the IP address of the load balancer, denoted as x.x.x.3.
I tried making NGINX config look like this following some NGINX Proxy guides:
http {
upstream myapp1 {
server x.x.x.1:9001;
server x.x.x.2:9001;
}
server {
listen 80;
location / {
proxy_pass http://myapp1;
}
}
}
But then when i replace url inside jnlp i get error saying x.x.x.3 (load balancer failed to find resources) and not x.x.x.1 or x.x.x.2.
So is there any way to configure NGINX as load balancer or i shoud use something else? I don't know whats proper thing to do anymore…
Thank you for your assistance.