We resolved per theme web app problem by moving the them header/footer
to CMS. In multi-tenant e-commerce applications it is possible to have
100's of themes and it is not possible to create web application for
each theme. What is needed is create different header/footer content for
each theme and create the theme data accordingly.
Raj
On Wednesday 18 April 2012 10:54 PM, Adam Heath wrote:
On 04/18/2012 12:20 PM, Adam Heath wrote:
Things have changed in ofbiz, so that now it takes a *huge* amount of
time. Some of that is related to a larger amount of code overflowing
the cpu's L2 cache. Some of that is related to catalina startup, when
it tries to seed the sessions randomness, and the local machine runs
out of entropy.
The method of placing every single theme as a *separate* catalina
webapp context is also rather stupid. Each context drains more random
entropy. It'd be better to have a single theme webapp, and then each
theme is a sub-folder of that. Since themes are separate components,
this is not immediately simple; perhaps a servlet filter that
redirects paths to the appropriate theme folder.