cancel
Showing results for 
Search instead for 
Did you mean: 

2 Alfresco with apache mod proxy balanced

ismaello
Champ in-the-making
Champ in-the-making
Hi, i have a apache server 2.2 with the proxy balaced module.

I am using this module tu redirect de request and balace the load to 2 tomcat's with alfresco in different servers.

I have this configuration in httpd.conf

ProxyRequests   Off

<IfModule proxy_ajp_module>
    ProxyPass /alfresco balancer://ajp-cluster/alfresco
stickysession=JSESSIONID nofailover=On
    ProxyPassReverse /alfresco balancer://ajp-cluster/alfresco
    <Proxy balancer://ajp-cluster>
        BalancerMember ajp://server1:18009/ route=tomcat1a
        BalancerMember ajp://server22:28009/ route=tomcat2a
    </Proxy>
</IfModule>


The problem is when i make loggin in Alfresco. Alway it return to login page like apache lost the session variable.

I need help please.

Thanks for read it.
2 REPLIES 2

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

What happens when you remove the trailing slashes in your BalancerMembers?

e.g. Changing

  BalancerMember ajp://server1:18009/
  BalancerMember ajp://server22:28009/

to

  BalancerMember ajp://server1:18009
  BalancerMember ajp://server22:28009

–Aladdin

ismaello
Champ in-the-making
Champ in-the-making
i have removed the slashes but the problem is the same.

i can loggin and navegate in alfresco but when i am using alfresco always i return to login page.

It's like apache lose the session and apache take my request like it is the first time in server.