Hi Mark, To run bigfish it's not required to modify localderbyolap and localderbytenant through entityengine.xml.template. You can set the following DB properties in client-deployment.properties file.
main.datasource.name database.name database.server database.serverPort jdbc.driver jdbc.username jdbc.password after settings properties, the ant command will modify the entityengine.xml file using template. There is no need of multiple DB's to run bigfish. Only one Database is required. Thanks, Praveen Agrawal [email protected] -----Original Message----- From: Mark Schneider [mailto:[email protected]] Sent: Sunday, December 23, 2012 1:41 AM To: [email protected] Subject: Re: Meaning of localderbyolap and localderbytenant in template files Just small correction in the subject line Am 22.12.2012 21:05, schrieb Mark Schneider: > Hello > > BigFish example use a template file for entityengine.xml. > > Is it required to modify localderbyolap and localderbytenant to let > say localmysqlolap and localmysqltentant when using MySQL (or MariaDB) > as database and define appriopriate sections for them in > entityengine.xml? (see attachment) > > ./osafe_deployment/ofbiz/framework/entity/config/entityengine.xml.temp > late > > . > <!-- the connection factory class to use, one is needed for obtaining > connections/pools for defined resources --> <connection-factory > class="org.ofbiz.entity.connection.DBCPConnectionFactory"/> > > <delegator name="default" entity-model-reader="main" > entity-group-reader="main" entity-eca-reader="main" > distributed-cache-clear-enabled="false"> > <group-map group-name="org.ofbiz" > datasource-name="@main.datasource.name@"/> > <group-map group-name="org.ofbiz.olap" > datasource-name="localderbyolap"/> > <group-map group-name="org.ofbiz.tenant" > datasource-name="localderbytenant"/> > </delegator> > <delegator name="default-no-eca" entity-model-reader="main" > entity-group-reader="main" entity-eca-reader="main" > entity-eca-enabled="false" distributed-cache-clear-enabled="false"> > <group-map group-name="org.ofbiz" > datasource-name="@main.datasource.name@"/> > <group-map group-name="org.ofbiz.olap" > datasource-name="localderbyolap"/> > <group-map group-name="org.ofbiz.tenant" > datasource-name="localderbytenant"/> > </delegator> > > <!-- be sure that your default delegator (or the one you use) uses the > same datasource for test. You must run "ant run-install" before > running "ant run-tests" --> <delegator name="test" > entity-model-reader="main" > entity-group-reader="main" entity-eca-reader="main"> <group-map > group-name="org.ofbiz" > datasource-name="@main.datasource.name@"/> > <group-map group-name="org.ofbiz.olap" > datasource-name="localderbyolap"/> > <group-map group-name="org.ofbiz.tenant" > datasource-name="localderbytenant"/> > </delegator> > > Thank you in advance for any hints. > > regards, Mark > -- [email protected] http://rsync.it-infrastrukturen.org
