catalina container, engines, hosts, connectors,

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

catalina container, engines, hosts, connectors,

Heidi Dehaes - Olagos
Hello,

I run ofbiz11.0.4 with the ecommerce webapp running on ip address
x.y.z.t   on Debian Linux.

Anyone an idea how to create a second webserver from with the same
ofbiz instance but on a different ip address?

I need to reconfigure probably
/framework/base/config/ofbiz-containers.xml probably ?  Especially the
part in the catalina-container configuration , with the
"default-server" engine and the "default-host" values?

<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"/>

I suppose?

As well as the ofbiz-component.xml file under the "ecommerce" subdirectory?

<ofbiz-component name="ecommerce"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

....................

   <webapp name="ecommerce"
        title="eCommerce"
        server="default-server"
        location="webapp/ecommerce"
        mount-point="/"
        app-bar-display="false"/>
    <webapp name="ecomclone"
        title="eCommerce Clone"
        server="default-server"
        location="webapp/ecomclone"
        mount-point="/ecomclone"
        app-bar-display="false"/>
</ofbiz-component>


Anyone an idea what to do exactly?

Or possibility to give me some hints?

Regards,
Eric

--
Olagos bvba
http://www.olagos.eu
http://www.olagos.com
http://www.olagos.be
http://www.olagos.nl
Olagos team
Kerkstraat 34
2570 Duffel
Belgium