New OfBiz install with MySql 5.5: errors

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

New OfBiz install with MySql 5.5: errors

Bart Kolodziej

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.

 


entityengine.xml (30K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: New OfBiz install with MySql 5.5: errors

hardik handa
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:[hidden email]]
Sent: Tuesday, April 12, 2011 2:05 AM
To: [hidden email]
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.

-----------------------------------------------------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: New OfBiz install with MySql 5.5: errors

Paul Foxworthy
In reply to this post by Bart Kolodziej
Hi Bart,

Are you using trunk?

See https://issues.apache.org/jira/browse/OFBIZ-3829
for an issue that might be affecting you.

Even though the Jira issue is still open, there was a change that might have addressed this at rev 1053722. See
http://svn.apache.org/viewvc?view=revision&revision=1053722

Cheers

Paul Foxworthy

Bart Kolodziej wrote
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.
--
Coherent Software Australia Pty Ltd
http://www.coherentsoftware.com.au/

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/