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: Multiple server setup (HAFO)

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 with own
jvm-route (ofbiz1, ofbiz2, ofbiz3
- DCC implemented (activemq lib installed - as per JIRA OFBIZ-5448),
connecting to Apache Servicemix. This works
- demo loaded in default
- setup of a few test tenants (tenantA, tenantB, tenantC) with seed,
seed-initial and seed-ext data, plus specific product data tenant users
(with proper permissions and roles) for each tenant


The erratic behaviours we are seeing are:

1)
In the backend, when having logged in a tenant, we experience that when
having logged in e.g. the catalog or contant and having accessed a screen
(meaning screen is loaded and shown properly), when going to another screen
in the same application the user is required to login again. This happens
very regularly.

2)
In a hot-deploy copy of the ecommerce application (re-using services and
groovy script files, but pointers to menu, screens and forms (including ftl
files) are to the objects in the (own) hot-deploy copy, we see that when
having loaded (and properly shown) the main screen (with promotions
overview) and going to e.g. a specific product in the promotions overview
we experience the display of a blank screen. This also happens frequently.
After reloading the screen in the browser the correct screen is loaded and
shown.

3)
In above mentioned hot-deploy copy of the ecommerce app when trying to
display products in a category from the tree we regularly get following
message: An error occured loading content!: [object Object]

Regards,



Pierre Smits

*ORRTIZ.COM *
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Tradehttp://www.orrtiz.com

Reply via email to