Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
\[standard case, describe pros cons here\]
\\

Apache "in front of" OFBiz single instance (no load balancing)

Wiki Markup\[describe the setup\]Setup

Wiki Markup
\[describe pros and cons\]
\\

Using Apache to load balance across multiple instances of OFBiz

...

<container name="catalina-container"
class="org.ofbiz.catalina.container.CatalinaContainer">
<!-- static configuration for tomcat -->
<property name="delegator-name" value="default"/>
<property name="use-naming" value="false"/>
<property name="debug" value="0"/>
<property name="catalina-runtime-home" value="runtime/catalina"/>
<property name="apps-context-reloadable" value="false"/>
<property name="apps-cross-context" value="false"/>
<property name="apps-distributable" value="false"/>
<!-- one or more tomcat engines (servers); map to this + host -->
<property name="default-server" value="engine">
<property name="default-host" value="0.0.0.0"/>
*<property name="jvm-route" value="jvm1"/>*
<property name="access-log-pattern">
.....
=== /mail 1 ===

 === mail 2 ===

1.  We run one instance of ofbiz on a separate server but this is because we
are running a single application and want to scale by adding more machines.

...