Multiple server setup (HAFO)

2014-01-02 Thread Pierre Smits
Hi All, Does any one have experiences with a multi server setup (High Availability - Fail Over) with either the embedded tomcat server or using external servers? I am seeing some erratic behaviour in a 3 server installation, and I don't know whether this is due to specific hot-deploy apps or

Re: Multiple server setup (HAFO)

2014-01-02 Thread Adrian Crum
It might help to be more specific about the problem. What do you mean by erratic behavior? What version of OFBiz? How is the cluster configured? Adrian Crum Sandglass Software www.sandglass-software.com On 1/2/2014 4:01 AM, Pierre Smits wrote: Hi All, Does any one have experiences with a

Re: Multiple server setup (HAFO)

2014-01-02 Thread Pierre Smits
In a test environment we have setup the following configuration: - Apache http server in front with mod_jk configured for load balancing pointing via ajp to: - 3 OFBiz spokes based on trunk (embedded tomcat version) on linux, each set with own unique.instanceId (ofbiz1, ofbiz2, ofbiz3) and each

Re: Multiple server setup (HAFO)

2014-01-02 Thread Pierre Smits
In the second situation described in my previous post, I meant to say that the pointers to groovy scripts and services (when and where applicable) aren't modified and point to the locations in the special-purpose ecommerce application. Pierre Smits *ORRTIZ.COM http://www.orrtiz.com* Services

Re: Multiple server setup (HAFO)

2014-01-02 Thread Mike Z
You probably have to define sticky sessions in your mod_jk Config. Sent from my BlackBerry® PlayBook™ www.blackberry.com -- *From:* Pierre Smits pierre.sm...@gmail.com *To:* user@ofbiz.apache.org user@ofbiz.apache.org *Sent:* January 2, 2014 4:17 AM *Subject:* Re:

Re: Multiple server setup (HAFO)

2014-01-02 Thread Pierre Smits
Thanks Mike, But I have following in my workers.properties file for mod_jk configuration: worker.test-LB.sticky_session=True Regards, Pierre Smits *ORRTIZ.COM http://www.orrtiz.com* Services Solutions for Cloud- Based Manufacturing, Professional Services and Retail Trade

Re: Multiple server setup (HAFO)

2014-01-02 Thread Scott Gray
Check that resource URLs aren't html encoded, some browsers fail to send cookie information in that situation which causes a new session to be created. Scott On 2/01/2014, at 12:16 PM, Pierre Smits wrote: 1) In the backend, when having logged in a tenant, we experience that when having

Re: Multiple server setup (HAFO)

2014-01-02 Thread Pierre Smits
Thanks Scot, Given that I use trunk as the basis and its data (with a few modifications regarding the test tenants) I don't expect this to be the case. But I will have it looked into. Regards, Pierre Smits *ORRTIZ.COM http://www.orrtiz.com* Services Solutions for Cloud- Based Manufacturing,