Ok, this is the content of my entityengine.xml.patch that i've found in my
setup/glassfish21 folder:

>         <group-map group-name="org.ofbiz" datasource-name="derby"/>
>         <group-map group-name="org.ofbiz.olap"
> datasource-name="derbyolap"/>
55a56,57
> 
> 
123a126,176
> 
>     <datasource name="derby"
>             helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
>             schema-name="ofbiz"
>             field-type-name="derby"
>             check-on-start="true"
>             add-missing-on-start="true"
>             use-pk-constraint-names="false"
>             use-indices-unique="false"
>             alias-view-columns="false">
>         <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="org.apache.derby.jdbc.ClientDriver"
>                 jdbc-uri="jdbc:derby://localhost:1527/ofbiz;create=true"
>                 jdbc-username="ofbiz"
>                 jdbc-password="ofbiz"
>                 isolation-level="ReadCommitted"
>                 pool-minsize="2"
>                 pool-maxsize="250"/>
>         
>     </datasource>
> 
> 
>     <datasource name="derbyolap"
>             helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
>             schema-name="ofbiz"
>             field-type-name="derby"
>             check-on-start="true"
>             add-missing-on-start="true"
>             use-pk-constraint-names="false"
>             use-indices-unique="false"
>             alias-view-columns="false">
>         <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="org.apache.derby.jdbc.ClientDriver"
>                 jdbc-uri="jdbc:derby://localhost:1527/ofbiz;create=true"
>                 jdbc-username="ofbiz"
>                 jdbc-password="ofbiz"
>                 isolation-level="ReadCommitted"
>                 pool-minsize="2"
>                 pool-maxsize="250"/>
>         
>     </datasource>
> 

while, in my entityengine in apache-ofbiz-12.04.01/framework/entity/config
folder, i've done :

......
.....
 <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="localmysqlolap"/>
        <group-map group-name="org.ofbiz.tenant"
datasource-name="localmysqltenant"/>

        
    </delegator> 


...the same for default-no-eca ....and modify

<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="utf8"
            collate="utf8_general_ci">
        <read-data reader-name="tenant"/>
        <read-data reader-name="seed"/>
        <read-data reader-name="seed-initial"/>
        
        <read-data reader-name="ext"/>
        <inline-jdbc
                jdbc-driver=&quot;com.mysql.jdbc.Driver&quot;
                jdbc-uri=&quot;jdbc:mysql://&lt;h2>192.168.111.248
/pcm_ppaf?autoReconnect=true"
                jdbc-username="pcm"
                jdbc-password="pcm"
                isolation-level="ReadCommitted"
                pool-minsize="2"
                pool-maxsize="250"
                time-between-eviction-runs-millis="600000"/>
        
    </datasource>

...the same thing for localmysqlolap, and localmysqltenant

So, i though that in my entityengine.xml.patch i had to find something about
my changes.
PS : sorry for my bad english 





--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/problem-during-deploy-ofbiz-ear-tp4644704p4644714.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to