ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hardik Handa <Hardik.Ha...@hcl.com>
Subject RE: New OfBiz install with MySql 5.5: errors
Date Tue, 12 Apr 2011 06:08:44 GMT
Hi , I hope these setting help. Make sure everything is at place according to the below mentioned
setting.

<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="localmysql"/>
        <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="localmysql"/>
        <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="localmysql"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localderbytenant"/>
    </delegator>












    <datasource name="localmysql"
            helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
            field-type-name="mysql"
            check-on-start="true"
            add-missing-on-start="true"
            check-pks-on-start="false"
            use-foreign-keys="true"
            join-style="ansi-no-parenthesis"
            alias-view-columns="false"
            drop-fk-use-foreign-key-keyword="true"
            table-type="InnoDB"
            character-set="latin1"
            collate="latin1_general_cs">
        <read-data reader-name="seed"/>
        <read-data reader-name="seed-initial"/>
        <read-data reader-name="demo"/>
        <read-data reader-name="ext"/>
        <inline-jdbc
                jdbc-driver="com.mysql.jdbc.Driver"
                jdbc-uri="jdbc:mysql://localhost:3307/ofbiz?autoReconnect=true"
                jdbc-username="ofbiz"      <------ Make sure your username and password
are correct
                jdbc-password="passw0rd"
                isolation-level="ReadCommitted"
                pool-minsize="5"
                pool-maxsize="250"
            time-between-eviction-runs-millis="600000"/>
    </datasource>



From: Bart Kolodziej [mailto:bart@tagmaster.net]
Sent: Tuesday, April 12, 2011 2:05 AM
To: user@ofbiz.apache.org
Subject: New OfBiz install with MySql 5.5: errors

List,

I am new to OfBiz and I'm trying to set it up with MySql 5.5.11.
I am getting errors during "ant run-install" and I don't know how to proceed to overcome them.

So far, I have created the databases (customofbiz,  customofbizolap), granted user rights,
added mysql-connector in the lib/jdbc folder, and modified the entityengine.xml.

Attached you'll find the log files and entityengine.xml document.  Please advise if possible.

Thanks.

P.S. First time posting to this list.

Bart K.


________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named
recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or
opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of
HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and
/ or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited.
If you have
received this email in error please delete it and notify the sender immediately. Before opening
any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message