first thanks for your good reply

sorry i am getting different exception when using this command ant
run-install to upload database 



org.ofbiz.base.start .startupException cannot start init() of jotm (unable
to bind usertransaction)

i think due to the port problem


i have changed below lines of code in entity-engine.xml

1 .localhsql to localmysql

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

2. datasource  

 <datasource name="localmysql"
            helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
            field-type-name="mysql"
            check-on-start="true"
            add-missing-on-start="true"
            use-foreign-keys="true"
            join-style="ansi-no-parenthesis"
            alias-view-columns="true"
            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="demo"/>
        <read-data reader-name="ext"/>
        <inline-jdbc
                jdbc-driver="com.mysql.jdbc.Driver"
               
jdbc-uri="jdbc:mysql://127.0.0.1/opentaps?autoReconnect=true"
                jdbc-username="opentaps"
                jdbc-password="opentaps"
                isolation-level="ReadCommitted"
                pool-minsize="2"
                pool-maxsize="20"/>
        <!-- <jndi-jdbc jndi-server-name="localjndi"
jndi-name="java:/MySqlDataSource" isolation-level="Serializable"/> -->
    </datasource>

and i have database opentaps and user opentaps with previlizes





-- 
View this message in context: 
http://www.nabble.com/getting-exception-when-starting-ofbiz-tf2870021.html#a8023261
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to