Hi,
I'm trying to setup a load balancing environment for my PASOE environment with Apache 2.4 but somehow it does not work as expected. The following program failed to execute the program on the PASOE apsv transport:
DEF VAR hApp AS HANDLE NO-UNDO. CREATE SERVER hApp. hApp:CONNECT("-URL http://localhost/apsv"). RUN test.p ON hApp.
I get the following error when executing the RUN test.p ON hApp command.
Failure reading response from Application Server. (14810)
SERVER CCCF6596A10C3AFEDC20DEFD4FCA085E6756A65DBE10.prodemo is not connected. (5451)
I have the following in the apache httpd.conf:
<Proxy "balancer://mycluster-apsv"> BalancerMember "http://host1:15000/apsv" BalancerMember "http://host2:15000/apsv" </Proxy> ProxyPass "/apsv" "balancer://mycluster-apsv"
If I connect to the url directly it works. But it must be load balanced by the Apache proxy I have set up. Does anyone have a working example or can show me how to implement this with OpenEdge 11.7.4?
Kind regards,
Roel de Wildt
The problem is being solved with:
Look at K-Base article: 000080307
Hi Roel, did you enable AJP on the PASOE instance?
Please check this knowledge base article if you are using mod_proxy, otherwise check this document for Apache load balancing for PASOE using mod_jk.
Hi Ruben,
I have the AJP protocol enabled on all the instances but if I load balance by this protocol I get the same error as with http.
I expect you adjusted port numbers for AJP and potentially added these (and http/https) port numbers to the firewall exceptions too?
(considering your running your Apache server on a different server than you PASOE instance(s))
Yes, those port numbers are adjusted and there is no firewall between the apache and PASOE instances.
After all I think that the apsv transport must not switch between the PASOE instances. I don't know how to solve this. The web transport works just fine while load balancing, only the apsv transport does not work.
Look at K-Base article: 000080307
The problem is being solved with: